I am sure that for most this is a very easy question. But I am writing a token recoginzer for XML in c++ and I am using a stack to make sure there are matching begining and end tags. Well my tags are c strings...
char BeginTag[MAX];
I am trying to push that onto my template stack. But I am unsure what type to pass the stack. I have tried...
stack<char> TagStack;
But that doesn't work. I have tried a few other solutions alos but none seem to work. Can someone help me?