CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Int mainint argc char argv (http://www.cfd-online.com/Forums/openfoam-solving/59970-int-mainint-argc-char-argv.html)

shuo October 15, 2006 21:54

What does the int argc, char *
 
What does the int argc, char *argv[] mean?
Shuo

dmoroian October 16, 2006 03:43

argc is an integer showing the
 
argc is an integer showing the number of parameters that your program was called with.
argv is an array of strings (double pointer of chars) containing the actual parameters.

Dragos


All times are GMT -4. The time now is 06:19.