Templates - - - (desperate)
C / C++ / MFC
4
Posts
3
Posters
0
Views
1
Watching
-
Hey all...
IT DOESNT LINK
**I dont know what to do**
I create a template class like this://This filename: myclass.h //This filename: myclass.cpp
link error: on the func(); and the ctor
=-=-=-=-= The Server :rose: -
Hey all...
IT DOESNT LINK
**I dont know what to do**
I create a template class like this://This filename: myclass.h //This filename: myclass.cpp
link error: on the func(); and the ctor
=-=-=-=-= The Server :rose: -
Hey all...
IT DOESNT LINK
**I dont know what to do**
I create a template class like this://This filename: myclass.h //This filename: myclass.cpp
link error: on the func(); and the ctor
=-=-=-=-= The Server :rose:Quick answer: All templated code needs to be in the header file. Long answer: See the article posted in the reply above. --Mike-- Ericahist | Homepage | RightClick-Encrypt | 1ClickPicGrabber Latest art~!@#2rDFA#@(#*%$Rfa39f3fqwf--= NO CARRIER
-
great article helped me alot thank you