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. ;)where in C you would write
a=a+1;
in C++ you could use:
a++;
(and also a--, a+=1 etc.)
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.