system("PAUSE") Re: [Dev-C++] (no subject)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Eric <eri...@cl...> - 2003-09-16 21:25:01
|
either get your program to ask for another input
e.g.
int main ()
{
int a;
cout << "hello chap\n" << endl;
cin >> a;
return 0;
}
or you can use the "pause" statement
#include <stdio.h>
int main() {
printf("Hello !\n");
system("PAUSE");
}
----- Original Message -----
From: "vasanthsena x" <vas...@ya...>
To: <dev...@li...>
Sent: Wednesday, September 17, 2003 8:55 AM
Subject: [Dev-C++] (no subject)
Hi,
I am new to Dev Cpp and I have a question.When I run
my program the window closes automatically without
showing the result. How do i fix this problem.
S.
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Dev-cpp-users mailing list
Dev...@li...
TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|