Hi, I am a beginner programmer in C++, encountering a compiling issue when i tried to debug a program related to the templates..
Brief code is
Template <class x> void my function( x a, x b)
{
//body
}

when i wrote this code and complied , getting an error saying " type name missing"

Do I have to use a latest compiler for this or is ther some other issue in it like have to add any include libraries...

Thanks
venkat