initializing pointers / handles
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
what is the difference between (c): HMENU hMenu = NULL; and HMENU hMenu = (HMENU) NULL; or (c++): HMENU hMenu = 0; and HMENU hMenu = reinterpret_cast(0); Is cast operator while initializing pointers really necessary?
There is no difference between any of those. They all have the same effect.
Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"