Search Results

Search: Posts Made By: johnqsmith
Forum: Programming 02-29-2008
7,239
Posted By johnqsmith
What is the proper way to combine C++ files (with g++) to avoid link (ld) errors?
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...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 08:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy