- This project has been created as part of the 42 curriculum by Charles Obiora. *
This codebase is for the get_next_line project @ 42 London. The get_next_line is a utility function that returns a new line and all the characters it encounters before the new line whenever it encounters a new line while reading a file. It will only and always return a character or a string whenever it encounters a newline expect it encounters an error.
To successfully complete the get_next_line project, you will have to learn about:
-
Static pointers
-
Heap and stack memory
-
Stackoverflow
-
Macros
-
How to open and read a file
To compile this project you only need to have a C compiler installed on your system and you can compile the project using either of the commands below. The commands should be executed at the root directory of the project.
-
cc -Wall -Wextra -Werror -D BUFFER_SIZE=42 .c
-
cc -Wall -Wextra -Werror .c