+ 4
Is there some way we could use one interface file for the stack ADT, stack.h, that could be used by multiple implementations of
Is there some way we could use one interface file for the stack ADT, stack.h, that could be used by multiple implementations of stack?
1 Respuesta
+ 1
There are some things I don't understand in your question.
1. What do mean with interface file?
2. What do you mean with stack, the data type or the container? And what are those implementations you're talking about?
Btw. if you want to use stack as container I'd recommend to use C++ and its STL: http://www.cplusplus.com/reference/stack/stack/