上一页 1 ··· 8 9 10 11 12
摘要: 在这篇“Java 8新特性教程”系列文章中,我们会深入解释,并通过代码来展示,如何通过流来遍历集合,如何从集合和数组来创建流,以及怎么聚合流的值。 在之前的文章“遍历、过滤、处理集合及使用Lambda表达式增强方法”中,我已经深入解释并演示了通过lambda表达式和方法引用来遍历集合,使用predi 阅读全文
posted @ 2016-03-20 17:04 方家小白 阅读(14425) 评论(2) 推荐(1) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2016-03-20 11:39 方家小白 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 话不多说,直接上代码。如果有什么错误,直接喷! #include #include #define LEN 100#define LENINC 10int main(){ char string[LEN] ; char string1[] = {"... 阅读全文
posted @ 2016-01-09 10:50 方家小白 阅读(26) 评论(0) 推荐(0) 编辑
摘要: #include #include #include typedef struct binary_sort_Tree{ int data; struct binary_sort_Tree *left,*right;}BSTNode;BSTNode ... 阅读全文
posted @ 2015-11-16 13:59 方家小白 阅读(21) 评论(0) 推荐(0) 编辑
摘要: #include int main(){ char str_fat[] = "asdfghjkl"; char str_son[] = "jkl"; int temp = KMP_function(str_fat,str_son,0); ... 阅读全文
posted @ 2015-11-14 16:09 方家小白 阅读(25) 评论(0) 推荐(0) 编辑
摘要: #include #include #define LISTSIZE 100 #define LISTINC 10 #define LEN sizeof(SqList) typedef struct sequenceList{ int *elem;... 阅读全文
posted @ 2015-11-14 16:05 方家小白 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 根据栈的特性,FILO,很方便的就可以实现进制转换。 关于栈的一系列操作,在此不再做任何赘述。我这里只是介绍一下压栈(psuhStack),和弹栈(popStack): 1.压栈:就是把元素一个一个的压入栈中。例如:八进制的数值 12345670 进栈... 阅读全文
posted @ 2015-11-14 15:53 方家小白 阅读(33) 评论(0) 推荐(0) 编辑
摘要: /** * 编写:中医熊猫 * 时间:20150801 * 初次编写,还望指教 */ #include #include #define LEN sizeof(struct STU) int n = 0; struct STU{ ... 阅读全文
posted @ 2015-09-15 21:17 方家小白 阅读(13) 评论(0) 推荐(0) 编辑
摘要: /** * 编写:中医熊猫 * 时间:20150801 * 初次编写,还望指教 */ #include #include #define LEN sizeof(struct STU) int n = 0; struct STU{ ... 阅读全文
posted @ 2015-09-15 21:13 方家小白 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 转]C语言灵魂——指针 (2011-01-18 10:09:28) 转载▼ 标签: it 分类: C/CPP 原作者:wuliming :wuliming_sc@163.com 指针与数组1(c缺陷与陷阱3.1... 阅读全文
posted @ 2014-11-22 10:33 方家小白 阅读(16) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12