printf使用%s直接输出string类型,Program received signal SIGILL, Illegal instruction .
摘要:
http://blog.csdn.net/siling4/article/details/6691343printf使用%s直接输出string类型,编译有警告,运行会报Program received signal SIGILL, Illegal instruction。而且,运行时报错行,会是printf的上一行,致使查找起来可能非常耗时:上一行怎么看怎么没有错误。附相关材料:用printf输出string类型数据总结#include <stdio.h>#include <string.h>using namespace std;int main(){ string 阅读全文
posted @ 2012-12-20 15:25 androidme 阅读(1142) 评论(0) 推荐(0) 编辑