This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#define using char | |
#define namespace const |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdbool.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
static char * append (char *field, size_t *size, size_t *len, char c); | |
static size_t get_field (char **field, size_t *size, FILE *file); | |
static char const * strip_field (char *field, size_t len); | |
static bool end_of_file = false; |