摘要: 头插法逆置单向链表 1 #include 2 #include 3 4 typedef struct node{ 5 int item; 6 struct node *next; 7 }node; 8 9 void list_show(node *);10 11 //创建一个长度为10的链表12 node *creat_node_list()13 {14 node *h,*p,*l;15 int n = 10;16 h = (node *)malloc(sizeof(node));17 h->item = 10;18 h->nex... 阅读全文
posted @ 2013-06-24 18:09 net小伙 阅读(448) 评论(0) 推荐(0) 编辑
摘要: ;Configuration of http[http]doamin=www.mysite.comport=8080cgihome=/cgi-bin;Configuration of db[database]server = mysqluser = mynamepassword = toopendatabase转换为: 1 2 3 www.mysite.com 4 8080 5 /cgi-bin 6 7 8 9 10 mysql11 myname12 toopendatabase13 1 #include 2 #include 3 #include 4 #include 5... 阅读全文
posted @ 2013-06-24 01:19 net小伙 阅读(2631) 评论(0) 推荐(0) 编辑