Ok I just bought Sams learn C++ In 21 days. So happy, since it got so many good reviews on C++ sites. Anyways!
I'm using the DEV-C++ compiler and ran into this. x_x;
C:\DOCUME~1\Slash\LOCALS~1\Temp\cc0Kcaaa.o(.text+0 x24):hello.cpp: undefined reference to `cout'
C:\DOCUME~1\Slash\LOCALS~1\Temp\cc0Kcaaa.o(.text+0 x29):hello.cpp: undefined reference to `ostream:perator<<(char const *)'
I get those errors while using these codes.
Code:#include <iostream> int main() { std :: cout<< " Hello World!.\n"; return 0; }