Watch out for one thing - functions, unlike labels and goto, stack on each other. So the more functions in a row you call, the higher that stack grows. That stack isn't infinite, so eventually you will run out of space and your program crash.
Everything is properly cleaned up once a function exits, so you should avoid calling functions like you've done so far.
If you need something to repeat, then you use a loop.
Originally Posted by Adak
Originally Posted by Salem
wow... ok so i'm done writing stuff until i read more, cuz i understand alot of it, sorta, but i never woulda been able to use it, like the vector, or bool, or nething...
i agree i need some loops, just when i was writing it, i UNDERSTOOD 100% how to get goto's to work, so i used those. i will start using better c++ coding rules and syntax and everything as i get more logical and knowledgeable of the language
than you all for you input!
Last edited by thisisurlife08; 05-13-2008 at 06:15 PM.
Tags for this Thread