for example
CODE
#include <iostream.h>
void main()
{
cout << "Hello World" << endl;
}
CODE
#include <iostream>
void main()
{
std::cout << "Hello World" << std::endl;
}
or a better way... this way you do not need to append the namespace everytime you call a function or something.
CODE
#include <iostream>
using std::cout;
using std::endl;
void main()
{
cout << "Hello World" << endl;
}
Feb 1 2006, 11:01 PM
Quote
0.0158sec
0.37
6 queries
GZIP Disabled