hello,
To read from a file .
Make sure the file exists,hope you know the codes to do that.
After that , use a fgets method to read a length of strings.the structure is below:
fgets(section,80,readfile)
where section is a character array, 80 is the number of characters you want to read and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.