多客户端与服务器(多线程)通信,可向服务器搜索文件,服务器将(指定搜索目录)搜索结果向客服端回传,客服端可以选择是否接收以及存储目录。双方均有通信记录
上传时间: 2017-09-12
上传用户:541657925
开发环境:VS2005、C#、.net2.0、Access、AJAX引擎是自己写的,没有用到AJAX的DLL 留言可以选择头像,插入图片和表情等功能 具有脏话过滤、皮肤更换等功能 功能除了留言本的基本功能,还有我博客前面提到的AJAX的后退标签,与AJAX无刷新换肤功能,源码内 嵌在aspx页面中
上传时间: 2017-09-28
上传用户:lijianyu172
两个链表的交集 #include<stdio.h> #include<stdlib.h> typedef struct Node{ int data; struct Node *next; }Node; void initpointer(struct Node *p){ p=NULL; } int printlist(struct Node* head){ int flag=1; head=head->next; /* 因为标记1的地方你用了头结点,所以第一个数据域无效,应该从下一个头元结点开始 */ if(head==NULL) printf("NULL\n"); else { while(head!=NULL) { if(flag==1) { printf("%d",head->data); flag=0; } else { printf(" %d",head->data); } head=head->next; } printf("\n"); } return 0; } struct Node *creatlist(struct Node *head) { int n; struct Node *p1=(struct Node *)malloc(sizeof(struct Node)); p1->next=NULL; while(scanf("%d",&n),n!=-1) { struct Node *pnode=(struct Node *)malloc(sizeof(struct Node)); pnode->next=NULL; pnode->data=n; if(head==NULL) head=pnode; p1->next=pnode; p1=pnode; } return head; } struct Node *Intersect(struct Node *head1, struct Node *head2) { struct Node *p1=head1,*p2=head2;/*我这里没有用头指针和头结点,这里是首元结点head1里面就是第一个数据,一定要理解什么事头指针, 头结点,和首元结点 具体你一定要看这个博客:http://blog.sina.com.cn/s/blog_71e7e6fb0101lipz.html*/ struct Node *head,*p,*q; head = (struct Node *)malloc(sizeof(struct Node)); head->next = NULL; p = head; while( (p1!=NULL)&&(p2!=NULL) ) { if (p1->data == p2->data) { q = (struct Node *)malloc(sizeof(struct Node)); q->data = p1->data; q->next = NULL; p->next = q;//我可以认为你这里用了头结点,也就是说第一个数据域无效 **标记1** p = q; p1 = p1->next; p2 = p2->next; } else if (p1->data < p2->data) { p1 = p1->next; } else { p2 = p2->next; } } return head; } int main() { struct Node *head=NULL,*headt=NULL,*t; //initpointer(head);//这里的函数相当于head=NULL; // initpointer(headt);//上面已经写了headt=NULL那么这里可以不用调用这个函数 head=creatlist(head); headt=creatlist(headt); t=Intersect(head,headt); printlist(t); }
标签: c语言编程
上传时间: 2015-04-27
上传用户:coco2017co
1.河内之塔........................................................................................................................................ 4 2.Algorithm Gossip: 费式数列........................................................................................................ 5 3. 巴斯卡三角形.............................................................................................................................. 6 4.Algorithm Gossip: 三色棋............................................................................................................ 7 5.Algorithm Gossip: 老鼠走迷官(一)........................................................................................ 9 6.Algorithm Gossip: 老鼠走迷官(二)...................................................................................... 11 7.Algorithm Gossip: 骑士走棋盘.................................................................................................. 13 8.Algorithm Gossip: 八皇后.......................................................................................................... 16 9.Algorithm Gossip: 八枚银币...................................................................................................... 18 10.Algorithm Gossip: 生命游戏.................................................................................................... 20 11.Algorithm Gossip: 字串核对.................................................................................................... 23 12.Algorithm Gossip: 双色、三色河内塔.................................................................................... 25 13.Algorithm Gossip: 背包问题(Knapsack Problem)............................................................. 29 14.Algorithm Gossip: 蒙地卡罗法求PI...................................................................................... 34 15.Algorithm Gossip: Eratosthenes 筛选求质数............................................................................36 16.Algorithm Gossip: 超长整数运算(大数运算)....................................................................37 17.Algorithm Gossip: 长PI...........................................................................................................39 18.Algorithm Gossip: 最大公因数、最小公倍数、因式分解....................................................43 19.Algorithm Gossip: 完美数........................................................................................................ 46 20.Algorithm Gossip: 阿姆斯壮数................................................................................................ 49 21.Algorithm Gossip: 最大访客数................................................................................................ 50 22.Algorithm Gossip: 中序式转后序式(前序式)....................................................................52 23.Algorithm Gossip: 后序式的运算............................................................................................ 56 24.Algorithm Gossip: 洗扑克牌(乱数排列)............................................................................58 25.Algorithm Gossip: Craps 赌博游戏...........................................................................................60 26.Algorithm Gossip: 约瑟夫问题(Josephus Problem)...........................................................62 27.Algorithm
标签: C语言算法经典
上传时间: 2015-04-30
上传用户:cascas
檔案內為Socket建立的聊天程序的範例,內有Client與Server的溝通 程式建立於Microsoft Visual Studio 2010的範例程序
上传时间: 2015-06-17
上传用户:hehe6688
python 语言写的微型博客系统,望采纳。
标签: microblog
上传时间: 2016-06-05
上传用户:wewaa
很好用,真的很好用,不信你来试试看啊,真的,不骗人的。
上传时间: 2016-06-24
上传用户:本坏蛋4
赛灵思 FPGA 设计时序:作为赛灵思用户论坛的定期访客(见 http://forums.xilinx.com),我注意到新用 户往往对时序收敛以及如何使用时序约束 来达到时序收敛感到困惑。为帮助 FPGA 设计新手实现时序收敛,让我们来深入了 解时序约束以及如何利用时序约束实现 FPGA 设计的最优结果。
上传时间: 2016-12-14
上传用户:bigbibby
而烦恼收款方你说嘛我玩的,麻烦什么的蜂蜜水蜂蜜水里面
标签: ppt
上传时间: 2018-01-10
上传用户:ssws
该软件可免费下载 豆丁,道客巴巴等网站文档
上传时间: 2018-01-23
上传用户:beisayu