Quote:Original post by ToohrVyk
Quote:Original post by Cromulent
That is a fair enough assertion, although I would point out that C89 is no longer standard C as it has been superseded by the C99 standard (and relevant amendments since then).
Certainly—there is currently a C89 standard, a C99 standard, and the expression "standard C" refers to the C99 version by default (and a standard C89 program that does not respect C99 requirements cannot claim to be a standard C program anymore).
On the other hand, this discussion is not so much about standard C as it is about the version of the C language used in the "Game Programming all in one" book—which, from my recollections and the 2002 publishing date, seems to be C89.
Is this is the J Harbour book? If so, yeah he uses outdated and convoluted C code throughout his books. In the second edition of the book he does make a partial attempt to migrate the code to C++ so you might want to check out that copy if you get lost.
In my experience and from what I've seen of others it seems easier to pick up C after C++ than the other way around so it shouldn't be too hard.
I have a C programmer friend right now trying to learn objective-c which is sort of like Apple tacking on the parts of C++ on of C that they like + some Smalltalk and he's totally lost since accessor,setter,getter,inheritance,objects, etc is all lost on him.
[size="2"]Don't talk about writing games, don't write design docs, don't spend your time on web boards. Sit in your house write 20 games when you complete them you will either want to do it the rest of your life or not * Andre Lamothe