Triangle:Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, give...
分类:
其他好文 时间:
2014-06-21 07:02:07
阅读次数:
203
Given a binary tree, return thepreordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[1,2,3].Not...
分类:
其他好文 时间:
2014-06-21 06:40:07
阅读次数:
172
最近在使用Qt(VS2010编译)的过程中,需要调用COM库,在Qt中加入了QAxContainer模块,是一个LIB库,在把编译模式从Debug改为Release 后链接报告了一堆错误-1: 错误:LNK2038: mismatch detected for '_ITERATOR_DEBUG_LE...
分类:
其他好文 时间:
2014-06-21 06:33:45
阅读次数:
489
Given a binary tree, return thepostordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[3,2,1].No...
分类:
其他好文 时间:
2014-06-21 06:31:43
阅读次数:
265
一。安装:qwt的安装很简单,可以参看它的install文档。1.解开下载下来的zip文件,比如解开到d:\qt\qwt-5.0.2目录下,修改目录下的qwtconfig.pri文件里面的安装路径,比如我准备将它安装到d:\qt\qwt目录下,则win32 {INSTALLBASE = D:/qt/...
quint64 getDiskFreeSpace(QString driver){ LPCWSTR lpcwstrDriver=(LPCWSTR)driver.utf16(); ULARGE_INTEGER liFreeBytesAvailable, liTotalBytes, liTotalFre...
分类:
其他好文 时间:
2014-06-20 23:01:02
阅读次数:
387
qt文件里的windows的宏是Q_WS_WIN32/*Thewindowsystem,mustbeoneof:(Q_WS_x)MACX-MacOSXMAC9-MacOS9QWS-QtforEmbeddedLinuxWIN32-WindowsX11-XWindowSystemS60-SymbianS...
分类:
其他好文 时间:
2014-06-20 22:54:17
阅读次数:
226
【为什么要用多线程?】传统的图形用户界面应用程序都仅仅有一个运行线程,而且一次仅仅运行一个操作。假设用户从用户界面中调用一个比較耗时的操作,当该操作正在运行时,用户界面一般会冻结而不再响应。这个问题能够用事件处理和多线程来解决。【Linux有线程的概念吗?】传统的UNIX系统也支持线程的概念,但一个...
分类:
编程语言 时间:
2014-06-20 21:18:25
阅读次数:
227
解决方式:The advices for crystal report database connection settings:1, Using ApplyLogOnInfo method instead of SetDatabaseLogon method. The code example a...
分类:
其他好文 时间:
2014-06-20 20:41:49
阅读次数:
239
Given a binary tree, return the preorder traversal of its nodes' values.For example:Given binary tree {1,#,2,3}, 1 \ 2 / 3return [1,2,3]...
分类:
其他好文 时间:
2014-06-20 19:37:40
阅读次数:
136