Original Post
I have just learned about functions from Sam's Teach Yourself C++ in 21 days book. In their code examples they give the protoype of the function and then define it later in the code. Why would you not define the function at the beginning of the program before main begins? You could still call to it right? Thank you for the help. Also, I know this will spark debate, but if I eventually want to program games for the PC/Xbox/PS2 would I want to learn C++ or C#? I've already started C++ however, so it might not matter. Thank you.