C reading files 🔎
>> YOUR LINK HERE: ___ http://youtube.com/watch?v=Hzg3kCHJcxI
C read a file tutorial example explained • #C #read #file • int main() • { • FILE *pF = fopen( poem.txt , r ); • char buffer[255]; • if(pF == NULL) • { • printf( Unable to open file!\ • ); • } • else • { • while(fgets(buffer, 255, pF) != NULL) • { • printf( %s , buffer); • } • } • fclose(pF); • return 0; • }
#############################
