
Envoyé par
gregterraz
Sinon ta réponse ne m'aide pas beaucoup mais bon...
Que ne comprends tu pas dans "scanf attend des pointeurs comme paramètres." ?
test avec
fscanf(dtj,"%s %f %s %s %s %s %s %f %s", l, temp1, l, l, l, l, l, temp2, l);
mon execution retourne
1 2 3
| 21 [main] a 3624 _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
1117 [main] a 3624 open_stackdumpfile: Dumping stack trace to a.exe.stackdump
Process a.exe exited with code 35 584 |
test avec
fscanf(dtj,"%s %f %s %s %s %s %s %f %s", l, &temp1, l, l, l, l, l, &temp2, l);
mon execution retourne
Process a.exe exited with code 0
Partager