我想定义一个字符串宏,但是这个字符串实在非常长,编写代码时我想分多行显示,如何实现?
比如试图实现如下的宏定义:
#define THIS_STRING "Welcome to this edition of the Platform Software Development Kit (SDK) documentation. "
我想这样定义宏
#define THIS_STRING "Welcome to this edition of"
" the Platform Software Development "
"Kit (SDK) documentation. "希望高手不吝赐教,我只有10分了。
比如试图实现如下的宏定义:
#define THIS_STRING "Welcome to this edition of the Platform Software Development Kit (SDK) documentation. "
我想这样定义宏
#define THIS_STRING "Welcome to this edition of"
" the Platform Software Development "
"Kit (SDK) documentation. "希望高手不吝赐教,我只有10分了。
" the Platform Software Development "\
"Kit (SDK) documentation. "
完全正确!
谢谢!