/get-next-line

this programe is a function that return a char string that contains a line from a txt file. The first time you call this function, it will return the first line, the second time it will return the second line ect...

Primary LanguageC

get-next-line

This programe is made to return a char string that contains a line from a txt file

How does it work ?

This programme will read "X" characters per "X" characters untill he don't find a "\n". Those readed characters will be added at the end of a buffer char string where the previous readed characters are stored

language

c