Thank you ocicat, that was enlightening.
One more follow up question. With the class thing, adding it to the main.cpp, I would
and then would I link in the Makefile
Code:
a.out: main.o thing.o
g++ main.o thing.o
or would the simple
automatically link what needs to be linked?