0

Please help me in the matter of invoking the command_line arguments and using them in the arguments in the main program.i have done it as follows...now i dont know how to pass arguments using c++ and how to access them in the main program.Please help as soon as possible

#include<stdio.h>
 main(int a , char* abc[4])

{
int i;
for(i=0;i<4;i++)
{
        printf("%s",abc[i]);
}
return 0;
}
2
Contributors
1
Reply
3
Views
6 Years
Discussion Span
Last Post by WaltP
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.