[Dev-C++] Undefined reference (maybe offtopic)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <jto...@ut...> - 2004-06-14 16:48:02
|
Hi, I have a class template (let's say List <class T>) and other class which inherits from first one(let's say company :public List <character *>. = Just to try I made a project with the first class and all went well (no = memory losses, no computer hanging, well, you know).=20 But when I made the project with the two classes , beginning the = company.h with #include "List.h" I have a lot of undefined link error. If I change = the include into #include "List.cpp" everything goes all right. What may be wrong with my .h file? Thanks in advance, Jes=FAs Torrecilla |