The '//' is a comment-thing...but how would you make like a # a comment-thing? I've tried
But it didn't workPHP Code:
#define ' //
The '//' is a comment-thing...but how would you make like a # a comment-thing? I've tried
But it didn't workPHP Code:
#define ' //
I'm almost sure that it wouldn't work, but I'm not sure why? I think it might be because macros only work compiled code, and comments are not compiled.
none...
Well it wouldn't work because macro names must be identifiers. And ' isn't one.
You could however do something with an identifier, like for example #define'ing COMMENT to be //.
But the usefulness of such a thing is not immediately apparent.