码迷,mamicode.com
首页 >  
搜索关键字:student    ( 6827个结果
C++程序设计之结构体,共用体,枚举和typedef
【1】结构体的基本功 注意结构体里面可以有很多东西,可以结构体里面包含结构体#includeusing namespace std;struct Date{ int month; int day; int year;};struct Student{ ...
分类:编程语言   时间:2014-08-01 19:24:32    阅读次数:250
struts2点滴记录
1、s:textfield 赋值方法2、驱动模型类的使用。public class StudentAction extends ActionSupport implements ModelDrivenStudent stu = newStudent();@Overridepublic Student...
分类:其他好文   时间:2014-08-01 18:52:22    阅读次数:166
HDU 1022 Train Problem I (数据结构 —— 栈)
Problem Description 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 the Ignatius Train Station is t...
分类:其他好文   时间:2014-08-01 13:40:31    阅读次数:267
自动代码复制工具
平时开发程序的时候,如果要在系统里新增一个模块,通常会复制已有的代码文件,然后再做一些修改。如果已有一个User的增删改查模块,此时要新增一个对Student的类似模块,我们就会复制User的Action/Dao/jsp页面等所有java类,然后对里面的内容进行修改。 对于上面的步骤,当再次新增其他模块时,还会再次重复执行: 1.逐个复制各个文件 2.按关键字进行替换(如上面样例中,需要将User替换为Student) 3.根据业务差异,进行修改 本工具用于自动完成上面步骤中前两个步骤,达到加快代...
分类:其他好文   时间:2014-08-01 02:24:30    阅读次数:345
Hibernate零散笔记
可以建立自己的user Library。(第二集)加入mysql的驱动mysql-connector在数据库中建立相应的内容:create database hibernate;use hibernate;create table student(id int primary key, name v...
分类:系统相关   时间:2014-07-31 16:32:56    阅读次数:395
学生表 课程表 成绩表 教师表 50个常用sql语句[转]
Student(S#,Sname,Sage,Ssex)学生表Course(C#,Cname,T#)课程表SC(S#,C#,score)成绩表Teacher(T#,Tname)教师表create tableStudent(S#varchar(20),Snamevarchar(10),Sageint,S...
分类:数据库   时间:2014-07-31 12:43:06    阅读次数:426
使用CoreData [2]
使用CoreData [2]此篇讲解CoreData处理关系型数据.1. 先创建出Student于Teacher的实体.2. 确定关系,并修改描述3. 创建对象,并查看一下关系(Teacher与Student之间是有着关联关系的哦)4. 测试代码.- (BOOL)application:(UIApp...
分类:其他好文   时间:2014-07-30 20:25:14    阅读次数:266
HDU 1718 Rank counting sort解法
本题是利用counting sort的思想去解题。 注意本题,好像利用直接排序,然后查找rank是会直接被判WA的,奇怪的判断系统。 因为分数值的范围是0到100,非常小,而student 号码又非常大,故此天然的需要利用counting sort的情况。 #include #include const int MAX_N = 101; int arr[MAX_N]; int...
分类:其他好文   时间:2014-07-30 10:06:33    阅读次数:214
db2的char类型末尾都会以空格填充
查询姓“刘”且全名为2个汉字的学生的姓名: SELECT Sname? FROM Student WHERE Sname LIKE ‘刘__‘; 为什么没有结果呀?我把两下横线改为%后有结果出来,难道在DB2里面下横线不代表任意单个字符吗? 经过试验发现...
分类:数据库   时间:2014-07-30 01:10:13    阅读次数:689
BInd绑定
用通俗的代码解决首先创建一个class类using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace WpfMvvm.ViewModels{ class student { p....
分类:其他好文   时间:2014-07-29 13:44:58    阅读次数:143
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!