Compiler error with DEV-C++

March 24, 2009 at 14:47:55
Specs: Windows XP
So, I'm brand new to programming and I'm learning through a book. I'm on the first exercise where all you do is open a console app and compile and run it to make the MS-DOS come up and then close when you press and key. When I try to compile, I get an error on the first line of the program:

#include <iostream>

and the message says "In file included from main.cpp"

That's the code my book uses and it doesn't tell me what to do if I get that error message. WHAT DO I DO!!!!

See More: Compiler error with DEV-C++

Report •

March 24, 2009 at 20:32:13
It's saying it can't find iostream?
Go to Tools -> Complier Options -> Directories -> C++ Includes, and make sure <Dev-Cpp dir>\include\c++\3.4.2 is in the list of includes.

Report •
Related Solutions

Ask Question