nazdar, potreboval by som pomoc s funkciou playsound
while(fscanf(g,"%s", &a)!=EOF){
i++;
if (i==j){
PlaySound("%s.wav" %a ,SND_FILENAME|SND_ASYNC);
Sleep(1000);
}}
chcel by som aby tato cast kodu spustila wav subor, ktoreho nazov nacita zo suboru, avsak mam problem s tymto
PlaySound("%s.wav" %a ,SND_FILENAME|SND_ASYNC);
vypisuje chybu
invalid operands of types `const char[18]' and `int' to binary `operator%'