Skip to content

osalmine/get_next_line

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

get_next_line

Hive - get_next_line

Whether it is a file, the standard input or, later on, a network connection, you will always need to read content line by line. It is therefore time to tackle this function, which is essential for a number of your future projects.

Grade:

osalmine's GET_Next_Line Score

I have provided a main for this project although the subject doesn't ask for it. You can provide your own main, but my main will print the whole file it is given. get_next_line can read from standard input or from a file. See main.c for example usage.

run.sh will compile the project as the subject specifies.

Usage:

sh run.sh
./test_gnl [file]

About

Hive - get_next_line

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published