上一页 1 ··· 5 6 7 8 9 10 11 12 下一页
摘要: 在使用Qt 4.7.3, Qt 4.7.2 ,Qt 4.7.1(mingw 4.6.2 )的时候都会有一个问题无法编译通过,即用Qt Creator 编译的时候会发生一个错误 "Cannot find entry symbol nable-stdcll-fixup; defaulting to 00401000"错误发生的位置是:Makefile.Debug , Makefile.Release 错误分析:请打开Makefile.Debug,定位到 LFLAGS = 原始定义如下: -enable-stdcall-fixup -Wl,-enable-auto-import 阅读全文
posted @ 2014-03-05 12:18 sndnvaps 阅读(764) 评论(0) 推荐(0) 编辑
摘要: //如果界面上的中文依然显示乱码,那么请将main.cpp文件中的:QTextCodec::setCodecForTr(QTextCodec::codecForLocale());//更改为:QTextCodec::setCodecForTr(QTextCodec::codecForName(“GB2312″));QString(trUtf8("↑"));QString(trUtf8("中国")); 阅读全文
posted @ 2014-02-26 20:43 sndnvaps 阅读(1269) 评论(0) 推荐(0) 编辑
摘要: C++, map , iterator ,pair(), make_pair() 阅读全文
posted @ 2013-12-22 20:36 sndnvaps 阅读(452) 评论(0) 推荐(0) 编辑
摘要: 计算机程序运行时间 阅读全文
posted @ 2013-12-20 18:43 sndnvaps 阅读(356) 评论(0) 推荐(0) 编辑
摘要: 用C++实现一个简单的HashTable 阅读全文
posted @ 2013-12-20 16:33 sndnvaps 阅读(2406) 评论(0) 推荐(0) 编辑
摘要: 编译出现这个错误的原因非常简单编译的标准不相同。如果用stdc90,这个就可以直接编译通过了。下面是代码例子:......char cmd[256] = NULL;或者 :char cmd[256] = '\0';...............如果用C写这个代码,编译是没有问题的。但是用C++写的,就会出现问题了。编译会提示:In member function '.....::.....' :..........: error: array must be initialized with a brace-enclosed initialized 解决方案有如 阅读全文
posted @ 2013-12-13 13:16 sndnvaps 阅读(25926) 评论(0) 推荐(0) 编辑
摘要: 转载,UBIFS, Android, 阅读全文
posted @ 2013-11-20 13:49 sndnvaps 阅读(969) 评论(1) 推荐(0) 编辑
摘要: C++编程规范 阅读全文
posted @ 2013-11-03 11:29 sndnvaps 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 下面提供的commit是为了让nexus 4g的内核支持ubunt touch的一些功能.链接地址如下:"UBUNTU: SAUCE: apparmor: 3.0 backport of apparmor3"http://o.cs.uvic.ca:20810/perl/cid.pl?cid=1106ae9516230849ecdb5dd56ac78a0c4b511697 阅读全文
posted @ 2013-10-25 19:44 sndnvaps 阅读(239) 评论(0) 推荐(0) 编辑
摘要: sample://part A//tmp.hpp#ifndef TEMP_HPP#define TEMP_HPPclass tmp { public: void print(); private: std::string str2;};#endif// part B//tmp.cpp#include #include "tmp.hpp"#include "test.hpp"using namespace std;void tmp::print() { str2 = " this is the tmp print ... 阅读全文
posted @ 2013-10-15 20:54 sndnvaps 阅读(2985) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 下一页