CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 11 of 11

Threaded View

  1. #5
    Join Date
    Sep 2005
    Location
    New Delhi, India
    Posts
    332

    Re: Strange macro, valid?

    Quote Originally Posted by Mitsukai
    looks fine for me
    Why does it appear fine to you
    Preprocessing directive are of the form
    Code:
    # define identifier replacement-list new-line
    which defines an object-like macro that causes each subsequent instance of the macro name.

    or

    Code:
    # define identifier lparen identifier-listopt ) replacement-list new-line
    which defines a function-like macro with parameters, similar syntactically to a function call.
    Last edited by sunnypalsingh; September 1st, 2007 at 05:15 AM.
    Appreciate others by rating good posts

    "Only buy something that you'd be perfectly happy to hold if the market shut down for 10 years." - Warren Buffett

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured