Ebeworld’s Weblog

Trying to create

Difference between # and ## in macros

#define x(i) x##i

When x(1) is invoked it becomes x1, since ## appends, while # gives arguments.

April 2, 2011 Posted by | Algorithms, CPP, Uncategorized | Leave a Comment

   

Follow

Get every new post delivered to your Inbox.