CivFan91 said:I edited my post. It works now. It didn't because I had it in a Windows App instead of Command Prompt program. That tends to crimp the system a little.
Souron said:I sugget using "system("PAUSE");". You'd need to add the following line at the bigining:
#include <stdlib.h>
cin.ignore();
Windows/DOS is pretty standard, if you ask me. A windows based compiler will not make programs that run on other operating systems anyway. So unless you plan to compile your program for different operating systems, system("pause") should work just fine.homeyg said:I wouldn't do that because it depends on your OS and it really isn't standard...
To be honest, C++ makes little sense to me. It seems to be based on creating command prompt programs, and that doesn't hold well on my supa-system.
CivFan91 said:Um... Okay... what is cin.ignore? Why does cin cause problems?
Comraddict said:.... until you master big programming word: Pointers, you won't be considered as programmer nor you know C++.
Also it seems that you don't have formal related mathematical knowledge- that is part that "real" programmer are made of.
Quentin said:I thought Java automatically uses pointers without you specifying
Each time I try to learn C++ I get stuck at pointers![]()
Souron said:You can have function pointers too. Those don't point to memmory.
But that's really the exeption.