Here is the output from my compiler (using eclipse)
Code:
Building target: css342hw7
Invoking: MacOS X C++ Linker
g++ -arch x86_64 -o "css342hw7" ./driver.o
Undefined symbols:
"LongInt::operator>(LongInt const&) const", referenced from:
_main in driver.o
"LongInt::operator+(LongInt const&) const", referenced from:
_main in driver.o
_main in driver.o
_main in driver.o
"LongInt::operator>=(LongInt const&) const", referenced from:
_main in driver.o
"LongInt::~LongInt()", referenced from:
_main in driver.o
_main in driver.o
_main in driver.o
_main in driver.o
_main in driver.o
_main in driver.o
_main in driver.o
_main in driver.o
_main in driver.o
_main in driver.o
_main in driver.o
_main in driver.o
_main in driver.o
_main in driver.o
_main in driver.o
_main in driver.o
_main in driver.o
You might want to explain to us, what you are trying to do. Why is one of your files called .cpp.h? Why haven't you finished implementing this (there are functions in there with return type bool that don't return anything)?
If you read the output you are posted, you will find it does not come from your compiler.
I suggest you first finish your coding, then make sure all your files are named correctly, then try again to build the program.
More computing sins are committed in the name of efficiency (without necessarily achieving it) than for any other single reason - including blind stupidity. --W.A.Wulf
Premature optimization is the root of all evil --Donald E. Knuth
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.