Are you using:
#include <headerfile.h> ?
if so, change this to:
#include <headerfile>
and either
1) qualify containers etc. with "std::container" when used
or
2) call "using std::container;"
3) call "using namespace std;"
before you use them.
Code:
#include <iostream>
int main()
{
std::cout << "Hello World" << std::endl;
}
or
Code:
#include <iostream>
int main()
{
using std::cout;
using std::endl;
// or using namespace std; for the lot
cout << "Hello World" << endl;
}