Quote:
Originally Posted by Shira
Code:
double range;
:
range = m_ultra->GetRangeInches();
But when I print out the range I get only zeros. Actually, I've gotten other values with that code occasionally...
|
How are you printing it? If your format specifier doesn't match the variable type, it won't work properly.