info

1
int val=0, nr=0, sum=0; while(1) /* while(feof(f_sursa) ) { int cod_r; cod_r = scan(f_sursa,"%d",&val); if(cod_r == EOF) break; /* apelul feof() intoarce true abia dupa ce un apel fscanf()/fread() "citeste" pozitia End-Of-File, 1

Upload: betta55

Post on 15-Jan-2016

215 views

Category:

Documents


0 download

DESCRIPTION

Info

TRANSCRIPT

Page 1: Info

int val=0, nr=0, sum=0;

while(1) /* while(feof(f_sursa) ) { int cod_r; cod_r = scan(f_sursa,"%d",&val); if(cod_r == EOF) break; /* apelul feof() intoarce true abia dupa ce un apel fscanf()/fread() "citeste" pozitia End-Of-File,

1