摘要: typedef struct Point{ double x,y; bool operator<(const Point &other) const { return x<other.x; }}; 阅读全文
posted @ 2014-05-11 22:05 剑风云 阅读(412) 评论(0) 推荐(0) 编辑
摘要: MyBatisUtil.javaUserMapper.javapackage edu.hhxy.btais.util;import java.io.IOException;import java.io.InputStream;import org.apache.ibatis.io.Resources... 阅读全文
posted @ 2014-05-11 18:27 剑风云 阅读(377) 评论(0) 推荐(0) 编辑
摘要: 数据库脚本(注意测试时先add-->load-->update-->delete-->list)UserMapper版-- ---------------------------------------------------------- 主机: ... 阅读全文
posted @ 2014-05-11 18:16 剑风云 阅读(447) 评论(0) 推荐(0) 编辑
摘要: (mybatis注意各个文件的映射问题)用到的t_user数据库脚本:-- 导出 mybatis 的数据库结构CREATE DATABASE IF NOT EXISTS `mybatis` /*!40100 DEFAULT CHARACTER SET utf8 */;USE `mybatis`;--... 阅读全文
posted @ 2014-05-11 17:49 剑风云 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 首先创建表:建表Sql文件-- 导出 mybatis 的数据库结构CREATE DATABASE IF NOT EXISTS `mybatis` /*!40100 DEFAULT CHARACTER SET utf8 */;USE `mybatis`;-- 导出 表 mybatis.t_user ... 阅读全文
posted @ 2014-05-11 13:03 剑风云 阅读(340) 评论(0) 推荐(0) 编辑
摘要: 5高阶基本技术(Tricky Basics)本章涵盖实际编程之中层次较高的一些 template基本知识,包括关键词 typename的另一种用途、将member functio(n 成员函数)和 nested clas(s 嵌套类别)定为templates、奇特的 template templat... 阅读全文
posted @ 2014-05-11 10:01 剑风云 阅读(306) 评论(0) 推荐(0) 编辑