Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualHodgman

Posted 15 December 2012 - 05:27 AM

Although NULL IS ugly, it cannot be replaced with 0

What? NULL is #defined as 0, meaning there's absolutely no difference except style/personal preference, and Bjarne "C++" Stroustrup was quoted earlier as preferring 0 (or nullptr in C++11 where available) over the NULL macro.

#2Hodgman

Posted 15 December 2012 - 05:27 AM

Although NULL IS ugly, it cannot be replaced with 0

What? NULL is #defined as 0, meaning there's absolutely no difference except style/personal preference, and Bjarne "C++" Stroustrup was quoted earlier as preferring 0 (or nullptr in C++11 where available) over the NULL macro.

#1Hodgman

Posted 15 December 2012 - 05:24 AM

Although NULL IS ugly, it cannot be replaced with 0

What? NULL is #defined as 0 and Stroustrup was quoted earlier as preferring 0 (or nullptr in C++11 where available) over NULL.

PARTNERS