May it be a file, stdin, or even later a network connection, you will always need a way to read content line by line. It is time to start working on this function, which will be essential for your future projects.
- Clone && cd
git clone https://github.com/ramos21rodrigo/42porto.get-next-line.git && cd 42porto.get-next-line
- Compile it to
./get_next_line
cc get_next_line.c get_next_line_utils.c -o get_lext_line
- Now you can call it and the file line by line.
./get_next_line