I've recently been creating a binary search tree for a set but can't get the inorder function to work can someone point out the error and explain why i got it wrong apart from me being a complete newbie to C++.
errors:
------ Build started: Project: assignment, Configuration: Debug Win32 ------
Compiling...
setTemp.cpp
settemp.h(36) : error C2955: 'studentRegister' : use of class template requires template argument list
settemp.h(10) : see declaration of 'studentRegister'
settemp.h(44) : error C2244: 'studentRegister<DT>::inorder' : unable to match function definition to an existing declaration
settemp.h(29) : see declaration of 'studentRegister<DT>::inorder'
definition
'void studentRegister::inorder(DT)'
existing declarations
'void studentRegister<DT>::inorder(DT)'
settemp.h(240) : error C2244: 'studentRegister<DT>::inorder' : unable to match settemp.h(29) : see declaration of 'studentRegister<DT>::inorder'
definition
'void studentRegister::inorder(DT)'
existing declarations
'void studentRegister<DT>::inorder(DT)'