摘要: 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 三味线、 阅读(1796) 评论(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 三味线、 阅读(531) 评论(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 三味线、 阅读(1439) 评论(0) 推荐(0) 编辑
摘要: win+R regedit HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace 阅读全文
posted @ 2016-11-29 10:27 三味线、 阅读(268) 评论(0) 推荐(0) 编辑
摘要: #include /* 加减法 整型、浮点型(损失精度) */ void swap1(int *a,int *b) { *a=*a+*b; *b=*a-*b; *a=*a-*b; } /* 异或法 整型 */ void swap2(int *a,int *b) { *a=*a^*b; *b=*a^*b; *a=*a^*b; } /* 乘除法 整型... 阅读全文
posted @ 2016-06-29 16:52 三味线、 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 屏蔽背景刷新,在View中添加对WM_ERASEBKGND的响应,直接返回TRUE: 在OnDraw函数中添加代码: 阅读全文
posted @ 2016-06-21 22:56 三味线、 阅读(708) 评论(0) 推荐(0) 编辑
摘要: int num;CString str;//int转CStringnum=10;str.Format(_T("%d"),num);//CString转intstr=L"10";num=_ttoi(str); 阅读全文
posted @ 2015-12-14 21:53 三味线、 阅读(581) 评论(0) 推荐(0) 编辑
摘要: 已知两圆圆心坐标和半径,求相交部分面积: 1 #include 2 using namespace std; 3 #include 4 #include 5 #define PI 3.141593 6 struct point//点 7 { 8 double x,y; 9 };10 str... 阅读全文
posted @ 2015-11-16 22:44 三味线、 阅读(3663) 评论(0) 推荐(0) 编辑
摘要: 创伤后应激障碍(Post Traumatic Stress Disorder,PTSD)又称延迟性心因性反应(Delayed Psychogenic Reaction),是由应激性事件或处境而引起的延迟性反应。PTSD是对异乎寻常的威胁性、灾难性事件的延迟和(或)持久的反应。应激源往往具有异常惊恐或... 阅读全文
posted @ 2015-11-16 22:41 三味线、 阅读(894) 评论(0) 推荐(0) 编辑
摘要: 联觉(Synesthesia),又译共感觉、通感或联感,一词源自古希腊语σύν(syn),"共同", 和αἴσθησις(aisthēsis),"感觉"。这是一种具有神经基础的感知状态,表示一种感官刺激或认知途径会自发且非主动地引起另一种感知或认识。具有联觉的人通常被称作联觉人(synesthete... 阅读全文
posted @ 2015-11-16 22:35 三味线、 阅读(1543) 评论(0) 推荐(0) 编辑