I have this code and am wondering if it is possible to have a stringstream to handle uint8_t as a number, not a character?
uint8_t s; std::stringstream sstream( "255" ); sstream >> s; std::cout << s << " equals 50/'2' not 255 " << std::endl;
s should be 255 not 50 / '2'
source share