上一页 1 ··· 8 9 10 11 12 13 下一页
摘要: 1.数据类型定义在代码中为了清楚的表示一些错误和函数运行状态,我们预先定义一些变量来表示这些状态。在head.h头文件中有如下定义://定义数据结构中要用到的一些变量和类型#ifndef HEAD_H#define HEAD_H#include #include #include #define T... 阅读全文
posted @ 2013-10-11 17:46 赵侠客 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 1.数据类型定义在代码中为了清楚的表示一些错误和函数运行状态,我们预先定义一些变量来表示这些状态。在head.h头文件中有如下定义://定义数据结构中要用到的一些变量和类型#ifndef HEAD_H#define HEAD_H#include #include #include #define T... 阅读全文
posted @ 2013-10-11 16:44 赵侠客 阅读(352) 评论(0) 推荐(0) 编辑
摘要: 1.迭代器接口实现package com.zhaochao;public interface Iterator { boolean hasNext(); E next(); boolean delete(); boolean modify(E e); int ... 阅读全文
posted @ 2013-10-11 15:38 赵侠客 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 1.数据类型定义在代码中为了清楚的表示一些错误和函数运行状态,我们预先定义一些变量来表示这些状态。在head.h头文件中有如下定义://定义数据结构中要用到的一些变量和类型#ifndef HEAD_H#define HEAD_H#include #include #include #define T... 阅读全文
posted @ 2013-10-11 11:52 赵侠客 阅读(296) 评论(0) 推荐(0) 编辑
摘要: 1.迭代器实现package com.zhaochao;public interface Iterator { boolean hasNext(); E next(); boolean delete(); boolean modify(E e); int in... 阅读全文
posted @ 2013-10-10 21:16 赵侠客 阅读(256) 评论(0) 推荐(0) 编辑
摘要: 1.迭代器接口实现package com.zhaochao;public interface Iterator { boolean hasNext(); E next(); boolean delete(); boolean modify(E e); int ... 阅读全文
posted @ 2013-10-10 20:34 赵侠客 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 1.迭代器接口实现package com.zhaochao;public interface Iterator { boolean hasNext(); E next(); boolean delete(); boolean modify(E e); int ... 阅读全文
posted @ 2013-10-10 17:01 赵侠客 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 1.数据类型定义在代码中为了清楚的表示一些错误和函数运行状态,我们预先定义一些变量来表示这些状态。在head.h头文件中有如下定义://定义数据结构中要用到的一些变量和类型#ifndef HEAD_H#define HEAD_H#include #include #include #define T... 阅读全文
posted @ 2013-10-09 21:38 赵侠客 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 1.数据类型定义在代码中为了清楚的表示一些错误和函数运行状态,我们预先定义一些变量来表示这些状态。在head.h头文件中有如下定义://定义数据结构中要用到的一些变量和类型#ifndef HEAD_H#define HEAD_H#include #include #include #define T... 阅读全文
posted @ 2013-10-09 19:31 赵侠客 阅读(723) 评论(0) 推荐(0) 编辑
摘要: 本案例利用函数指针当作函数的参数,函数add(int (*pf)(int*,int),int *a,int n)可以做到传入addOne就对数组a中每个数值加1,传入addTwo就对数组a中每个数值加2,案件具体代码如下:#include //对数组每个数加1int addOne(int *a,in... 阅读全文
posted @ 2013-10-09 12:38 赵侠客 阅读(1883) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 下一页