Is it better to use a macro or a function?

Discussion in 'C Programming' started by madhawi, Jun 6, 2007.

  1. madhawi

    madhawi Guest

    Is it better to use a macro or a function?
    madhawi, Jun 6, 2007
    #1
    1. Advertising

  2. madhawi

    Chris Dollin Guest

    madhawi wrote:

    > Is it better to use a macro or a function?


    Sometimes.

    --
    Evil Hedgehog
    "I just wonder when we're going to have to sit down and re-evaluate
    our decision-making paradigm." /Sahara/
    Chris Dollin, Jun 6, 2007
    #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. Dead RAM
    Replies:
    20
    Views:
    1,111
    John Harrison
    Jul 14, 2004
  2. D Senthil Kumar

    macro name from macro?

    D Senthil Kumar, Sep 20, 2003, in forum: C Programming
    Replies:
    1
    Views:
    578
    Jack Klein
    Sep 21, 2003
  3. sounak

    to get macro name from macro value

    sounak, Nov 22, 2005, in forum: C Programming
    Replies:
    17
    Views:
    501
    Mark McIntyre
    Nov 22, 2005
  4. Patrick Kowalzick
    Replies:
    5
    Views:
    470
    Patrick Kowalzick
    Mar 14, 2006
  5. madhawi

    Is it better to use a macro or a function?

    madhawi, Jun 6, 2007, in forum: C Programming
    Replies:
    45
    Views:
    842
    Spiro Trikaliotis
    Jun 16, 2007
Loading...

Share This Page