本系列原理图均由Portel DXP 2004画成。
截图:
文件下载:
CTM1050.7z...
分类:
其他好文 时间:
2014-07-22 23:01:53
阅读次数:
523
Fire station
Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 1308 Accepted Submission(s): 434
Problem Description
A city's map can ...
分类:
其他好文 时间:
2014-07-22 23:01:35
阅读次数:
287
1.下载MySQL的通用二进制压缩包,并创建mysql用户及组http://pan.baidu.com/s/1kTskJKNuseraddmysql
idmysql
uid=500(mysql)gid=500(mysql)groups=500(mysql)2.创建MySQL的数据目录/mydata/data,此目录建议使用LVM实现,方便以后随时扩容和基于LVM快照对MySQL进行备份。fdisk/d..
分类:
数据库 时间:
2014-05-03 00:57:35
阅读次数:
329
异常一:Can‘tcreatehandlerinsidethreadthathasnotcalledLooper.prepare()这个异常是因为非主线程中默认没有创建对象。所以就要看看该方法所在的线程是不是主线程一看。真的不是。于是取消newThread().start();搞定。问题1:@OverridepublicvoidonClick(DialogInterfacedialog,i..
分类:
其他好文 时间:
2014-05-03 00:48:54
阅读次数:
276
【题目】
Problem E
Open Credit System
Input: Standard Input
Output: Standard Output
In an open credit system, the students can choose any course they like, but there is a problem. Some of the stude...
分类:
其他好文 时间:
2014-05-03 00:22:50
阅读次数:
380
很早之前,就听说过三层结构了。当时只知道 三层结构 是把 系统的 界面 跟 数据库操作等不相关的程序分别开来。原来这么简单的实现,确实传说中的 三层结构啊。
首先,先来看一下是哪三层。表示层(UI,User Interface),业务逻辑层(BLL BusinessLogicLayer),数据访问层(DAL Data Access Layer)。三层的划分是物理上的划分。
表示层(UI),这...
分类:
其他好文 时间:
2014-05-02 23:09:09
阅读次数:
369
29:数组中出现次数超过一半的数字 方法a. 排序取中 O(nlogn) 方法b.
partition 函数分割找中位数 >=O(n) 方法 c. 设计数变量,扫描一遍。 O(n)#include int findNumber(int
data[], unsigned length){/* if(c...
分类:
其他好文 时间:
2014-05-02 19:47:41
阅读次数:
535
一、静态化并不是单例模式
初学者可能会犯的错误, 误以为把所有的成员变量和成员方法都用 static 修饰后, 就是单例模式了:
class Singleton
{
public:
/* static method */
private:
static Singleton m_data; //static data member 在类中声明,在...
分类:
编程语言 时间:
2014-05-02 04:48:34
阅读次数:
541
总用有两个文件(frmMain.cs
SqlHelper.cs)//frmMain.cs//作者:Meusing System;using
System.Collections.Generic;using System.ComponentModel;using System.Data;using
S...
分类:
数据库 时间:
2014-05-02 00:24:24
阅读次数:
499
在C++控制台应用程序中可以控制控制台输出的字体颜色和 接受任意按键退出#ifndef
CONSOLE_UTILS_H#define CONSOLE_UTILS_H#include #include #include //default text
colors can be found in win...
分类:
编程语言 时间:
2014-05-02 00:23:19
阅读次数:
450