Valhalla Legends Forums Archive | C/C++ Programming | Having some problems with my compiler

AuthorMessageTime
Mitosis
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?

[img]http://www.wolfness.com/upload/codeerror.JPG[/img]

Thanks in advance!
October 11, 2004, 12:16 PM
Mephisto
http://www14.brinkster.com/aditsu/dev-cpp-faq.html#runfile

Btw, in C++ shouldn't it be #include <cstdlib> and not #include <stdlib.h>?
October 11, 2004, 1:57 PM
Mitosis
That link doesn't load. And I tried #include <cstdlib> and I recieve the same error.
October 11, 2004, 2:48 PM
The-Rabid-Lord
Try iostream.h
I am no good in C++ or C but just a thought.
October 11, 2004, 4:43 PM
Mitosis
Doesn't work either.
October 11, 2004, 6:34 PM
iago
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.
October 11, 2004, 6:44 PM
Skywing
BTW, you should avoid using system("PAUSE") like that.  A better option is to just ask for some input with cin.
October 11, 2004, 6:56 PM
Mitosis
Ok WTF, I deleted that Dev C++ and installed an old version...now it says that there is 70 errors. This is really weird.
October 11, 2004, 7:16 PM
Myndfyr
check your paths.
October 11, 2004, 11:19 PM
Mitosis
Well, I reformatted and re-downloaded it. It works fine now. That was...odd.
October 12, 2004, 12:49 AM
Mephisto
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.
October 12, 2004, 2:39 PM
Adron
[quote author=Mitosis link=topic=9093.msg84023#msg84023 date=1097542178]
Well, I reformatted and re-downloaded it. It works fine now. That was...odd.
[/quote]

You reformat over a compiler problem? Doesn't that sound like a bit overkill?
October 12, 2004, 4:20 PM
Mitosis
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!
October 12, 2004, 7:04 PM
kamakazie
[quote author=Adron link=topic=9093.msg84081#msg84081 date=1097598052]
You reformat over a compiler problem? Doesn't that sound like a bit overkill?
[/quote]

Reformatting is the solution to all your computer problems! :P
October 12, 2004, 7:10 PM
Skywing
[quote author=dxoigmn link=topic=9093.msg84089#msg84089 date=1097608238]
[quote author=Adron link=topic=9093.msg84081#msg84081 date=1097598052]
You reformat over a compiler problem? Doesn't that sound like a bit overkill?
[/quote]

Reformatting is the solution to all your computer problems! :P
[/quote]
Reformatting hides the problem so that when it occurs again, you don't have a good way of dealing with it.
October 13, 2004, 2:58 AM
The-Rabid-Lord
[quote author=dxoigmn link=topic=9093.msg84089#msg84089 date=1097608238]
[quote author=Adron link=topic=9093.msg84081#msg84081 date=1097598052]
You reformat over a compiler problem? Doesn't that sound like a bit overkill?
[/quote]

Reformatting is the solution to all your computer problems! :P
[/quote]
I thought the solution was a hammer.
October 13, 2004, 12:09 PM

Search