Be careful, I'm just asking questions, not judging you. It's always interesting to see what others do.
Hey I didn't mean to offend you, I was only puzzled by your question.
Here is how my code looks like:
int txt = sprintf_s(string, "KPH %6.0f WHEELS %6.2f AIR %6.3f DISTANCE %6.0f POWER %6.0f", s, wheels, air, dist, pwr);
label.SetString(string);
Label is an sf::Text object. So, as you can see, displaying these numbers with all the formatting, using c++ streams would be much more complex.
Anyway, I seem to have some problem with my code. I declare the "float wheels = 0.f;" and when I run the program,
SOMETIMES it is not equal to zero. it's very strange to me. the value randomly is equal to zero or something else, each time I run the program.