venkyomni
May 7th, 2008, 01:46 AM
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
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