# Help with some basic docs&understandings of how to programming on gameshell

**URL:** <https://forum.clockworkpi.com/t/help-with-some-basic-docs-understandings-of-how-to-programming-on-gameshell/2817>\
**Category:** Developers\
**Created:** [February 12, 2019, 11:43am UTC](https://forum.clockworkpi.com/t/help-with-some-basic-docs-understandings-of-how-to-programming-on-gameshell/2817 "2019-02-12T11:43:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vanish87](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/vanish87/32/1716_2.png) [@vanish87](https://forum.clockworkpi.com/u/vanish87)\
**Post date:** [February 12, 2019, 11:43am UTC](https://forum.clockworkpi.com/t/help-with-some-basic-docs-understandings-of-how-to-programming-on-gameshell/2817/1 "2019-02-12T11:43:24Z")

</div>

Hi  
I’m new here, I would like to buy a gameshell and try some c++ programmings on gameshell. So I am investigating what I can do on gameshell. I looked over the topics but still don’t have a general idea about how to do this.

What I know is gameshell is running linux with arm cpu, as far as I know, I can compile a c++ program  
and run it on gameshell in a few minutes.

Any reference/docs will help, Thanks.

---

<div class="post-metadata">

**Author:** ![Petrakis](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/petrakis/32/256_2.png) [@Petrakis](https://forum.clockworkpi.com/u/Petrakis)\
**Post date:** [February 12, 2019, 12:02pm UTC](https://forum.clockworkpi.com/t/help-with-some-basic-docs-understandings-of-how-to-programming-on-gameshell/2817/2 "2019-02-12T12:02:32Z")

</div>

There are alot of good docs and tutorials for Raspberry, you could refer to them for example the ones from element14:

> **[C++ Tutorial - Hello Raspberry Pi](https://community.element14.com/technologies/code_exchange/b/blog/posts/c-tutorial---hello-raspberry-pi)**
>
> BackgroundIn this tutorial series, we are going to learn modern c++ using the raspberry pi.  So, what do I mean when I say modern?  In August of 2011, a new version of the c++ standard was released that included some exciting new...

They are pretty complete and cover most important topics:

> [01 - Hello Raspberry Pi](http://www.element14.com/community/community/code_exchange/blog/2013/01/02/c-tutorial--hello-raspberry-pi)
> 
> [02 - Reading User Input](http://www.element14.com/community/community/code_exchange/blog/2013/01/09/c-tutorial--reading-user-input)
> 
> [03 - If Statement](http://www.element14.com/community/community/code_exchange/blog/2013/01/16/c-tutorial--if-statement)
> 
> [04 - For Loops](http://www.element14.com/community/community/code_exchange/blog/2013/01/23/c-tutorial--for-loops)
> 
> [05 - While Loops](http://www.element14.com/community/community/code_exchange/blog/2013/01/30/c-tutorial--while-loops)
> 
> [06 - Functions](http://www.element14.com/community/community/code_exchange/blog/2013/02/06/c-tutorial--functions)
> 
> [07 - Data Types](http://www.element14.com/community/community/code_exchange/blog/2013/02/13/c-tutorial--data-types)
> 
> [08 - Arrays](http://www.element14.com/community/community/code_exchange/blog/2013/02/20/c-tutorial--arrays)
> 
> [09 - Structures](http://www.element14.com/community/community/code_exchange/blog/2013/02/27/c-tutorial--structures)
> 
> [10 - Classes](http://www.element14.com/community/community/code_exchange/blog/2013/03/06/c-tutorial--classes)
> 
> [11 - Pointers](http://www.element14.com/community/community/code_exchange/blog/2013/03/13/c-tutorial--pointers)
> 
> [12 - Dynamic Arrays](http://www.element14.com/community/community/code_exchange/blog/2013/03/20/c-tutorial--dynamic-arrays)
> 
> [13 - Linked List](http://www.element14.com/community/community/code_exchange/blog/2013/03/26/c-tutorial--linked-list)
> 
> [14 - Linked List Operations](http://www.element14.com/community/community/code_exchange/blog/2013/04/03/c-tutorial--linked-list-operations)
> 
> [15 - STL List/Vector](http://www.element14.com/community/community/code_exchange/blog/2013/04/10/c-tutorial--stl-listvector)
> 
> [16 - Templates](http://www.element14.com/community/community/code_exchange/blog/2013/04/17/c-tutorial--templates)
> 
> [17 - Inheritance](http://www.element14.com/community/community/code_exchange/blog/2013/04/24/c-tutorial--inheritance)
> 
> [18 - File I/O](http://www.element14.com/community/community/code_exchange/blog/2013/05/01/c-tutorial--file-io)
> 
> [19 - Strings](http://www.element14.com/community/community/code_exchange/blog/2013/05/08/c-tutorial--strings)
> 
> [20 - Constants](http://www.element14.com/community/community/code_exchange/blog/2013/05/15/c-tutorial--constants)
> 
> [21 - Hash Tables](http://www.element14.com/community/community/code_exchange/blog/2013/05/24/c-tutorial--hash-tables)

It says there `Raspbian comes with all of the tools that we need to start programming, so let’s dive in. `They are meaning that the **g++** compiler is installed already.

I can´t remember if GameShell had g++ by default, in any case you could install it with  
`sudo apt-get install g++`

---

<div class="post-metadata">

**Author:** ![vanish87](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/vanish87/32/1716_2.png) [@vanish87](https://forum.clockworkpi.com/u/vanish87)\
**Post date:** [February 13, 2019, 3:23am UTC](https://forum.clockworkpi.com/t/help-with-some-basic-docs-understandings-of-how-to-programming-on-gameshell/2817/3 "2019-02-13T03:23:00Z")

</div>

Thanks for the link/docs.  
Actually I’m a game programmer working on console/ios games. but I am not familar with hardware like clockworkpi/Raspberry Pi. I’m confused about the workflow on GameShell.  
Please correct me if I’m wrong.

- GameShell runs a linux based Debian. So I could do almost “everthing” that I can do on linux based system.
- GameShell has a launcher, which has GUI for setting, launching other apps, etc.
- I can install programs like RetroArch, with compiling source and configure them on GameShell.
- ~~There is no GPU driver right now but the board contains a Mali400 GPU. There are some software renderings there.~~  
It seems that v0.3 has a lima opengl driver for this.
- I can compile source on GameShell, meanwhile I can compile source on PC(with arm configure) and run it on GameShell.
