Advertisement

Help with this compiler.

Started by September 20, 2002 11:11 PM
3 comments, last by ubernoob 22 years, 3 months ago
I went to this site and was looking over this tutorial for how to use this compiler. Right here: http://www.cprogramming.com/compiler.html I did everything exactly how it says, but am for some reason unable to get it to work. When I go to the Execute file and select compile, I get this message at the bottom on the Compiler tag Line 2 Unit says where I have the file saved Message unable to run program file It''s getting frustrating, I can''t even get a simple program to work, I must really be slacking as a programmer.
Did you download version 5 beta or version 4, cause I had downloaded version 5 beta and it gave me a problem similar to what your experiencing. If thats what you did you can go here for version 4 Source Forge Dev-C++ 4 Downlad

I hope this helps.
Advertisement
I think that maybe the code


#include <iostream>

int main()

{

std::cout << "the compiler works";

return 0;

}


would work, but i tried both versions on Version 5, and neither had problems...
522912...Boy is that getting old.
Well I got the version 4 and tried to compile it.
It said the program compiled successfully, however
the thing was to fast for me to see it.

Also I tried to add the code they gave to make it
stay still until I pressed a button but that didn''t
seem to work.

Thanks to suggesting getting a different version,
at least now maybe I''ll be able to compile things.
This code should compile:

  #include<iostream>#include<cstdlib>using namespace std;main(){  cout<<"Hello, World!"<<endl;  system("pause");  return 0;}  



[edited by - n0sp1n3 on September 21, 2002 6:43:48 PM]

This topic is closed to new replies.

Advertisement