System programming & Algorithm ― Linux programming
-
Updated
Feb 22, 2018 - C
System programming & Algorithm ― Linux programming
C++ is a general-purpose programming language and widely used nowadays for competitive programming.
[documented code / -pedantic -std=c89] - Get the next line of text available on a file descriptor. Can be used within a loop to read a file line by line.
Portable implementations for POSIX getdelim and getline.
The aim of this project is to make me code a function that returns a line ending with a newline, read from a file descriptor.
It is an imitation of the Unix shell built in the C language
Alx team project
Whether it's a file, standard input, or even later a network connection, you'll still need to read content line by line. So it's time to tackle this function(getLine(Cpp)), using linked lists and only one static variable , respecting 42norms, essential for a number of your next projects.
My implementation of the getline() function in C
42 cursus GNL project. A function that reads a file line by line.
Get Next Line is a project at 42 network (1337 school). It is a function that reads a file and allows you to read a line ending with a newline character from a file descriptor. When you call the function again on the same file, it grabs the next line
I read an idea similar to this one on the linked webpage. It called for an array of strings to be framed (which would be much easier), but I decided to make the program able to receive user inputted sentences and spit them back out within a frame of asterisks.
Extended Implemented C Library with Printf, Getline and 50+ Utility Functions.
C language | Recode of function Getline | [name]Get_Next_Line
personal implementation of the GNU C library getline() in C
Library with a bunch of standard functions on C, and some my own.
Add a description, image, and links to the getline topic page so that developers can more easily learn about it.
To associate your repository with the getline topic, visit your repo's landing page and select "manage topics."