The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 06-17-2008
jim mcnamara jim mcnamara is offline Forum Staff  
...@...
  
 

Join Date: Feb 2004
Location: NM
Posts: 5,643
Once the program is compiled, you can run it over and over, just like in DOS or Windows.
Suppose you compiled a program myprog.cpp -> myprog. It lives in this directory: /path/to/code.

Code:
/path/to/code/myprog
If it accepts arguments via **argv ->
Code:
/path/to/code/myprog arg1 arg2