Are you programming in C++? Is your project file a .c file or a .cpp file?