Problem background:
gcc v 4.1
2 .cpp files, 2 .h files
Files:
main.cpp
a.cpp
a.h
b.h
Organization:
main.cpp includes a.h (because it calls a.cpp code)
a.cpp includes a.h
a.h includes b.h (because a class in a.h uses a b.h class)
There is no inheritance between a.h or b.h or any of the classes.
The problem is that when I try to compile...
User Profile
Collapse
-
johnqsmith started a topic What is the proper way to combine C++ files (with g++) to avoid link (ld) errors?in CWhat is the proper way to combine C++ files (with g++) to avoid link (ld) errors?
No activity results to display
Show More