I am using visual studio 2013 to build a C++ console application.This is my code which gives an error. I need to write to the console for every function in my application.
// RAT.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
int _tmain(int argc, _TCHAR* argv[])
{
std::cout << "Process started";
return 0;
}
It gives the following error,
Error:namespace "std" has no member "cout"
I dont understand why this basic "cout" gives a such error :( Please help me I am totally confused....