0
Compiler doesn't understand template<class T>, what I must do?
2 Respostas
+ 3
you need to put the template statement right above each appropriate function.
Your missing the point of templates by doing like you've done in your code.
This will help:- http://www.cplusplus.com/doc/tutorial/functions2/
0
Thank you, code works