#ifndef STACK_H #define STACK_H #include "vector" using std::byte; using std::vector; int bytesToInt (vector> bytes); class Stack { public: Stack(); ~Stack(); /* Stack commands */ void push (vector data); void rm (byte removeMode = byte(0x00)); void ed (); void repl (); vector get (); int size (); private: int stackPointer = -1; int stackSize = 0; vector> stackStorage = {}; // Link: -1 - Not Link; 0 - Link to stack; 1 - Link to heap vector stackLinker = {}; }; #endif // STACK_H