for example if the user type in the command line
match "hello" test*in
it means find the "the" in all .in type of files with name "test".
bool containMany=false;
int i;
for(i= 0; arguments[i]; i++){
printf("ARGUMENTS %s\n",arguments[i]);
if(strstr(arguments[i],"*")){
containMany=true;
break;
}
}
but it does not work. The arguments are:
ARGUMENT match
ARGUMENT hello
ARGUMENT test0.in
ARGUMENT test1.in
ARGUMENT test2.in
So how I make containMany become true when the user type "*" ?