This commit is contained in:
bronku 2025-10-21 18:50:21 +02:00
parent 7c888a3dd0
commit 5d9fc7d18d
11 changed files with 247 additions and 297 deletions

12
buffer.h Normal file
View file

@ -0,0 +1,12 @@
#pragma once
#include "record.h"
typedef struct {
record* location;
int length;
int capacity;
} buffer;
buffer create_buffer(int capacity);
int read_buffer(buffer* buff, FILE* in);
int write_buffer(buffer* buff, FILE* in);