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++
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!!!!
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.
Summary: I'm trying to make a program to convert some text files to webpages. It does the DIR command and puts it in a text file. Then it gets one line at a time from the text file to get the file names of the...
Summary: I'm having trouble getting this IDE to work on my computer with Vista as the OS. Everytime I create a program, even a simple "Hello World", or even the example programs that come with Dev C++, I alway...
Summary: In reply to Ronin1 code, i got this error from dev-c++ 96 "parse error before `return' " "[Build Error] [main.o] Error 1 " char *files[] = { "indata.txt"**(is'nt this supposed to be numberlist.txt)***...