March 31st, 2009, 10:16 AM
Unfortunately all those variables will be of undefined value the way you have it. The code following that would crash horribly. That is why you honestly need to make an effort read and learn.
March 30th, 2009, 12:08 AM
March 30th, 2009, 12:01 AM
March 29th, 2009, 11:50 PM
I think your missing the point.
You will overcome me when you read that book, become a good student and then a good programmer.
Now, you have a long trek ahead my little padwan and when you...
March 29th, 2009, 11:39 PM
No, I can, but you can't cuz you haven't got that far yet.;) Get readin!
March 29th, 2009, 11:34 PM
I have a cool Idea, go and get a good book!
http://www.greenteapress.com/thinkcpp/
And don't get mad, you have to learn how to initialize
your variables.
int a = 0; //Now we just declared...
March 29th, 2009, 11:17 PM
OK, so do you want to click the save button or should I?:rolleyes:
rebuild all too. In other words.... save this short program, compile it, link it and run it.
Sometimes CG is like an old...
March 29th, 2009, 08:09 PM
this
2 = a;
should be:
a=2;
also this: