CFD Online Discussion Forums

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

shuo October 15, 2006 20:54

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

dmoroian October 16, 2006 02: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 01:50.