90 results for “topic:static-variables”
A C function that reads any valid file line by line - @42sp Project
get_next_line is a 42 school project meant to teach us how to read from a file descriptor and use static variables.
get_next_line (GNL): project focused on file I/O and memory management. The task is to write a single function, get_next_line, that reads from a file descriptor and returns one line at a time. This project requires careful handling of static variables, buffer management, and reading data in chunks to efficiently process files of any size.
This is my get_next_line function implementation
Create a function that enables reading content line by line from a file descriptor.
C function to read file one line at a time
This project is about programming a function that returns a line read from a file descriptor.
Explore efficient line-by-line reading with My C project designed to handle file descriptors. This program adeptly processes input, reading each line sequentially from the specified file descriptor.
This project is about programming a function that returns a line read from a file descriptor.
Function that reads a line from a file descriptor.
Projeto Java Android (capítulo 2) do livro "Receitas Para Desenvolvedores Android"
✅ This project is about programming a function that returns a line read from a file descriptor.
Line-by-line file reader in C using static variables and buffer management. Handles multiple file descriptors simultaneously, works with any buffer size (1 to 10M+), and manages memory efficiently. Includes comprehensive test suite and detailed algorithm documentation. Part of 42 School curriculum.
Function to read lines from a file descriptor one-by-one using static variables.
[42 Cursus] Reading a line from a fd is way too tedious
This is a 42 school project meant to teach us how to read from a file descriptor without knowing it's size before hand making use of static variables.
42 school's second project: "This project is about programming a function that returns a line read from a file descriptor."
This Project is Based on Real Time Application of Object Oriented Programming using Python.
This project is about programming a function that returns a line read from a file descriptor.
Get Next Line is a C function developed as part of the 42 São Paulo Common Core curriculum. It reads lines from a file descriptor, supporting both files and standard input, with a bonus version handling multiple file descriptors concurrently.
I gained a deeper understanding of allocations, whether they happen on the stack memory or in the heap memory, and the use of many static variables.
This project is about programming a function that returns a line read from a file descriptor.
ead one line at a time from any file descriptor in C — no standard library, single static variable, supports multiple file descriptors simultaneously.
Function that reads one or multiple files and returns line by line, ending with a newline
A function that reads a file line by line, allowing efficient handling of input from files, stdin, or network streams.
A simple java project to show how different variables such as static, local, final and instance variables are created and are accessed.
No description provided.
Create a function that subsequently reads lines of a file whenever you call it
A 42 School project focused on file descriptor manipulation, static variables, and memory management. The goal is to recreate a function similar to fgets that handles arbitrary buffer sizes and reads lines dynamically.
get_next_line is a C function that reads one line at a time from a file descriptor. It supports configurable buffer sizes, persistent state across function calls, and (in the bonus version) multiple file descriptors simultaneously, while ensuring safe memory handling.