made work: multi-dimensional lists
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user