Palindromes
A regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string "ABCDEDCBA" is a palindrome because it is the same when t...
分类:
其他好文 时间:
2014-08-09 21:36:09
阅读次数:
344
??
配置QT的环境变量,这台电脑à属性à高级系统设置à高级à环境变量à系统变量àpathàC:\Qt\Qt5.3.0\5.3\mingw482_32\bin;C:\Qt\Qt5.3.0\Tools\QtCreator\bin
创建一个QT项目:winAndLinuxMyUdpProject项目
修改QT的项目文件,修改winAndLinuxMyUdpProj...
示例代码:mainwindow.cpp#include "mainwindow.h"#include "ui_mainwindow.h"#include MainWindow::MainWindow(QWidget *parent) :QMainWindow(parent), ui(new U...
分类:
其他好文 时间:
2014-08-09 21:23:49
阅读次数:
370
学习Qt,当然是QT4好。可是装了4.86以后,网上下载的书中的例子大多无法直接用VS执行(个人不喜欢用QT Creator),即打开pro转换的时候出错(我也懒的研究为什么出错了)。看了一下发布时间,觉得4.53时间比较合适,是2009年末发布的。也许能运行书上的例子。因为很懒,所以不想编译QT源...
分类:
其他好文 时间:
2014-08-09 21:16:49
阅读次数:
191
package com.example.wireframe;import android.content.Context;import android.graphics.Canvas;import android.graphics.Paint;import android.graphics.Pain...
分类:
其他好文 时间:
2014-08-09 21:02:29
阅读次数:
233
准备:1.Qt源码包qt-everywhere-opensource-src-4.7.0.tar.gz2.交叉编译器arm-eabi-4.4.0.tar.bz23.触摸屏校验工具:tslib-1.4.tar.gz4.开发板omap编译安装:1.首先安装交叉编译器arm-eabi-4.4.0.tar....
分类:
其他好文 时间:
2014-08-09 18:34:18
阅读次数:
325
enum Speed{ STOP, SLOW, NORMAL, FAST}Speed s = Speed.SLOW;switch(s) { case SLOW: break; }参考文献: Java Quick Syntax Reference by Mikael Olsson
分类:
编程语言 时间:
2014-08-09 04:53:16
阅读次数:
295
class B {}class A {}--------------------------class C {}interface I {}-----------------------class D {}class E {}参考文献: Java Quick Syntax Reference by ...
分类:
编程语言 时间:
2014-08-09 04:52:17
阅读次数:
253
During normal app use, the foreground activity is sometimes obstructed by other visual components that cause the activity to pause. For example, when a semi-transparent activity opens (such as one in the style of a dialog), the previous activity pauses. As...
分类:
移动开发 时间:
2014-08-09 02:36:37
阅读次数:
366
Binary Tree Postorder TraversalGiven a binary tree, return thepostordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \...
分类:
其他好文 时间:
2014-08-08 23:58:26
阅读次数:
485