Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre questionif(GetOpenFileName(&ofn)) { hm=0; char t[0]; t[0]='a'; while(t[0]!='\0') { strncpy(t,(char*)&ofn.lpstrFile[i],1); strcat(path,t); i++; } i=0; while(strcmp((char*)&ofn.lpstrFile[i],"\0")!=0) { songs[j][0]='\0'; char t[0]; t[0]='a'; while(t[0]!='\0') { strncpy(t,(char*)&ofn.lpstrFile[i],1); strcat(songs[j],t); i++; } j++; }