Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

1.0 vs 1

Name: Anonymous 2010-05-22 15:00

Does it really matter if something is a float or an integer? I mean COME ON!

Name: Anonymous 2010-05-22 23:57

>>24
In C, float a = 1.0; will leave you with a float stored in a. You can write 1.0f instead, but it's unnecessary. Even -Wall -Wextra -pedantic doesn't complain about it.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List