System commands

Is there a way for me to issue system commands (for example, DOS commands: dir, md temp, etc.) from within a C++ program?

You can use the C system() library routine. This function takes a single argument: a string specifying a DOS command.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin


Recent Articles: