## operator

Started by
13 comments, last by kloffy 17 years, 7 months ago
It will print 'Error C#####: Too few arguments to macro'

Incidentally, you don't need a special operator to concatanate strings.

const char* ugly_c_string = "These strings" "will be concatanated" "automatically" "by the compiler";
Advertisement
Thanks everyone for clarifying. The ## operator was pretty new to me, but I feel like I have a pretty good grasp of it now.
Does anybody have some more info about this ## operator? I've never heard of it before. It looks interesting and, thanks to this thread, I have a rough idea what it does. I would like to see some documentation about it.
Quote:Original post by kloffy
Does anybody have some more info about this ## operator?


Token-Pasting Operator (##).
Ah, so that's what it's called. Intersting stuff, thanks!

This topic is closed to new replies.

Advertisement