1 Attachment(s)
Oh my; I'm losing my mind! Help!!
I attatched the code I'm compiling as a zip
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
Someone help please? : )
Re: Oh my; I'm losing my mind! Help!!
Re: Oh my; I'm losing my mind! Help!!
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.