Getting started in C

Miscellaneous Forums/General Discussion/Getting started in C

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

One significant although not so important diffrence between C and C++, that may also be the origin of the name "C++" is:
where in C you would write
a=a+1;
in C++ you could use:
a++;
(and also a--, a+=1 etc.)
Um, you can do a++ in C, too. ;)

If you want to learn ANSI C, I recommend getting the book 'The C Programming Language' by Brian Kernighan and Dennis Ritchie. They invented the C language so know what they're talking about. Just work though the book and do all the exercises.