多客戶端與服務器(多線程)通信,可向服務器搜索文件,服務器將(指定搜索目錄)搜索結果向客服端回傳,客服端可以選擇是否接收以及存儲目錄。雙方均有通信記錄
上傳時間: 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
以c++程式撰寫最佳化套裝軟體visual DOC並結合有限元
標簽: c++
上傳時間: 2015-07-15
上傳用戶:165liu
《SMT基礎與工藝》主要包括表面組裝元器件、表面組裝基板材料與SMB設計、表面組裝工藝材料、表面組裝涂敷與貼裝技術、表面組裝焊接工藝、表面組裝清洗工藝、表面組裝檢測工藝等內容。具有很高的實用參考價值,適用面較廣,編寫中強調了生產現場的技能性指導,特別是印刷、貼片、焊接、檢測等SMI關鍵工藝與關鍵設備使用維護方面的內容尤為突出。為便于理解與掌握,書中配有大量的插圖及照片。《SMT基礎與工藝》可作為高等職業院校或中等職業學校SMT專業或電子制造工藝專業的教材;也可作為各類工科學校器件設計、電路設計等與SMT相關的其他專業的輔助教材。
標簽: dffg
上傳時間: 2016-01-08
上傳用戶:975347855
python 語言寫的微型博客系統,望采納。
標簽: microblog
上傳時間: 2016-06-05
上傳用戶:wewaa
輕鬆下載影片.不避安裝 抓取網路上所有的影片
上傳時間: 2016-06-10
上傳用戶:sanon
可以開啟控制USB,搜尋USB裝置,適用於RAD XE 系列。
上傳時間: 2016-08-16
上傳用戶:squershop