Archived

This topic is now archived and is closed to further replies.

Javedus

Unable to run program file.

Recommended Posts

Ok, I downloaded Dev-C++ and I wrote the infamous "Hello World" program. //This is the first one I tried #include <iostream.h> main() { for(; { cout << "Hello World! "; }} ////////////////////////////////////////////////// //This is the second one I tried #include <iostream> int main() { std::cout << "Hello, world!\n"; } I was told that both of these wold work, but when I compile and run either one of them, it gets an error and says that it is Unable to run program file. I am stumped. Any help?

Share this post


Link to post
Share on other sites
which devc++ did you download? there is one package for people who already have mingw installed, and another one if you don''t. You probably picked up the wrong one. Go back and get the other one.

Share this post


Link to post
Share on other sites
The version I got was Dev-C++ 4.9.8.7 Is this the wrong one?.....If so, which other one do you mean?

I downloaded this from Bloodshed Software at www.bloodshed.net

[edited by - javedus on April 23, 2004 1:58:28 AM]

Share this post


Link to post
Share on other sites