Check my code Please

This is a discussion on Check my code Please within the C++ Programming forums, part of the General Programming Boards category; I've been given an assignment to make 3 template classes for stacks. The 1st is for a static stack. The ...

Check my code Please

I've been given an assignment to make 3 template classes for stacks. The 1st is for a static stack. The 2nd for dynamic stacks. The 3rd is for linked lists. The code for the first one is below. I would appreciate someone going over it and seeing if my thinking and code were right. Thank You

It was full of syntax errors, but I managed to clear them up. This code at least compiles, but I didn't test to see if the processing is correct or not. The static const member of your class caused my compiler fits despite the correct syntax so I axed it and used a #define macro instead, you can change that as you see fit.