代码示例: char* text = "hello world"; 解决方案: 项目属性->C/C++->语言>符合模式项>选择否 转载于:https://www.cnblogs.com/zhuifengshaonian/p/10974120.html