| | |
system( "PAUSE" );!!!!
Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved |
•
•
•
•
hi
can anyone tell me what do we mean by:
system( "PAUSE" );
and
system( "CLS" );
in C++
thanks
system("CLS"); clears the console or command line terminal
both of makes your program not portable since is operating system
depended
The 3 Laws of the Procrastination Society:
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
1) Never do today that which can be put off until tomorrow
2) Tomorrow never comes
•
•
Join Date: Apr 2007
Posts: 10
Reputation:
Solved Threads: 0
Well, the System("pause"); actually a function to the main windows shell, which calls pause.exe, and thereby pauses your program. And just to let you know, the System("PAUSE") method is a bad way of pause your applications...
A good alternative is at:
http://cpp.codenewbie.com/articles/c...SE-Page_1.html
As for System("CLS") function, it clcears your console applications screen. Basically erasing any user or application genereated output on the screen.
Please let me know if this helps you.
Thank,
Lance Wassing
A good alternative is at:
http://cpp.codenewbie.com/articles/c...SE-Page_1.html
As for System("CLS") function, it clcears your console applications screen. Basically erasing any user or application genereated output on the screen.
Please let me know if this helps you.
Thank,
Lance Wassing
![]() |
Similar Threads
- system("pause"); (C++)
- system("PAUSE") (C++)
Other Threads in the C++ Forum
- Previous Thread: Linker Error
- Next Thread: Guys pls help me with this assignment.
| Thread Tools | Search this Thread |
api array arrays based beginner binary bitmap c++ c/c++ calculator char class classes code compile compiler console conversion count delete deploy desktop directshow dll download dynamic dynamiccharacterarray encryption error file forms fstream function functions game getline givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory news node output parameter pointer problem program programming project proxy python read recursion recursive reference return rpg string strings struct temperature template templates test text text-file tree unix url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






