T
Thomas Matthews
Dave said:Hi
I have a vc++ project with 2 source files and 2 headers. In File1.cpp, I
#include File1.h. In File1.h, I #include File2.h. In File2.cpp, I #include
File2.h. But I'm getting LNK2001 errors still. How do i tell the compiler
that when I build File1.cpp, it will also need File2.cpp? I think it is only
getting as far as including File2.h.
Any help is appreciated
dave
By asking the experts in a Visual C++ newsgroup. Linking is beyond
the scope of the C++ language and not discussed here.
Read the C++ FAQ and welcome.txt below.
--
Thomas Matthews
C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book
http://www.sgi.com/tech/stl -- Standard Template Library