what's differnece between #ifdef symbol and #if defined(symbol)

Discussion in 'C Programming' started by baumann@pan, Apr 15, 2005.

  1. baumann@pan

    baumann@pan Guest

    hi all,

    is there any shadow between #ifdef symbol and #if defined(symbol)?

    thanks in advance.

    baumann@pan
     
    baumann@pan, Apr 15, 2005
    #1
    1. Advertising

  2. baumann@pan

    Richard Bos Guest

    "baumann@pan" <> wrote:

    > is there any shadow between #ifdef symbol and #if defined(symbol)?


    Apart from being able to write #if defined(S1) && defined(S2), AFAICT
    nothing.

    Richard
     
    Richard Bos, Apr 15, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Gopal Prabhakaran

    Differnece between Events and Delegates

    Gopal Prabhakaran, Jan 26, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    7,168
    Gaurav Khanna [C# MVP]
    Jan 28, 2004
  2. Chris Torek

    Re: defined(name) vs #ifdef AND #ifndef

    Chris Torek, Jul 2, 2003, in forum: C Programming
    Replies:
    0
    Views:
    833
    Chris Torek
    Jul 2, 2003
  3. Keith Thompson

    Re: defined(name) vs #ifdef AND #ifndef

    Keith Thompson, Jul 2, 2003, in forum: C Programming
    Replies:
    0
    Views:
    4,453
    Keith Thompson
    Jul 2, 2003
  4. Tagore

    Any differnece between functions

    Tagore, Jan 23, 2009, in forum: C Programming
    Replies:
    13
    Views:
    533
    jaysome
    Jan 24, 2009
  5. Sijo Kg
    Replies:
    6
    Views:
    168
    Florian AƟmann
    Feb 15, 2009
Loading...

Share This Page