CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Int mainint argc char argv

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 15, 2006, 21:54
Default What does the int argc, char *
  #1
shuo
Guest
 
Posts: n/a
What does the int argc, char *argv[] mean?
Shuo
  Reply With Quote

Old   October 16, 2006, 03:43
Default argc is an integer showing the
  #2
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20
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.

Dragos
dmoroian is offline   Reply With Quote

Reply


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 Off
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 15:44
char reactivity Jurgen Jacoby Main CFD Forum 0 September 14, 2006 07:23
Please help! Char-o2, Char-CO2, Char-H2O reactions Dai FLUENT 4 May 28, 2003 15:40
Char Oxidation Monir Hossain CFX 4 February 19, 2001 13:25


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