i have following macros:
#define stringify(x) #x #define tostring(x) stringify(x) and use them converting sequence of characters srting. example, if write:
puts(tostring(hi)) then hi printed screen (pay attention hi isn't variable, it's sequence of characters).
now want modify macros support case x string value or sequence of characters in example above. calrify, if write:
puts(tostring(hi)) or if write:
puts(tostring("hi")) i same results. possible modifing macros?
Comments
Post a Comment