1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

#define question

Discussion in 'MFC' started by SunnySmile, Sep 29, 2010.

  1. SunnySmile

    SunnySmile New Member

    Joined:
    Sep 29, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    1.I see in some classes, there are

    #ifndef IPADD_H
    #define IPADD_H
    #endif

    What is that #xxx for ?
    2.I also see

    #define something somethingelse-somethingelse-somethingelse-somethingelse-somethingelse-somethingelse-somethingelse-somethingelse-somethingelse-somethingelse-somethingelse-somethingelse-somethingelse-somethingelse-somethingelse...........
    Very long, the whole screen
    WHy should they define something like that ? When should we do so ?

    Thank you

    --Sunny Smile
     

Share This Page