Re:Why C++ is vastly superior to C
by mnutt on Saturday May 14, 2011 @12:48PM
(#2548005)
I'm only aware of php and javascript equating 0 to false. But at any rate in this case it's not equating 0 to false, it's comparing non-zero to zero and returning true. (as it should)
[ Parent
| on HN ]
Re:Why C++ is vastly superior to C
by burgerbrain on Saturday May 14, 2011 @01:12PM
(#2548065)
In C, 0 evaluates to false.