joppiesaus / Get-Next-Line_ruben

⤵ C program to find next line in any text based file without the use of iterators with concurrent file access support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get Next Line

⤵ C program to find next line in any text based file

Installation

This project assumes you have Make installed, otherwise you can copy paste the commands into your terminal.

# Clone:
$ git clone https://github.com/RubenNijhuis/Get-Next-Line.git

# Compile:
$ cd ./src && make

Usage

And add the get_next_line.a file that was created in the src/ folder to your project, and don't forget to compile it with your other files.

Your finished folder structure should look like this.

/- Project
 |- main.c
 |- get_next_line.a
 |- ...

Notes

This project started during my academic year '21 at Codam. Due to a norm they have for the code certain functions might be written in 'interesting' ways. In most cases these functions would be written in a differently structured way improving speed or memory usage.

This library will scale with the functionality I require during my time at Codam. Therefore some functions that might be obvious for you to use won't be added as I don't have a use for them.

Happy coding :)

About

⤵ C program to find next line in any text based file without the use of iterators with concurrent file access support

License:MIT License


Languages

Language:C 71.0%Language:Makefile 29.0%