学会思考
刻意练习
上一页 1 2 3 4 5 6 7 8 9 ··· 22 下一页
摘要: #include <iostream> #include <vector> #include <map> #include <unordered_map> /* Search Insert Position Given a sorted array and a target value, retur 阅读全文
posted @ 2020-01-15 09:15 Worty 阅读(118) 评论(0) 推荐(0) 编辑
摘要: Design Linked List Design your implementation of the linked list. You can choose to use the singly linked list or the doubly linked list. A node in a 阅读全文
posted @ 2020-01-14 15:38 Worty 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 参考链接:https://coolshell.cn/articles/4119.html "一定要学会思考,思考为什么要这样,而不是那样。还要举一反三地思考。" 今天读了陈皓老师的blog,如何学好C++语言,其中谈到不仅要看大量的书,也谈到学习中要多问几个问什么?摘取一小段:多问“为什么要这样”的 阅读全文
posted @ 2020-01-06 11:01 Worty 阅读(234) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2019-12-18 19:42 Worty 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 参考资料: https://www.cnblogs.com/huluwa508/p/10319568.html https://blog.csdn.net/qq_33475105/article/details/82192916 安装包: python_dotenv-0.10.3-py2.py3-n 阅读全文
posted @ 2019-12-11 17:58 Worty 阅读(1169) 评论(0) 推荐(0) 编辑
摘要: 测试一道题: #include using namespace std; class Parent { public: Parent(){} virtual void doit(){ cout doit(); p->printOut(); p->printOut1(); return 0; } 输出结果: this is son this i... 阅读全文
posted @ 2019-12-05 16:09 Worty 阅读(1022) 评论(0) 推荐(0) 编辑
摘要: qt中如何操作word文档获取当前行数从而进行一系列操作,以下参考: //获取当前所在页数int currentPageNumber(){ QAxObject* activeWindow = m_wordDocuments->querySubObject("ActiveWindow"); QAxOb 阅读全文
posted @ 2019-11-08 15:32 Worty 阅读(1771) 评论(1) 推荐(0) 编辑
摘要: 1,.pro文件中添加: QAxWidget *pWordApplication = new QAxWidget("Word.Application", 0); QString docWord = pWordApplication->generateDocumentation(); QFile ou 阅读全文
posted @ 2019-11-06 14:10 Worty 阅读(1635) 评论(0) 推荐(0) 编辑
摘要: //#define IntOrDecimalOne "(^[0-9]*$)" //非负整数 //#define NumberAndDot "[0-9.0-9]*" //只能输入数字与小数点 阅读全文
posted @ 2019-10-31 13:12 Worty 阅读(353) 评论(0) 推荐(0) 编辑
摘要: #include <thread> #include <iostream> #include <string> using namespace std; /* 如果主线程执行完毕,就代表整个进程执行完毕了,此时 一般情况下,如果其他子线程还没有执行完毕,那么这些子线程也会被 操作系统强行终止; 所以如何想保持子线程运行状态的话,那么大家要让主线程保持执行; 例外情况下,以下介绍; */ threa 阅读全文
posted @ 2019-10-06 11:21 Worty 阅读(463) 评论(1) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 22 下一页