Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Windows Develop CSharp

san-lie-biao

  • Category : CSharp
  • Tags :
  • Update : 2012-11-26
  • Size : 150kb
  • Downloaded :0次
  • Author :若***
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Download1 Download2
Don't use download software fo downloading.
If download fail,Try it again for free.
Introduction - If you have any usage issues, please Google them yourself
#include <iostream> #include<string> #include <cstdlib> #include"fstream" #include <ctime> using namespace std #define TableSize 5 struct DataType { string name string sex string grade string addr int age } typedef struct Node { DataType data struct Node*next }Node ,* IP typedef IP HashTable[TableSize] int HashName(string s) { unsigned sum=0 for(int i=0 s[i]!= \0 i++) { sum=+s[i] }return sum 5 } void InitHashTable(HashTable H) { for(int i=0 i<TableSize i++) H[i]=NULL } void InsertName(HashTable &H,DataType e) { int ha=HashName(e.name) IP p=new Node p->data=e p->next=H[ha] H[ha]=p } void TraverseName(HashTable H) { for(int i=0 i<TableSize i++) { IP p=H[i] cout<<i<<":" while(p) { cout<<"名字:" cout<<p->data.nam
Packet file list
(Preview for download)
san lie biao
............\main.cpp
............\main.exe
............\main.o
............\out.txt
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.