Answers for "les fichiers +struct"

-1

les fichiers +struct

if(checkid2(h)==0){
	 		     printf("\n\\t\t ................ le client est disponible :)...................\t\t");
			        printf("\n\t\t.................Voulez-vous le supprimer?(o/n) : ..................\t\n\t");
                                    if(getch()=='o'){
                            fts=fopen("test2.dat","wb+");  
                              rewind(fs);
                                  while(fread(&b,sizeof(b),1,fs)==1){
                                         if(b.idClient!=h){
                                        fseek(fts,0,SEEK_CUR);
                                         fwrite(&b,sizeof(b),1,fts);
                                     }                            }
Posted by: Guest on April-13-2022

Browse Popular Code Answers by Language