14 lines
236 B
C++
14 lines
236 B
C++
#pragma once
|
|
|
|
#include <stdio.h>
|
|
|
|
template<class T> struct array {
|
|
T* data;
|
|
size_t len;
|
|
inline T& operator[](int i) { return data[i]; }
|
|
};
|
|
|
|
typedef unsigned int uint;
|
|
|
|
bool read_file(array<char>* out, const char* filepath);
|