摘要: 百度了很多的资料都没有明白qsort 中 cmp 的用处,用Bing 一搜就搜到一篇自认为比其他都解析清楚的文章直接贴出来算了comparPointer to a function that compares two elements.This function is called repeated... 阅读全文
posted @ 2015-05-01 00:59 been 阅读(578) 评论(0) 推荐(0) 编辑
摘要: http://googless.jd-app.com/27.100.64.24227.100.64.242 2434 google.com gws27.100.64.243 3550 google.com gws27.100.64.244 2428 google.com gws27.100.64.2... 阅读全文
posted @ 2015-01-24 18:26 been 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 8 using namespace std; 9 stack instack; 10 stack mystack; 11 12 ... 阅读全文
posted @ 2015-01-24 10:07 been 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 结构体是一种新的数据类型1 struct student{2 int ID;3 char name;4 }; //声明一个结构体,student只是结构体的一个标签,在一个程序中可能有多个结构体5 struct student stu1 //用结构体来声明一个变量6 typedef struct s... 阅读全文
posted @ 2015-01-23 16:14 been 阅读(173) 评论(0) 推荐(0) 编辑
摘要: #include #include struct N{ int c; int e;}buf[1010],ans[1010];int main(){ freopen("data.in","r",stdin); freopen("d1.out","w",stdout); int x,y... 阅读全文
posted @ 2015-01-23 14:53 been 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 用一个头链表实现栈,头指针永远指向栈顶元素#include #include #include typedef int ElemenType ;typedef struct node{ ElemenType data; struct node *next;}Linkstack;Lin... 阅读全文
posted @ 2015-01-15 21:34 been 阅读(434) 评论(0) 推荐(0) 编辑
摘要: 待定 阅读全文
posted @ 2015-01-12 14:11 been 阅读(118) 评论(0) 推荐(0) 编辑
摘要: ---恢复内容开始---官方的文档https://wiki.archlinux.org/index.php/GNOME_%28%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87%29#.E5.AE.9E.E7.94.A8.E5.BF.AB.E6.8D.B7.E9.94.AEgn... 阅读全文
posted @ 2015-01-06 19:31 been 阅读(310) 评论(0) 推荐(0) 编辑
摘要: 1 package org.awt; 2 3 import java.awt.Graphics; 4 import java.applet.Applet; 5 6 7 public class test{ 8 9 float ptValue;10 11 pu... 阅读全文
posted @ 2014-11-27 15:05 been 阅读(3453) 评论(0) 推荐(0) 编辑
摘要: int main(){ freopen("in1.txt","r",stdin); freopen("out.txt","w",stdout); int i=0,j=0; int temp=0, a[200],b[200],f[400]; char s[200]; scanf("%s",s)... 阅读全文
posted @ 2014-11-21 14:59 been 阅读(145) 评论(0) 推荐(0) 编辑