diff options
Removed old homeworks
1 files changed, 0 insertions, 33 deletions
| -rw-r--r-- | homework/81568/BF_Interpreter/bf_interpreter.h | 33 |
diff --git a/homework/81568/BF_Interpreter/bf_interpreter.h b/homework/81568/BF_Interpreter/bf_interpreter.h deleted file mode 100644 index 9e355ff..0000000 --- a/homework/81568/BF_Interpreter/bf_interpreter.h +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef BRAINFUCK_INTERPRETER_H -#define BRAINFUCK_INTERPRETER_H - -#include <cstddef> -#include <iostream> - - -class BFInterpreter { -public: - using uchar = unsigned char; - - BFInterpreter(const char *program, std::istream &input = std::cin, std::ostream &output = std::cout); - ~BFInterpreter(); - - void compile(); - -private: - void addMemory(); - void loop(); - void proccessNonLoopCmd(char c); - -private: - std::istream &input; - std::ostream &output; - size_t memory_size; - - uchar *memory_blocks; - uchar *p; - char *program; - char *pp; -}; - -#endif /* BRAINFUCK_INTERPRETER_H */ |
