Trying to get my head back into C++.
I am trying to split between a .cpp file and a .h file.
I am trying to employ constructors and destructors.
This might seem quite simple or a dumb question.
Can someone set me straight?
So, apart from a few bells and whistles, was the main problem that I had function code in the .h file instead of its own .cpp file?
I wouldn't say that was your main problem.
Line 18-33 (in your OP): You're passing Quivec in by value., modifying it, then exiting thereby losing the contents of what you just built. Because the argument and you class member have the same name, the compiler chooses the argument over the class member.
Furry Guy corrected that for you by not passing any arguments to Quivec() {line 3}, thereby referring to the class member.