diff options
Diffstat (limited to 'algo1w4d2/BracketCheck.h')
-rw-r--r-- | algo1w4d2/BracketCheck.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/algo1w4d2/BracketCheck.h b/algo1w4d2/BracketCheck.h new file mode 100644 index 0000000..2f379a7 --- /dev/null +++ b/algo1w4d2/BracketCheck.h @@ -0,0 +1,20 @@ +#pragma once + +#include <string> + +class Stack; + +class BracketCheck { +public: + void parse(const std::string&); + bool input_valid(); + +public: + BracketCheck(); + BracketCheck(const std::string&); + virtual ~BracketCheck(); + +private: + Stack* _stack; + bool _valid = true; +}; |