I'm reading this one book on c++ and am having difficulty making an executable.
I'm a n00b at c++ and Ubuntu
so I don't know what I'm doing wrong.
I've compiled all my cpp files into object files and now I need to link it
but when I try that I get this:

uncle@Orion:~/Desktop/gamedev/calc$ g++ -o calculator *.o -lm
main.o: In function `main':
main.cpp: (.text+0x28d): undefined reference to `SAMSErrorHandling::Initialize()'
main.cpp: (.text+0x33a): undefined reference to `SAMSErrorHandling::HandleRuntimeError(std::runtime_error)'
main.cpp: (.text+0x3c2): undefined reference to `SAMSErrorHandling::HandleNotANumberError()'
main.cpp: (.text+0x3f7): undefined reference to `SAMSPrompt::UserWantsToContinueYOrN(char const*)'
collect2: ld returned 1 exit status

any suggestions?
also header files... um... I've made them, am I supposed to link those somehow too?:confused:

Show us the code?

o ok I just attached them.

the header files
in case I messed those up somehow

Just for trial, try putting :

using namespace SAMSErrorHandling;

at the top of your main.

Just for trial, try putting :

using namespace SAMSErrorHandling;

at the top of your main.

tried that, compiled fine but still get the same message when I try to link
:'(
lol at your sig btw xD