SiavoshKC's prog does this
Code:
#define x printf("") /* comment */
#define x printf("/*") /* comment */
#define x printf("//")
#define x printf(" /* " // "*/");
/* #define x x */
// /*
#define x /**/
and Martin's does this
Code:
#define x printf("") /* comment */
#define x printf([COLOR=RED]"/*") /* comment */
#define x printf("//")
#define x printf(" /* " // "*/");
/* #define x x */
[COLOR=GREEN]// /*
#define x /**/
and dwks' codeform
Code:
#define x printf("") /* comment */
#define x printf("/*") /* comment */
#define x printf("//")
#define x printf(" /* " // "*/");
/* #define x x */
// /*
#define x /**/
which, by my reckoning, puts SiavoshKC's CPP Code Painter in the lead at the moment.