How/where to learn the language? Any tutorials?

Understanding the language, error messages, etc.

How/where to learn the language? Any tutorials?

Postby Toastyblocks » Sat Apr 12, 2014 2:13 am

Hi.
I'm considering getting one of these but i have some questions:
Where can I learn how to program it?
Are there any tutorials?
Why are there no examples on the wiki (there is no text on this page, blah bah blah)?
Could someone help me find out how to learn the language?
Otherwise, a very nice looking console!
Cheers,
Ben
Toastyblocks
 
Posts: 1
Joined: Sat Apr 12, 2014 2:01 am

Re: How/where to learn the language? Any tutorials?

Postby Myndale » Sat Apr 12, 2014 2:56 am

Hi Toastyblocks, welcome to the forum!

Gamebuino is based around Arduino, so much of the information about setting it up can be found on their site:

http://arduino.cc/en/Guide/Windows

As far as programming language goes Arduino typically uses C or C++, but there are other options too. Most of the programs on the Arduino example page will also work with Gamebuino and will be enough to get you started:

http://arduino.cc/en/Tutorial/HomePage

(Bear in mind though that the most simple app, BLINK, uses a LED connected to pin 13 which Gamebuino doesn't have, so you'll have to change it to 5 to blink the entire back light instead).

For the C language itself there are many, many resources across the net...I can't really recommend any myself because I learned C about 30 years ago, hopefully others can help here. Don't forget though once you've installed the Arduino IDE there is also a Gamebuino library for it which also has Gamebuino-specific demos that Rodot's put together for everyone.

And of course the final resource if you get stuck are these forums, it's what they're for!
Myndale
 
Posts: 507
Joined: Sat Mar 01, 2014 1:25 am

Re: How/where to learn the language? Any tutorials?

Postby Zakini » Sat Apr 12, 2014 10:33 am

I learnt all the programming I know from uni, so I don't know much about online tutorials. I can recommend a couple good reference sites though:

http://www.cplusplus.com/
My favourite site for C and C++. They've got great documentation with examples for just about everything. It's a little tricky figuring out what's C and what's C++ but that's probably not much of a problem with Gamebuino.

http://www.cprogramming.com/
Focuses more on articles that cover a certain feature of C/C++ so this might be a bit more useful for a newbie.

Both of these sites have tutorials, but as I said, I haven't personally used them.

Other than that, google is your friend!
User avatar
Zakini
 
Posts: 14
Joined: Tue Apr 08, 2014 10:00 pm
Location: Staffordshire, England

Re: How/where to learn the language? Any tutorials?

Postby hrangan » Tue Apr 22, 2014 8:18 am

http://c.learncodethehardway.org/
I'm a big advocate of Learn C the Hard Way. The C guide is still in alpha, but is a nice place to start for general purpose C.

http://beej.us/guide/bgc/
I've heard good things about Beej's Guide to C Programming, but haven't ever actually read through it.

http://stackoverflow.com/questions/3882 ... e-and-list
A good list of books and resources for C++

http://en.wikipedia.org/wiki/The_C_Programming_Language
The definitive guide to the C programming language, written by its creators.
User avatar
hrangan
 
Posts: 58
Joined: Thu Mar 20, 2014 9:35 pm
Location: Bangalore, India

Re: How/where to learn the language? Any tutorials?

Postby DFX2KX » Wed Apr 30, 2014 12:32 am

Given the libraries do a lot of the hard work, some basic C would be all you need to know.

I can bash out a bit of code, with a reference handy. It's tedious, but not impossible.
DFX2KX
 
Posts: 250
Joined: Mon Apr 14, 2014 3:48 am


Return to Programming Questions

Who is online

Users browsing this forum: No registered users and 12 guests

cron