Re: [Dev-C++] How to not close output win?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Wing H. Y. <yok...@ve...> - 2003-10-04 02:48:49
|
> >From: "Reid Thompson" <Rei...@at...>
> >Create an exit function that has the system pause in it. Then,
> >everywhere you wish to exit, call the exit function. Only have to have
> >it in one place.
Perhaps instead of an exit function this might be simpler
int main()
{
functionToDoStuff();
system("pause");
return 0;
}
|