|
From: RuneImp <ru...@im...> - 2004-07-14 12:32:45
|
Sudipto Mondal wrote:
>
>
>
>Hi, I have just downloaded Dev-C++, seem to be a nice compiler, but the moment I try to compile a programme, I don't see the result and the dos window comes for a brief time and then vanishes, why does this happen.
>
>I would also like to know where can I visit to see some basic step by step guide to use Dev-C++
>
>Thanks and regards,
>
>Sudipto
>India
>
If your compiling console apps and they don't pause or wait for input then
they will run and close. Just as if you double clicked the executable.
To stop the window you can do something like:
int main()
{
// Your code
/* pause system */
system("pause");
}
For more info check the forums
http://sourceforge.net/forum/forum.php?forum_id=48211
and mailing list archive
http://sourceforge.net/mailarchive/forum.php?forum=dev-cpp-users
-=- RuneImp
ImpTech - Web Design & Hosting
http://imptech.net
ru...@im...
|