+ 2
Where do we use System header file
In Cpp there's a header file named as System, but can you tell me where and why we use this header file, what is the main function of this file
4 Antworten
+ 16
Most commonly used system commands (for Windows OS) are:
system("pause"); // to pause console screen
system("CLS"); // to clear console screen
system("color XX"); // to set console screen foreground and background color
and more which you can find online. :>
+ 16
The <system.h> header file is a non-standard header provided only by Borland. If you want to use system() function, use <cstdlib>
+ 3
thx Hatsy, but where and why it is used??
+ 2
to operate some system functions like Open, delete, cut, shut down etc.??