im using Begginning C++ game programming by Michael dawson as a starter Manual to learn C++. It just seems like its moving to fast, and in the absence of explaing key concepts. for exp. (He tells me to use NAMESPACE STD to specify the "area code" if you will. i get that, but the kind of things i want to learn is...what is namespace std, what is <iostream> which i have read about on cPlusPlus. but just wondering if anyone can suggest a certain manual.
I also have a question regarding my program windows closing...i read the whole fourm about it, i understand, but i used
std::cout << "press the enter key to exit";
std::cin.ignore(std::cin.rdbuf()->in_avail() + 1;
i was told to use this and it didnt work, just wondering why?
no one seemed to use this style
thanks