1、典型的Point结构体 1 struct point { 2 double x, y; 3
point(double _x = 0, double _y = 0): x(_x), y(_y) { 4 } 5 void input() { 6
sca...
分类:
其他好文 时间:
2014-05-23 03:40:15
阅读次数:
362
很多情况下,我们需要控件的背景是透明的,就是要求直接看到控件父窗口的背景颜色、背景位图,比如标签控件、单选Radio控件、复选Check控件,通常都要求在父窗口的背景上进行绘制。然而要求控件的画布透明,这个技术在GDI的文档中没有看到Microsoft作任何说明,当然还是有别的办法。其一:如果程序支...
分类:
其他好文 时间:
2014-05-23 02:55:14
阅读次数:
326
Determine whether an integer is a palindrome.
Do this without extra space.if use recursive, like check the first dig and last
dig, then remove them, c...
分类:
其他好文 时间:
2014-05-23 02:45:15
阅读次数:
230
zTree实现多选树
1、实现源码
多选树
<!--
var setting = {
check: {
enable: true,
chkStyle: "checkbox",
chkboxType: { "Y": "s", "N": "ps" }
},
data: {
simpleData:...
分类:
其他好文 时间:
2014-05-22 12:05:34
阅读次数:
245
是不是看题目觉的看不懂?其实我自己也看不懂,但是又找不到更好的词来形容。为了更好的表达我的意思,请看下。如果有一张成绩表(Points),学生(student)成绩(point)科目(subject)张三70英语张三80数学李四75语文李四85数学我想知道每个学生成绩最好的是哪一科,该怎么算??我们...
分类:
数据库 时间:
2014-05-21 20:43:22
阅读次数:
316
1、下载python3.3安装包#wget wget --no-cookie
--no-check-certificate --header "Cookie:gpw_e24=http%3A%2F%2Fwww.oracle.com%2F"
http://www.python.org/ftp/pytho...
分类:
编程语言 时间:
2014-05-21 17:23:59
阅读次数:
391
#include
#include
using namespace std;
class Point
{
public:
Point(double a,double b):x(a),y(b) {}
double getx()
{
return x;
}
double gety()
{
...
分类:
其他好文 时间:
2014-05-21 14:44:07
阅读次数:
281
#include
#include
using namespace std;
class Point
{
public:
Point(double a,double b):x(a),y(b) {}
double getx()
{
return x;
}
double gety()
{
return y;
...
分类:
其他好文 时间:
2014-05-21 10:09:26
阅读次数:
309
Catch That Cow
Problem Description
Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 ≤ N ≤ 100,000) on a number li...
分类:
其他好文 时间:
2014-05-21 07:02:40
阅读次数:
312