August 24th, 2003, 07:08 PM
Thanks. As grumpy suggested, I used it in the header file.
I have another question. I have several template functions in the .h file. I have a function as follows. I get unreferenced error when I use this in the .h file.
template <typename T>
inline void initialize3(int num, T * &refl)
for( int i=0;i<num;i++)
In the main I create an array of the type double * refl and I acll the function for initialize3.
Last edited by lalitha; August 24th, 2003 at 08:04 PM.