Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 1.48 KB

README.md

File metadata and controls

46 lines (36 loc) · 1.48 KB

Get_next_line

My implementation of the get_next_line function, similar to the fgets function in C and getline in C++.

What is get_next_line?

Get_next_line is an individual project at 42 that requires us to create a function similar to getline from C++ and fgets from C. This function allows reading a file line by line when called in a loop.

Badge

Objectives

  • Unix logic

Skills

  • Unix
  • Rigor
  • Algorithms & AI

My grade

Getting started

Follow the steps below

# Clone the project and access the folder
git clone https://github.com/gialexan/42cursus-get_next_line && cd 42cursus-get_next_line/
# Create a file do read
touch myfile.txt
# Write in file
echo "Test get_next_line!" > myfile.txt
# Compile the files, example:
cc main.c get_next_line.c get_next_line_utils.c
# Execute your program
./a.out
# Clean output objects with
rm -f myfile.txt a.out
# Well done!

Updating

The project is regularly updated with bug fixes and code optimization.


Made by:
Gilmar Alexandro Romani 👋 See my linkedin