need help: NULL pointer problem

Discussion in 'Mac Programming' started by titixu, Aug 29, 2009.

  1. titixu macrumors newbie

    Joined:
    Aug 29, 2009
  2. lloyddean macrumors 6502a

    Joined:
    May 10, 2009
    Location:
    Des Moines, WA
    #2
    As I'm only seeing C++ code ...

    According to the "ISO 14882 - C++ 98" standards document NULL is a
    MACRO and may be define in any of these standard includes -

    <clocal>, <cstddef>, <cstdio>, <cstdlib>, <cstring>, <ctime>
    or <wchar>

    None of which you seem to have included within the code of these
    screen captures.
     
  3. SRossi macrumors regular

    Joined:
    May 27, 2009
    Location:
    Glasgow, Scotland
    #3
    Also the last error is because you have spelled "nodePtr" wrong. Don't know if you noticed this.

    Stephen
     
  4. titixu thread starter macrumors newbie

    Joined:
    Aug 29, 2009
  5. scootaru macrumors 6502

    Joined:
    Nov 7, 2008
    Location:
    Columbus, OH
  6. foidulus macrumors 6502a

    Joined:
    Jan 15, 2007
    #6
    Does nil work in C++? I thought that was an objective-c thing.
     
  7. scootaru macrumors 6502

    Joined:
    Nov 7, 2008
    Location:
    Columbus, OH
    #7
    Oops, I believe you are correct.
     

Share This Page