您的位置:首页 > 其它

超长字符串换行处理

2016-02-13 11:00 225 查看
方法如下:

char create[] =

"create table npcinfo"

"("

"id int unsigned not null auto_increment primary key,"

"name char(8) not null,"

"sex char(4),"

"hp int unsigned,"

"mp int unsigned,"

"tel char(12) not null default ' - '"

");";

不能使用

char *,会被认为是long long 赋值到char*。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: