Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

C++ System Commands Tutorial


ghost's Avatar
0 0

This will be a quick tutorial on using system commands.

Start off with: system("");

Now, you must put your desired system command inbetween the two "".

For example:

system("ping 127.0.0.1");

Or if you want your console application to pause after running your program you can use:

system("pause");

These go inside your int main.

Thats all for this small tutorial.


korg's Avatar
Admin from hell
0 0

If you want to do a tutorial, Write an article with some more content.