this project is a function in c to take the next line of a file or a file descriptor. this is a project of 42 school.

Github-Explorer

Luiz Cezario GitHub last commit Stargazers

Get Next Line of 42. Make with ❤︎ for Luiz Cezario

📌 Index

What's Get Next Line of 42?

This is a fucntion to get next line of the text in a archive or other places thats generate a filedescription like the standard input and output.

📋 List of Archives

Standard

In this files, you will find GNL using standard lists and recursive function that's using strjoin and other function from Libft, and made like others did.

Linked List

In this files, you will find GNL using linked list that's is a resource that's more efficient that the standard list from C, we learn about it in the bonus of the Libft, and this is probably more efficient that other's because of that.


Functions from Standard

Functions from Linked List

💻 Technologies

This Project was made with:

👷 How to Run

# If you want a Script for testing use this :
# https://github.com/Tripouille/gnlTester

# or use the example_main.c in the main folder and make you the test.

# Clone the Repo
$ git clone https://github.com/luizlcezario/get_next_line.git

# Enter in the Folder
$ cd get_next_line

# *************COMMANDS************ #
# what of the to GNLs you want to test entry in the folder
$ cd GNL or cd GNLinked


# for test with the example_main.c you need to copy the example_main.c 
#folder the folder and than rename to main.c and run the comamand below.

# then run this command to generate the exe of
$ make all

# run the test with the main example
$ ./get_next_line

🐛 Issues?

Please feel free to create a new issue with its title and description on the issues page of the Get_Next_Line Repository. If you have already found the solution to the problem, I would love to review your pull request!

Give ⭐️ if you like this project, this will help me!

Owner
Luiz lima cezario
Cadent in 42 Sao Paulo . Student of UFABC, web developer.
Luiz lima cezario
Similar Resources

This is our take on the digitalisation of the board game "b00le0", where you can play versus our AI, or against one of your friends in an online match.

This is our take on the digitalisation of the board game

This is our take on the digitalisation of the board game "b00le0", where you can play versus our AI, or against one of your friends in an online match.

Dec 8, 2022

Collection of DLL function export forwards for DLL export function proxying

dll-exports Collection of DLL function export forwards for DLL export function proxying. Typical usecase is for backdooring applications for persisten

Dec 6, 2022

synthv1 - an old-school polyphonic synthesizer

synthv1 - an old-school polyphonic synthesizer

Jan 8, 2023

Wave Function Collapse library in C, plus a command-line tool

Wave Function Collapse library in C, plus a command-line tool

wfc Single-file Wave Function Collapse library in C, plus a command-line tool License: MIT Version: 0.01 This is an early version that supports the ov

Dec 29, 2022

FluidNC - The next generation of motion control firmware

FluidNC - The next generation of motion control firmware

FluidNC (CNC Controller) For ESP32 Introduction FluidNC is the next generation of Grbl_ESP32. It has a lot of improvements over Grbl_ESP32 as listed b

Jan 3, 2023

Next gen. of NekoCal: An open-source hackable and programmable e-paper display

NekoInk NekoInk is an open-source, programmable, and versatile E-paper display platform. It offers connectivity options to various type of E-paper scr

Nov 16, 2022

How To Build The NeXT ROM Monitor From Sources

How To Build The NeXT ROM Monitor From Sources

Nov 20, 2022

Next-gen Rowhammer fuzzer that uses non-uniform, frequency-based patterns.

Blacksmith Rowhammer Fuzzer This repository provides the code accompanying the paper Blacksmith: Scalable Rowhammering in the Frequency Domain that is

Nov 16, 2022

Next Index to Query Kmer Intersection

NIQKI NIQKI stand for Next Index to Query K-mer Intersection. NIQKI is an sketch based software, similar to Mash or Dashing, which can index the large

Nov 3, 2022
Second project for 42 : Reading text available on the file descriptor one line at a time.

get_next_line Initial commit This project will not only allow you to add a very convenient function to your collection, but it will also allow you to

Mar 28, 2022
Reading a line on a file descriptor is way too tedious.
Reading a line on a file descriptor is way too tedious.

Get_next_line 1337's PROJECT : Reading a line on a fd is way too tedious In this repo you will find all the codes developed during the get_next_line 1

Feb 16, 2022
Repository created to store a C function library to use in 42 School
Repository created to store a C function library to use in 42 School

Libft of 42. Make with ❤︎ for Luiz Cezario ?? Index What's this Repo? List of Functions Technologies How to Run Find a Bug? Or somenthing need to chan

Aug 19, 2022
Manual mapper that uses PTE manipulation, Virtual Address Descriptor (VAD) manipulation, and forceful memory allocation to hide executable pages. (VAD hide / NX bit swapping)
Manual mapper that uses PTE manipulation, Virtual Address Descriptor (VAD) manipulation, and forceful memory allocation to hide executable pages. (VAD hide / NX bit swapping)

Stealthy Kernel-mode Injector Manual mapper that uses PTE manipulation, Virtual Address Descriptor (VAD) manipulation, and forceful memory allocation

Jan 3, 2023
C-function for traversing files/directories effectively and calling a given function with each encountered file and a void-pointer as parameters

C-function for traversing files/directories effectively and calling a given function with each encountered file and a void-pointer as parameters

Jun 27, 2022
:fish_cake: A new take on polymorphism in C++
:fish_cake: A new take on polymorphism in C++

DynaMix (Dynamic Mixins) is a new take on polymorphism. It lets the user compose and modify polymorphic objects at run time in C++. The library is a m

Dec 29, 2022
A simple take-out delivery system written by C
A simple take-out delivery system written by C

Take-out delivery system ?? BUPT Course: Introduction to Computing and Foundation of Programming A simple take-out delivery system written in C. ?? In

Oct 3, 2021
This Repo would take notes for some OCW courses which I consider it is excellent.

Excellent OCW This Repo would take notes for some OCW courses which I consider it is excellent. Course Code HomePage Assignment&Note [Done] MIT 6.S096

Apr 24, 2022
Take Damage hook hook made to increase weapon damage, the game I made is Free Fire in version 1.65

Take-Damage Simple Take Damage hook hook made to increase weapon damage, the game I made is Free Fire in version 1.65 Bool bool isTakeDemageBool = fal

Jan 1, 2022
Electrostatic Discharge (esd) is here to take the pain out of making static websites.
Electrostatic Discharge (esd) is here to take the pain out of making static websites.

Electrostatic Discharge (esd) is here to take the pain out of making static websites. It's a minimal templating tool for html, css and javascript.

Nov 27, 2022