int main(int argc, char *argv[])
you can use the single star as previously stated all this is doing is point to an unbound array that stores command line inputs, I've always used the single star and not had any problems
just remember that unlike most arrays argv[] will start at 1 to what ever, this is that the actual program itsself is the argv[0] part.
so if you entered something like
compare txt1 txt2 txt3
argv[0] = compare
argv[1] = txt1
argv[2] = txt2
argv[3] = txt3
if you are uncertain write a small program that displays the content of the command line input
Code:
int main(int argc, char *argv[])
{
printf("You enetered the following command prompt %s %s %s %s", argv[0], argv[1], argv[2], argv[3]);
}
hope this helps
-ali