Nuacht
To open the file in read mode, use "r" for the second parameter; for example:FILE *fileStream;fileStream = fopen ("example.txt", "r"); Read a line from the file into a char array using the fgets ...
Cuireadh roinnt torthaí i bhfolach toisc go bhféadfadh siad a bheith dorochtana duit
Taispeáin torthaí dorochtana