Macros with variable parameter list in MS VC Compiler (6.0)

Discussion in 'C Programming' started by Michael Zeile, Jan 20, 2005.

  1. Hi,

    i've found this code snipplet here around somewhere:

    #define eprintf(format,args,...) fprintf(stderr,format,## args)

    i think this is working with a gcc compiler. can anyone tell me how i
    can implement this functionality with the microsoft c compiler ( part of
    microsoft visual studio 6.0 ) ?

    thx a lot
    bye michael
    Michael Zeile, Jan 20, 2005
    #1
    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. Replies:
    80
    Views:
    2,344
    Stephen J. Bevan
    Nov 7, 2003
  2. Replies:
    1
    Views:
    424
    Marco Antoniotti
    Oct 7, 2003
  3. Replies:
    5
    Views:
    483
  4. Michael T. Babcock

    Re: Explanation of macros; Haskell macros

    Michael T. Babcock, Nov 3, 2003, in forum: Python
    Replies:
    0
    Views:
    505
    Michael T. Babcock
    Nov 3, 2003
  5. Andrew Arro

    macros-loop? calling macros X times?

    Andrew Arro, Jul 23, 2004, in forum: C Programming
    Replies:
    2
    Views:
    476
    S.Tobias
    Jul 24, 2004
Loading...

Share This Page