Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Mathimatics-Numerical algorithms Data structs

Hashtable

  • Category : Data structs
  • Tags :
  • Update : 2012-11-26
  • Size : 1kb
  • 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
Hash table: HashTable H int s, a, n, w, i, q, t g = 1 cout < < " Enter the number of elements n: \ n" cin> > n InitList_H (H) for (i = 0 i < 16 i++) H.elem [i] = 10000 for (i = 0 i <n i++) {cout<<"输入你要输入的n个数:\n" cin> > S t = 1 H.count++ if (H.elem [s 13] == 10000) H.elem [s 13] = s else (while (H.elem [(s 13+ t ) 16]! = 10000) t++ H.elem [(s 13+ t) 16] = s )) cout < < " Enter the number you want to find: \ n" cin> > w a = SearchHash (H, w) if (a) (if (a == 200) cout < < " find success!:" < <H.elem[0]<<endl else cout<<"查找成功! :"<<H.elem[a]<<endl } else { q=InsertHash(H,w) cout<<q<<"已插入!\n" } for(i=0 i<16 i++) {cout<<H.elem[i]<<" " }//if((i+1) 11==0)cout<<endl } cout<<endl return 0 }
Packet file list
(Preview for download)
Hashtable.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.