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

Threaded View

  1. #1
    Join Date
    Jul 2002
    Location
    Denmark
    Posts
    24

    Strange macro, valid?

    In a header I was looking at, I saw this...
    Code:
    #define MMM_X(x)_Z(z)	(0x0C + (((x)-1)*3 + ((z)-1))*4)
    ... is that valid? I don't recall seeing a macro like that before.

    (Name changed to protect the innocent!!!)
    Last edited by Exit; September 1st, 2007 at 05:35 AM.

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