28Fermer30
Kevin KoflerLe 29/10/2003 à 23:50
vodoo93
: comment je fait pour verifier si il y a la place??

char *tonbloc=malloc(3840);
if (!tonbloc) ...

Il faut vérifier juste après l'allocation, pas avant.