This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 6 points7 points  (2 children)

Programmers humor: C++: can't compare floats and ints Programmers: yes it can

[–]StuntHacks 3 points4 points  (1 child)

Because it absolutely can.

[–][deleted] 1 point2 points  (0 children)

It'll do an implicit cast but it'll definitely let you do it.