![]() |
![]() |
![]() |
C++ Reference: system()
system()
Declaration
int system(const char *kcpCommand);
Description
Executes a system command.
Example
#include <cstdlib>
int main() {
// Open a command prompt
system("cmd");
return 0;
}
Output:
![]() |
![]() |
![]() |
| Home | | | Reference | | | Play Games! | | | Blog | | | Forum | | | Site Map | | | Contact Us |





