Well last night I just downloaded the latest version of Dev C++, so I decided to get back into it. I know my program isn't finished yet, but I keep getting an error when I try to compile. Anyone know what it is?
(http://www.wolfness.com/upload/codeerror.JPG)
Thanks in advance!
http://www14.brinkster.com/aditsu/dev-cpp-faq.html#runfile
Btw, in C++ shouldn't it be #include <cstdlib> and not #include <stdlib.h>?
That link doesn't load. And I tried #include <cstdlib> and I recieve the same error.
Try iostream.h
I am no good in C++ or C but just a thought.
Doesn't work either.
It doesn't look like a problem with the code, the code itself looks fine, it looks like a configuration error of some sort with the compiler.
BTW, you should avoid using system("PAUSE") like that. A better option is to just ask for some input with cin.
Ok WTF, I deleted that Dev C++ and installed an old version...now it says that there is 70 errors. This is really weird.
check your paths.
Well, I reformatted and re-downloaded it. It works fine now. That was...odd.
That link worked for me...Go on Google and type this in: Dev-C++ Errors "Unable to run program file" and you should find the unofficial FAQ on Dev-C++ errors. Yes, as MyndFyre suggested, it is a problem with your library paths, and that FAQ has the solution.
Quote from: Mitosis on October 11, 2004, 07:49 PM
Well, I reformatted and re-downloaded it. It works fine now. That was...odd.
You reformat over a compiler problem? Doesn't that sound like a bit overkill?
Lol, I guess. But I was having problems with some other stuff. And I wasn't orgranising things properly like I did before. Man IBM technology is great, don't need O/S Disks!
Quote from: Adron on October 12, 2004, 11:20 AM
You reformat over a compiler problem? Doesn't that sound like a bit overkill?
Reformatting is the solution to all your computer problems! :P
Quote from: dxoigmn on October 12, 2004, 02:10 PM
Quote from: Adron on October 12, 2004, 11:20 AM
You reformat over a compiler problem? Doesn't that sound like a bit overkill?
Reformatting is the solution to all your computer problems! :P
Reformatting hides the problem so that when it occurs again, you don't have a good way of dealing with it.
Quote from: dxoigmn on October 12, 2004, 02:10 PM
Quote from: Adron on October 12, 2004, 11:20 AM
You reformat over a compiler problem? Doesn't that sound like a bit overkill?
Reformatting is the solution to all your computer problems! :P
I thought the solution was a hammer.