je me la joue bas niveau par ce qu on nous le demande je vais pas utiliser FILE* ..
pour le (void *) my_read_str
http://crasseux.com/books/ctutoria [...] ow%20level
A lot of students are asking - can we use scanf, fscanf, getchar, putchar, printf, fprintf, fread, fwrite? The answer is that you can use printf, scanf, gets etc to access stdin and stdout, but you must not use fprintf, fscanf, fgets, etc. Things that you find in section 2 of the unix manual are OK - read, write, open, close, etc. But you must not create any FILE * object. You should be working with file descriptors for disk I/O.
Message édité par xiluoc le 21-10-2004 à 02:45:53