Quote:
|
I don't fully understand what all the std::'s are... I haven't reached anything like that in my C++ book
|
This is to claim the use of the
std namespace, if I were to write alot of code I would just add a line at the top:
Code:
using namespace std;
or perhaps more specific:
Code:
using std::cout;
using std::cin;
using std::string;
to specify that when ever I am using something of type
string it is the
std namespace of
string I am refering to, same with
cout and
cin.
This was what Valmont were talking about in the
first thread where he said you'd have to implement it in your own namespace.