Re: [Dev-C++] How do I pause a program?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Tina B. <t_b...@co...> - 2003-03-04 17:55:31
|
This is one way, although there are probably others. Without this, my =
dos window closes before I can see it...
=20
// Tina Barnes
//
#include <iostream> // For cout and cin
#include <cstdlib> // For system("PAUSE")
using namespace std; =20
int main()
{
// your program goes here...
system("PAUSE");
return 0;
}
----- Original Message -----=20
From: Giligun=20
To: dev...@li...=20
Sent: Tuesday, March 04, 2003 9:32 AM
Subject: [Dev-C++] How do I pause a program?
I want it to display some information until a button
is pressed. The Bloddshed software I have has the .h
file with some command to do, but I wanna know how it
works without this.
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The =
debugger=20
for complex code. Debugging C/C++ programs can leave you feeling lost =
and=20
disoriented. TotalView can help you find your way. Available on major =
UNIX=20
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
Dev-cpp-users mailing list
Dev...@li...
TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|