It was my 26th yesterday! yay! Anyway, I got given a book on C programing from my uncle and at the end of the book it says this:
Code:
Now you have finished this book, learn more about C. It is the most powerful and muti-used language avalible.
I am not really going to use the book as I have been learning C++ for two years now anyway. What do you think of the statement? If anything i think C++ is most efficent language to date, Not C.
On another note, looking at two seperate samplesm you cab see why C++ is better!
code in C:
Code:
#include <stdio.h>
int main()
{
printf("Hello World");
return;
}
I think doing the same statement in C++ looks better anyway. I wonder why the book example shown above only uses return and not return 0?