Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdint.h>
- #define MAX_STACK_LENGTH 16
- class Int8Stack
- {
- public:
- static void init(void);
- static void push(int8_t i8Elem);
- static int8_t pop(void);
- private:
- static int8_t i8Array[MAX_STACK_LENGTH];
- static int iIndex;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement