1 简单的可执行文件生成工程 1.1 源文件 main.cpp #include <stdio.h> int main(int argc, char *argv[]) { printf("Hello CMake!/n"); return 0; } 1 2 3 4 5 6 7 8 1 2 3 4 5 Read More
posted @ 2017-01-17 18:12 findumars Views(4423) Comments(1) Diggs(0)
支持的调试器 windows系统下主要的调试器: CDB ,只能调试用户程序,只有控制台界面,以命令行形式工作 NTSD, 只能调试用户程序,只有控制台界面,以命令行形式工作 KD,主要用于内核调试,有时候也用于用户态调试,只有控制台界面,以命令行形式工作 WinDbg,在用户态、内核态下都能够发挥 Read More
posted @ 2017-01-17 18:11 findumars Views(8141) Comments(1) Diggs(0)
In the qtcreator go to the "Projects tab" and set "Make arguments" as you like: http://stackoverflow.com/questions/8860712/setting-default-make-option Read More
posted @ 2017-01-17 17:39 findumars Views(2228) Comments(0) Diggs(0)
“在微软,我们一直在尝试回答一个最基本的问题:智能是什么。”沈向洋博士说。 这听上去不像是统治办公软件市场半壁江山的微软需要考虑的议题——并非如此。事实上,早在 1991 年比尔·盖茨就成立了微软研究院,以“支持长期的计算机科学硏究而不受产品周期所限”为目标,通过计算机视觉、语音和自然语言等技术的研 Read More
posted @ 2017-01-17 05:02 findumars Views(517) Comments(0) Diggs(0)
引入 QTimer是Qt自带的定时器类,QTimer运行时是依赖于事件循环的,简单来说,在一个不开启事件循环(未调用exec() )的线程中,QTimer是无法使用的。通过分析Qt源码可发现,调用QTimer::start()后仅仅是在系统的定时器向量表中添加了一个定时器对象,但定时器并没有真正开启 Read More
posted @ 2017-01-16 18:56 findumars Views(2467) Comments(0) Diggs(0)