#define question

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

  1. SunnySmile

    SunnySmile New Member

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

    #ifndef IPADD_H
    #define IPADD_H

    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice