View Single Post
Old 07-20-2005, 08:13 AM   #8 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,720
redhead is on a distinguished road
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.
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote