我从网上copy的源码中有一部分代码是这样的
#define INFOS1P "\xff\xff\xff\xff" \
"infostringresponse\x00" \
"\\" \
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" \
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" \
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" \
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" \
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" \
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" \
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" \
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" \
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" \
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" \
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" \
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" \
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" \
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" \
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" \
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" \
"EIP." \
"\\0" \
"\\protocol\\46" \
"\\address\\1.2.3.4:27015" \
"\\players\\3" \
"\\proxytarget\\0" \
"\\lan\\0" \
"\\max\\16" \
"\\gamedir\\valve" \
"\\description\\Half-Life" \
"\\hostname\\Test" \
"\\map\\map" \
"\\type\\l" \
"\\password\\0" \
"\\os\\w" \
"\\secure\\0" \
"\x00"
但编译时出错,这是为什么呢?
我把#define 改成char *INFOS1V =也出错。
最后加;号还是不行,VC中应该怎么连接字符串啊
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课