Computing.Net > Forums > Programming > Compiler error with DEV-C++

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Compiler error with DEV-C++

Reply to Message Icon

Name: Weirdo444
Date: March 24, 2009 at 14:47:55 Pacific
OS: Windows XP
Subcategory: C/C++
Comment:

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!!!!



Sponsored Link
Ads by Google

Response Number 1
Name: Razor2.3
Date: March 24, 2009 at 20:32:13 Pacific
Reply:

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.


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Compiler error with DEV-C++

Compiling Errors in Dev C++ www.computing.net/answers/programming/compiling-errors-in-dev-c-/9484.html

Problem with Dev C++ and Vista www.computing.net/answers/programming/problem-with-dev-c-and-vista/16142.html

HElp me with this c++ program plez. www.computing.net/answers/programming/help-me-with-this-c-program-plez/9940.html