|
From: Clayton W. <vgd...@ho...> - 2001-08-13 14:04:26
|
I made a simple program to test the compiling and run options in the Dev-C++
program. The program I wrote was just a simple one that told the computer to
output the string "hello world" to the screen when you ran the program. That
is where the problem is though. I have Windows 98 and I have the DJGPP
compiler with Rhide interface and the MinGW compiler and I just recently
downloaded the Dev-C++ software and I like it, but I'm having trouble with
it. Let me start from the beginning. The simple program I wrote had this as
the source code:
#include <iostream.h>
int main()
{
cout<<"hello world";
return0;
}
I compiled the program without any problems, but when I run it or try to
click on the .exe file in the c:\ drive it pops up the program real quick
and closes it back out instead of keeping it up until I click the exit
button at the top of the window. Why does it do this and how can I make it
stop? My DJGPP with Rhide interface lets the identical program I wrote in it
stay open until I click the x on the screen to close it, but Dev-C++ opens
the program and closes it write back(the program was written in Dev-C++).
Thanks for any and all help that you can offer me:).
--Clayton Weaver
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
|