made work: multi-dimensional lists

This commit is contained in:
Odweta
2023-12-25 01:05:42 +01:00
parent 7233f8c8af
commit a52cdc0c7f
7 changed files with 135 additions and 59 deletions
+10
View File
@@ -1,6 +1,16 @@
#ifndef UTIL_H
#define UTIL_H
typedef long unsigned int size_t;
typedef enum {
INT = 0,
FLOAT = 1,
CHAR = 2,
VECTOR = 3, // allows for multi-dimensional arrays
LIST = 4
} dataType_e;
char* intToString(int x); // convert an int into a string
long pow(int x, int n); // x^n