1.在pom.xml文件中加入依赖和插件 2.在项目的classpath中(src/main/resources目录下)新增generatorConfig.xml配置文件 3.如果是在eclipse 中,选择pom.xml文件,击右键先择Run AS——>Maven Build… ——>在Goals ...
分类:
移动开发 时间:
2017-03-08 18:45:46
阅读次数:
335
1个例子: 创建表和数据库: #如果存在数据库School,则删除。否则创建数据库drop database if exists `School`;#创建数据库create database `School`;use `School`;#创建一个学校系表:系号(主键,自增),系办公地点,人数drop ...
分类:
数据库 时间:
2017-03-07 23:05:01
阅读次数:
272
局部变量:在函数中定义一个变量,只在这个函数里生效,这个函数就是这个变量的作用域。全局变量的作用域是整个程序局部变量改变全局变量。globalschool把school这个局部变量改为全局变量最好不要用,全局变量不能在函数中定义在函数内部,可以调用其他函数,如果一个函数在内..
分类:
其他好文 时间:
2017-03-03 14:01:15
阅读次数:
142
Xiaoguang Tu (涂晓光): CV: Ph.D. Candidate of School of Communication and Information Engineering, University of Electronic Science and Technology of Chi ...
分类:
其他好文 时间:
2017-03-03 12:08:35
阅读次数:
134
/* As the new term comes, the Ignatius Train Station is very busy nowadays. A lot of student want to get back to school by train(because the trains in ...
分类:
其他好文 时间:
2017-02-27 13:11:00
阅读次数:
197
Description In Berland each high school student is characterized by academic performance — integer value between 1 and 5. In high school 0xFF there ar ...
分类:
其他好文 时间:
2017-02-26 23:40:46
阅读次数:
207
题意: In Berland each high school student is characterized by academic performance — integer value between 1 and 5. In high school 0xFF there are two gr ...
分类:
其他好文 时间:
2017-02-26 20:49:01
阅读次数:
240
IEnumerable接口 公开枚举器,该枚举器支持在指定类型的集合上进行简单迭代。也就是说:实现了此接口的object,就可以直接使用foreach遍历此object; IQueryable 接口 它继承 IEnumerable 接口,而因为.net版本加入Linq和IQueryable后,使得I ...
分类:
编程语言 时间:
2017-02-22 00:11:32
阅读次数:
187
引用自豆瓣 ! 叹号 exclamation mark/bang ? 问号 question mark , 逗号 comma . 点号 dot/period/point : 冒号 colon ; 分号 semicolon ” 双引号 quotation marks/double quote ‘ 单引 ...
分类:
其他好文 时间:
2017-02-19 14:06:10
阅读次数:
209
length 设置背景图像的高度和宽度。 第一个值设置宽度,第二个值设置高度。 如果只设置一个值,则第二个值会被设置为 "auto"。 percentage 以父元素的百分比来设置背景图像的宽度和高度。 第一个值设置宽度,第二个值设置高度。 如果只设置一个值,则第二个值会被设置为 "auto"。 c ...
分类:
Web程序 时间:
2017-02-15 13:43:02
阅读次数:
159