-
it's bloodshed dev-c++, and whenever i try to compile something. it says "unable to run program file, process terminated" whenever i try to compile anything at all, including valid programs!!! ive tried to rcompile in both console and windows apps, but NOTHING works
-
Technically, it should compile. Are you working with an integrated development environment? You should try to see if your compiler is properly configured.
That program of yours compiled properly on my Borland C++ 3.1 compiler, both on DOS mode and Windows mode.
-
i done deleted it...i did download borland and still have it...i'd use it if I had the .cfg files needed, but i dont know how to make them or anything...so i cant use borland.
-
I'll see if I can upload my Borland here tomorrow :)
-
im sorry, i don't know what to tell you...
-
Ive heard the newest version of Dev-C++ has bugs, you might want to downgrade to version 4 or whatever, and if you want a real pause, do this:
Code:
#include <cstdlib>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
cout << "Hello Mr\\Mrs World\n";
system("PAUSE");
return 0;
}
-
Oh shoot I forgot my floppy disks! :rolleyes:
-
Oh shoot I forgot my floppy disks! :rolleyes:
-
below code must solve the problem
#include <iostream>
using namespace std;
int main()
{
char ch;
cout <<"hello world bla bla bla"<<endl;
cin>>ch //waits until you press a charrecter and press enter
return 0;
}
-
Code:
#include <iostream.h>
#include <windows.h>
int main ()
{
cout << "Hello!" << endl;
Sleep (2000);
return 0;
}
then the program will pause for 2 seconds just before it is shutdown.
-
YAY
Yay! I got dev-c++ 4, and thanks to you guys' help, everything is going smoothly!! thanks!!
-
Okay newbie ;) good luck with your programming life :D
-
djprob, if you have aim can you instant message me? i need talk to you over aim.
-
-
...
Adrian, it wasn't the pause he was having trouble with, it was DC++5(I loath v5) all is well now.