以下是最近学习各种算法的代码实现:#include #include #include #include typedef int EleType;typedef int (*CompFunc)(void *,void *);int IntComp(void * a,void *b){ if(*...
分类:
其他好文 时间:
2014-07-08 00:15:54
阅读次数:
293
1 按照数据库类型,切换数据库。Database-> Change Current DBMS...2 生成sql脚本Database -> Database Generation 的Preview选项卡点击保存按钮,保存产生的sql脚本到本地。【注意】:1 本人使用的powerDesigner是15...
分类:
数据库 时间:
2014-07-08 00:15:10
阅读次数:
286
selected device is not a touchscreen I understandarm交叉编译工具中的头文件库中的linux/input.h中的EV_VERSION定义为#define EV_VERSION 0x010000而linux内核include/linux/...
分类:
其他好文 时间:
2014-07-08 00:14:34
阅读次数:
200
NVIDIA双显卡第一步:代码:sudo update-pciids #更新显卡信息非常重要,否则可能识别出错lspci -v | grep -i vga #察看显卡我的显卡信息如下:代码:00:02.0 VGA compatible controller: Intel Corporation 2n...
分类:
其他好文 时间:
2014-07-08 00:13:53
阅读次数:
319
在本例演示了JTextField,JTextArea,JPasswordField,JCheckBox(复选框按钮),JRadioButton(下拉列表框组件),JLabel等基本组件的用法。需要注意的是:若多个JRadioButton需要归为一组时,需要把这些JRadioButton使用add()...
分类:
其他好文 时间:
2014-07-08 00:13:19
阅读次数:
301
1034: [ZJOI2008]泡泡堂BNBTime Limit: 10 SecMemory Limit: 162 MBSubmit: 1305Solved: 676[Submit][Status]Description 第XXXX届NOI期间,为了加强各省选手之间的交流,组委会决定组织一场省际电子...
分类:
其他好文 时间:
2014-07-08 00:12:40
阅读次数:
295
You are climbing a stair case. It takes n steps to reach to the top.
分类:
其他好文 时间:
2014-07-08 00:12:04
阅读次数:
171
Given an absolute path for a file (Unix-style), simplify it.
分类:
其他好文 时间:
2014-07-08 00:11:24
阅读次数:
177
1.标题是什么意思?1.1什么是单元测试?单元测试,目的是为了保证代码的质量;1.2什么是解耦?解耦,目的是为了方便单元测试。当然,另一个目的是为了保持程序的扩展性。思想工具:为了同时达到单元测试与代码解耦(或者称为设计优良的OO代码),那么依赖注入的思想是必不可少的工具。之所以说是思想,从设计的角...
分类:
其他好文 时间:
2014-07-08 00:10:41
阅读次数:
278
我是在虚拟机测试的,提前准备两个虚拟机分别设置ip为:master:192.168.90.222slave:192.168.90.221master服务器配置首先修改master的数据配置文件在[mysqld]下添加如下代码:server-id = 222 #配置的是服务器的id,id不能喝别...
分类:
数据库 时间:
2014-06-29 18:34:03
阅读次数:
397