[Dev-C++] Errors reported in perfect code!
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Christiaan S. <ck...@ia...> - 2001-10-21 22:18:55
|
This for example:
#include <stdio.h>
int main(int argc, char *argv[])
{
cout >> "hey";
return 0;
}
gives :
c:\mydocu~1\untitl~1.cpp: In function `int main(int, char **)':
c:\mydocu~1\untitl~1.cpp:5: `cout' undeclared (first use this function)
c:\mydocu~1\untitl~1.cpp:5: (Each undeclared identifier is reported only
once
c:\mydocu~1\untitl~1.cpp:5: for each function it appears in.)
Whats going on here? I also get diffrent messages for larger code with
nothing wrong with it.
|