🔒 Locked
Try my program
Advertisement
Original Post
Quote:
Original post by Coward
Quick question.
Even though it's a static function, won't the int allocated again, using the same values as from the last "layer" of main?
If so it would be pretty muc limited by memory, right?
all it does is keep a running count of where it is in the program. so, if say, you wanted to break out after 500, you would just have to test for 500.
Oh, and please state which compiler you are using.
used dev-c++ version 5 beta...which means g++ version...god, I dont know. im at about 11.5 million right now though. still going strong.
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement