-
Diff: Counter.h
- Revision:
- 6:9f8adf722fc3
- Parent:
- 4:c15c22484205
diff -r bb12605080d5 -r 9f8adf722fc3 Counter.h --- a/Counter.h Fri Nov 16 14:52:41 2018 +0000 +++ b/Counter.h Mon Nov 19 19:00:30 2018 +0000 @@ -28,18 +28,10 @@ class Counter { -private: +public: int count[MAX_LEN]; int is_new_count; int address; - #ifdef COUNTER_DEBUG - /** Simple print function - * - * Prints all memory addresses in count array with values for debugging purposes. - * - */ - void print_memory(void); - #endif /** Initialize count array * * Either initializes count array to zeroes or existing count @@ -56,7 +48,7 @@ */ void decrement(int index); -public: +//public: /** Default Constructor * @@ -94,6 +86,14 @@ * */ void clear(); + + /** Simple print function + * + * Prints all memory addresses in count array with values for debugging purposes. + * + */ + void print_memory(void); + }; #endif \ No newline at end of file