I tried writing a stack program using the concept of templates.
It worked well for the int,char and double.But when i tried to pass a complex class error occured.
Is it possibleto pass a class to the template class?
If so what is the syntax for doing it?
I have got the code attached with this mail please specify if any changes is to be made in it.