Making the constructor private will prevent you from creating an instance of that object, which is what you said you wanted to do. Pure virtual functions are the normal way to go about it.
Not really. I'm not trying to be a jerk, but you need to understand the process yourself in order to explain it to the computer. I'm sure you know how to do it, but you need to figure out all the...
No. Multiplying the whole number feet by a decimal number is why you're getting compiler warnings in the first place. Remember for this exercise you need to convert everything to inches first.
...
Then you need to work exclusively with the smaller units. For example, if you're using feet and inches, do all your calculations with inches. If you end up with a result of 27.5" for example, you...
What does your code have to do with a for loop, and what does either your code or your advice have to do with the original problem, why are you checking the value of a char array by checking one char...
Is that the only line in your stack? If not, find the last line of YOUR code referenced. If it doesn't show any of your code, you'll need to step through the debugger to find where it's going wrong.
How did you determine it was running correctly, when clearly it wasn't? Stepping through the code in the debugger is really the only way to know for sure what your program is doing, and it would...