Menu

system() function help

Vinith98
2008-08-24
2012-09-26
  • Vinith98

    Vinith98 - 2008-08-24

    What is the syntax of the system() function ??
    Which is the header file to include to use this function ??
    Please help...

    Vinith

     
    • cpns

      cpns - 2008-08-24

      Asking questions of this nature is not a very efficient method of progressing. Use an appropriate library reference, for example:

      http://www.cplusplus.com/reference/clibrary/cstdlib/system.html
      http://www.cppreference.com/stdother/system.html

      If it is the syntax of the actual command string that you are asking about, then that is specific to the execution environment's command processor. In Windows this is cmd.exe (or command.com in non-NT derived Windows versions e.g. 95, 98, Me). For help with that, run cmd.exe and type "help" at the command prompt, or use a reference such as http://commandwindows.com/

      Clifford

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.