Quote Originally Posted by VvITylerIvV View Post
Yeah, I meant to say "which is not allowed..." on the variable with no type.

And I've found that cin >> shit; makes it combine all the lines and doesn't wait for input. Getline works perfectly for me, for other people I've recommended it for so I prefer to use it.


And btw



you absolutely can... it's just a LOT more code... like 100s to maybe even hundreds of thousands more lines... depending on how big of a game it would be.
1. [php]cin >>[/php] does wait for input,

Code:
Enter number
(waits till number entered and enter is press)
2. If youre making a REAL game, that would cause spaghetti code and unwanted behavior. And not hundreds or thousands. If you were making a REAL game without classes and functions, code would be close to a million (or more) lines longer. And youd still deal with the spaghetti code