part way through switch to cin parser

This commit is contained in:
2025-08-19 12:00:18 -05:00
parent d4d4a236e9
commit ba9216a338
6 changed files with 107 additions and 159 deletions

View File

@@ -3,6 +3,9 @@
#include <cstdlib>
#include <stdio.h>
#define min(a, b) ((a < b) ? a : b)
#define max(a, b) ((a > b) ? a : b)
typedef unsigned int uint;
template<class T> struct array {
@@ -15,4 +18,7 @@ template<class T> struct array {
template<class T> void append(array<T>& a, T el);
template<class T> T pop(array<T>& a);
template<class T> void resize(array<T>& a, size_t new_cap);
template<class T> void free(array<T>& a);
bool read_file(array<char>* out, const char* filepath);
array<char*> split_str(const char *s, char delimiter);
array<char*> split_str(const char *s);