//学生结构体typedef struct student{ char name[20]; //姓名 char sex; //性别 int age; //年龄}Student;int main(int argc, const char * argv[])...
分类:
其他好文 时间:
2014-09-11 19:00:22
阅读次数:
159
参考:http://student.zjzk.cn/course_ware/data_structure/web/chazhao/chazhao9.3.1.1.htm 1 #include "stdafx.h" 2 #include 3 4 typedef int InfoType; ...
分类:
其他好文 时间:
2014-09-11 11:03:41
阅读次数:
169
转自:http://student.zjzk.cn/course_ware/data_structure/web/chazhao/chazhao9.2.1.htm顺序查找(Sequential Search) 在表的组织方式中,线性表是最简单的一种。顺序查找是...
分类:
其他好文 时间:
2014-09-10 19:30:10
阅读次数:
269
转自:http://student.zjzk.cn/course_ware/data_structure/web/chazhao/chazhao9.2.2.1.htm二分查找1、二分查找(Binary Search) 二分查找又称折半查找,它是一种效率较高的查找方法...
分类:
其他好文 时间:
2014-09-10 19:25:40
阅读次数:
305
转自:http://student.zjzk.cn/course_ware/data_structure/web/chazhao/chazhao9.1.1.htm本章简介 由于查找运算的使用频率很高,几乎在任何一个计算机系统软件和应用软件中都会涉及到,所以当问题所涉及的数据量相当大时,查找方法的效....
分类:
其他好文 时间:
2014-09-10 19:25:30
阅读次数:
201
转自:http://student.zjzk.cn/course_ware/data_structure/web/chazhao/chazhao9.2.3.htm分块查找 分块查找(Blocking Search)又称索引顺序查找。它是一种性能介于顺序查找和二分查找之间的查找方法。 1、 二分查找....
分类:
其他好文 时间:
2014-09-10 19:24:30
阅读次数:
273
青云随笔 - 2, 文章 - 0, 评论 - 1, 引用 - 0一个项目涉及到的50个Sql语句(整理版)/*标题:一个项目涉及到的50个Sql语句(整理版)说明:以下五十个语句都按照测试数据进行过测试,最好每次只单独运行一个语句。*/--1.学生表Student(S,Sname,Sage,Ssex...
分类:
数据库 时间:
2014-09-10 17:32:30
阅读次数:
401
1.sqlMap的整体理解:配置设置之后,就是建立了一个sqlMAP(ID,SQL),可以向其中输入参数,也可与返回数据。
select * from student
2.理解SQL语句中的参数书写方式
1)理解#id#的意思:
#id# 就相当与占位符,就像JDBC里面的“?”。
param...
分类:
数据库 时间:
2014-09-10 15:50:30
阅读次数:
199
一、实验环境:安装了RedHatEnterpriseLinux6.0可运行系统,并且是成功验证系统。有另外一个无特权用户student,密码student的账户存在。二、实验要求:1、使用alias创建别名2、使用PS1修改bash的提示符3、编写简单的shell小程序三、实验步骤:创建别名c:[student@localhost~]..
分类:
系统相关 时间:
2014-09-10 02:51:20
阅读次数:
369
create database mydbgouse mydbcreate table student( --学号 sno varchar(3) not null primary key, --姓名 sname varchar(4) not null, --性别 s...
分类:
数据库 时间:
2014-09-10 00:25:29
阅读次数:
309