Thread: I'm New...=(

  1. #46
    Join Date
    Oct 2007
    Inside my computer
    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.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  2. #47
    Registered User
    Join Date
    May 2008
    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 05:15 PM.

Popular pages Recent additions subscribe to a feed

Tags for this Thread