Please can anybody tell me the difference in return 0 and system ('pause');
- 4 Contributors
- forum 8 Replies
- 2,154 Views
- 2 Days Discussion Span
- commentLatest Postby Tom GunnLatest Post
C++ Pause For Time
- Please can anybody tell me the difference in return 0 and system ('pause'); return 0 means the value 0 (usually some type of int) is returned from a function to the caller of the function.
- Chances are that you've not included the header file that declares system. In order to be able to compile C code that uses functions which you don't (manually) declare yourself, you have to pull in the declarations.
C++ System Pause Visual Studio
yellowSnow607
Is it possible to use a buttoncontrol to pause a for loop. Ex: When it has counted to 50000, I press Pause and when I press Pause again, the loop continues. Thanks, I am not sure if that is the approach I need to have. I will describe better what I am doing. I have 2 buttoncontrols on a Form(button1.
Please can anybody tell me the difference in return 0 and system ('pause');
return 0 means the value 0 (usually some type of int) is returned from a function to the caller of the function.
Pause Command In C
system() is a library function that makes calls to OS commands/programs. system('pause') calls the 'pause' command in DOS/Windows. Run the pause command in a command shell to see what it does.