Skip to main content
edited tags
Link
kennytm
  • 526k
  • 110
  • 1.1k
  • 1k
Source Link
user198729
  • 64k
  • 109
  • 256
  • 353

What's the point of this kind of macros?

#define NAME(x) TEXT(x) #define TEXT(quote) __TEXT(quote) // r_winnt #define __TEXT(quote) quote // r_winnt 

The above is from winNT.h, isn't NAME("Virtual Cam") the same as "Virtual Cam",what's the point to use this macro?