随笔分类 -  DEBUG

【DEBUG】 Visual Studio 2005 DEBUG集
摘要:一、 fatal error C1083: 无法打开包括文件:“stdint.h”: No such file or directorystdint.h是c99标准的头文件,vc不支持,所以肯定会提示“No such file or directory”的。解决办法:去 下载 msinttypes-... 阅读全文
posted @ 2015-02-10 18:23 醉依危栏听松涛 阅读(538) 评论(0) 推荐(0)
【DEBUG】不能将参数 1 从“CString”转换为“const char *”
摘要:1. 在vc6.0下用CString str;num = atoi(str);就可以顺利取到num;但是同样代码拿到vs2008就报错,error C2664: “atoi”: 不能将参数 1 从“CString”转换为“const char *”;于是把CString 强制转换为char*,num... 阅读全文
posted @ 2015-02-02 13:39 醉依危栏听松涛 阅读(677) 评论(0) 推荐(0)
Debug 集子
摘要:一、001.c: 在函数 ‘main’ 中:001.c:8: 错误:‘start’ 的存储大小未知001.c:9: 错误:‘end’ 的存储大小未知=========================#include #include 这两个头文件可以把错误与警告消除#include #include... 阅读全文
posted @ 2014-09-23 11:46 醉依危栏听松涛 阅读(1023) 评论(0) 推荐(0)
Debug : array type has incomplete element type
摘要:array type has incomplete element typeextern struct SoundReport SoundList[32]; ///// 多写了 struct typedef struct{u8 SoundContent[50];//语音播报的内容 注:以null... 阅读全文
posted @ 2014-09-12 13:58 醉依危栏听松涛 阅读(1864) 评论(0) 推荐(0)