I'm trying to convert a string to a float. I can successfully distinguish between numbers and letters BUT if I type in 0 I'm not sure what to do.
cin >> input;
x = strtof(input.c_str(),&end);
if(x>0 || isZero(input))
bool isZero(string input)