Consider a stack module like (two files stack.h stack.cpp) which supports the these functions;
void push (stack *, std::string); std::string & pop(stack &);
bool isEmpty(stack &); std::string & top (stack *);
I didnt understand this part what it means. Also I declared stack like;
struct stack { … };
But with these functions, can i write this module without class?