Potresti scrivere
codice:res1=fgets(bufa, 200, fda); if( res1==NULL ) break; bufa(strlen(bufa))=0; res2=fgets(bufb, 200, fdb); if( res2==NULL ) break; bufb(strlen(bufb))=0;
Potresti scrivere
codice:res1=fgets(bufa, 200, fda); if( res1==NULL ) break; bufa(strlen(bufa))=0; res2=fgets(bufb, 200, fdb); if( res2==NULL ) break; bufb(strlen(bufb))=0;