Example 1: Write a function to reverse a string.Example Java code: public static String reverse ( String s ) { int length = s.length(), last =length ....
分类:
其他好文 时间:
2014-08-22 19:42:59
阅读次数:
236
1, In your current role, tell me about a design decision you've had to make2,Can you give me an example of a bad design decision you've made in the pa...
分类:
其他好文 时间:
2014-08-22 19:36:29
阅读次数:
158
其实只是QT菜鸟为了练习而搞出来的文件头:#include #include #include #include #include enum Encoding{ ASCII = 0, Unicode = 1, UTF32 = 2, UTF7 = 3, UTF8 = 4,...
分类:
其他好文 时间:
2014-08-22 19:25:19
阅读次数:
176
Precedence
Operator
Description
Example
Associativity
1
()
[]
->
.
::
++
--
Grouping operator
Array access
Member access from a pointer
Member access from an object
Scoping operat...
分类:
编程语言 时间:
2014-08-22 17:50:09
阅读次数:
279
在使用QIODevice::Text选项读写二进制文件时,由于经过上述转译,造成读写数据不一致。...
分类:
其他好文 时间:
2014-08-22 17:49:49
阅读次数:
294
【1】QTableWidget简介QTableWidget是QT对话框设计中常用的显示数据表格的控件。学习QTableWidget就要首先看看QTableView控件(控件也是有”家世“的!就像研究人一样一样的),因为QTableWidget继承于类QTableView。两者主要区别是QTableV...
分类:
其他好文 时间:
2014-08-22 17:36:49
阅读次数:
216
Problem 32
We shall say that an n-digit number is pandigital if it makes use of all the digits 1 to n exactly once; for example, the 5-digit
number, 15234, is 1 through 5 pandigital.
The produ...
分类:
其他好文 时间:
2014-08-22 16:23:19
阅读次数:
178
在现在,绝大多数软件都向着简洁,时尚发展。就拿有道的单词本和我做的单词本来说,绝大多数用户肯定喜欢我说做的单词本(关于颜色搭配,大家就不要在意了)。
有道的单词本:
我所做的单词本:
很明显,两者的主要区别就是周围的边框问题。你可以对比QQ以前的版本和这几年的版本,就会发现都倾向于下面这种窗口模式。下面我们就说说如何用
Qt实现无边框窗口的缩...
分类:
其他好文 时间:
2014-08-22 16:17:39
阅读次数:
308
QPixmap pix1(":/PixmapTest/Resources/Chrysanthemum.jpg"); QPixmap temp(pix1.size()); temp.fill(Qt::transparent); QPainter p1(&temp); p1.setComposition...
分类:
其他好文 时间:
2014-08-22 12:19:06
阅读次数:
651
安装DirectX,并设置环境变量DXSDK_DIR。设置环境变量MYGUI_HOME,依次编译Debug及Release模式下的Common,MyGUI.DirectXPlatform工程,并将bin及lib目录拷贝到MyGUI目录下。依次设置新工程的工作目录 $(MYGUI_HOME)\bin\...
分类:
其他好文 时间:
2014-08-22 12:14:06
阅读次数:
262