07 2017 档案

摘要:转自http://blog.csdn.net/taiyang1987912/article/details/38681969 阅读全文
posted @ 2017-07-14 13:51 三味线、 阅读(437) 评论(0) 推荐(0)
摘要:1.指北法 手表平放,以当地地方时的一半指向太阳(24小时制),12时所在方位为北方。 2.指南法 手表平放,以时针指向太阳,则时针与12时的平分线指向南方。 阅读全文
posted @ 2017-07-13 16:44 三味线、 阅读(2373) 评论(0) 推荐(0)
摘要:#include using namespace std; class Test { int num; public: Test() { num=10; } void print1() { cout<<num<<endl; } void print2() const { co... 阅读全文
posted @ 2017-07-13 16:10 三味线、 阅读(3181) 评论(0) 推荐(0)
摘要:1.C++中的运算符除了少数几个之外,全部可以重载,而且只能重载C++中已有的运算符。 2.重载之后运算符的优先级和结合性都不会改变。 3.运算符重载是针对新类型数据的实际需要,对原有运算符进行适当的改造。一般来说,重载的功能应当与原有功能相类似,不能改变原运算符的操作对象个数,同时至少要有一个操作 阅读全文
posted @ 2017-07-13 15:19 三味线、 阅读(184) 评论(0) 推荐(0)
摘要://重写虚函数 QRectF boundingRect() const;//预计绘制的区域 void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget /* = 0 */);//绘制 QRectF MyItem::boundingRect() const { qreal a... 阅读全文
posted @ 2017-07-13 13:32 三味线、 阅读(5761) 评论(0) 推荐(1)
摘要:MyXmlReader::MyXmlReader(QWidget *parent) : QDialog(parent) { ui.setupUi(this); connect(ui.openBtn, SIGNAL(clicked()), this, SLOT(openFile())); ui.treeWid->setColumnCount(2); ui.t... 阅读全文
posted @ 2017-07-12 14:16 三味线、 阅读(1823) 评论(0) 推荐(0)
摘要:#include <windows.h> LARGE_INTEGER m_freq,m_timeStart,m_timeNow; QueryPerformanceFrequency(&m_freq); QueryPerformanceCounter(&m_timeStart); //double t 阅读全文
posted @ 2017-07-11 15:51 三味线、 阅读(547) 评论(0) 推荐(0)
摘要:1. prepare a USB flash drive (with capacity less than or equal to 32GB)2. format it with FAT32 file system3. download the EFI Shell, Shell_Full.efi, f 阅读全文
posted @ 2017-07-05 15:03 三味线、 阅读(1872) 评论(0) 推荐(0)