getting the size of stringYou have to ask the name in a loop repeatedly until the user inputs a name whose length is less than...
ExceptionsYou need to catch the exception, i.e. enclose the call in a try/catch block.
Error in castingYou need to initialize variables rate1 and rate2 in MaxNum(). Also, when atof() takes a const char* ...
Getting a garbage value.[quote]I always thought variables without any specified initialization value would be initialized to...
error C2248: cannot access private member declared in classPass the [code]ifstream[/code] object as reference instead of value, i.e. modify the function protot...