CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Int mainint argc char argv

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   October 15, 2006, 20:54
Default What does the int argc, char *
Posts: n/a
What does the int argc, char *argv[] mean?
  Reply With Quote

Old   October 16, 2006, 02:43
Default argc is an integer showing the
Senior Member
dmoroian's Avatar
Join Date: Mar 2009
Posts: 649
Rep Power: 13
dmoroian is on a distinguished road
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.

dmoroian is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
int to char in UDF Paolo Lampitella FLUENT 3 December 11, 2008 05:01
Char Reactions A A S FLUENT 0 May 25, 2007 14:44
char reactivity Jurgen Jacoby Main CFD Forum 0 September 14, 2006 06:23
Please help! Char-o2, Char-CO2, Char-H2O reactions Dai FLUENT 4 May 28, 2003 14:40
Char Oxidation Monir Hossain CFX 4 February 19, 2001 13:25

All times are GMT -4. The time now is 23:36.