Globbing wildcards using MinGW
hi.
I am trying to glob :)
So I want to use my code below as
c:\>glob.exe *.bak
and if my program is as :
int main(int argc,char *argv[]){
int i,j,k,numEcio;
unsigned short len,code;
double ts,sumEcio,ecio;
char *files = argv[1];
printf("%s\n", &files);
return 0;
}
why won't it print the list of files? :/
I use gcc from MinGW
Thanks!
Posted Jul 10, 2012, 4:36 AM UTC · edited
12