5 Apr
2002
5 Apr
'02
23:41
Il 23:36, venerdì 5 aprile 2002, Jerry Feldman ha scritto:
Additionally, it appears that you are just learning to program. I suggest that you either take a course or at least buy a good book on learning C++. That said: First, writing templates to start learing C++ is probably not a good idea.
I have already done some C++ in the past. Just not templates. The problem is not with C++ itself, just with the linker.
But, the type of error you have is that C++ classes must have constructors and, in some cases, destructors. Each of these methods have their own signatures.
And they obviously work when alone. They are there, the only one who do not look at them is the linker. (and the includes are obviously there).