<stack> template class no assignment for parameters?

I am using the stack pop and push in a piece of code. One of the parameters is a char*, the other is a vector<string>*. Is it not possible to use the default templates? So I need to write my own class and constructor and destructor and parameters? I never used the stack tools before. So to be clear it essentially creates an artificial stack for the data types? I currently have two different ones, one for each variable. Can I only use one stack?
Provide a code sample that reproduces the problem you are experiencing. It is unclear what you are asking.
Topic archived. No new replies allowed.