l'instruction "read"

l'instruction "read" - C++ - Programmation

Marsh Posté le 21-06-2002 à 06:48:46    

/* ptr=strstr(BufferRead,"Content-Type:" ); */
        ptr=strstr(BufferRead,"\r\n\r\n" );
        if (ptr)
        {
         total=nbrecar-(ptr+4-BufferRead);
         nbrecar=nbrecar-(ptr+4-BufferRead);
         nbrecar=fwrite(ptr+4,1,total,fp);
        }
 
        /* Réception du fichier */
        while(1)
        {
         nbrecar=read(sockdest,BufferRead,MaxBuffer);
 
voilà je voudrais savoir comment fonctionne l'instruction read
merci

Reply

Marsh Posté le 21-06-2002 à 06:48:46   

Reply

Marsh Posté le 21-06-2002 à 08:55:49    

http://forum.hardware.fr/forum2.ph [...] h=&subcat=
(utililses plutot ça pr lire un fichier)

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed