Return to Snippet

Revision: 17025
at August 21, 2009 07:46 by tandouri


Updated Code
int main(int argc, char* argv[]) {

 int i = 0;
 for(i=0; i<argc; i++)	{
  printf("Your ARGC: %i, your ARGV[%i]: %s\n", argc, i, argv[i]);
 }
 
 return 0;
}

Revision: 17024
at August 21, 2009 04:33 by tandouri


Initial Code
int main(int argc, char* argv[])
 {

 int i = 0;
 for(i=0; i<argc; i++)	{
  printf("Your ARGC: %i, your ARGV[%i]: %s\n", argc, i, argv[i]);
 }
 
 return 0;

}

Initial URL

                                

Initial Description
for checking the cmdargs

Initial Title
checking command line arguments

Initial Tags
command, line

Initial Language
C