19 lines
318 B
C++
19 lines
318 B
C++
#ifndef IO_FILE_OP_HPP
|
|
#define IO_FILE_OP_HPP
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <stdint.h>
|
|
|
|
typedef struct
|
|
{
|
|
char **lines;
|
|
int num_lines;
|
|
} file_content;
|
|
|
|
FILE *w_open_file(const char *filepath);
|
|
file_content w_read_file(FILE *file);
|
|
|
|
file_content init_file_content();
|
|
|
|
#endif // !IO_FILE_OP_HPP
|