& and &&

Started by
19 comments, last by jacksaccountongamedev 20 years, 9 months ago
quote:Original post by Anonymous Poster
You could, in fact do

if (ptr && ptr->enabled)


I don''t think I''ve ever compared ==true or ==false. At least not in a year..


or one step further.. when was the last time you were using NULL? not just because sometimes its not defined but also because of jokers hiding a #define NULL 1 in their header files *lol*

f@dzhttp://festini.device-zero.de

This topic is closed to new replies.

Advertisement