Like my name? It suits me pretty well. Especially with this stupid error:
#include <iostream>
#include <stdio.h>
int main()
{
cout << "Hello\n";
return 0;
}
I'm using Bloodshed Dev-C++ 4.9.9.2.
Am I using a deprecated #include? Here's my error:
"`cout' undeclared (first use this function)"
How am I supposed to use C++ if COUT is giving me an error?
it is std::cout
, so add std::
before cout
or the line using namespace std;
after #includes
normally using std::cout;
will do just fine.