Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Other source in ebook
  • Category : source in ebook
  • Tags :
  • Update : 2012-11-26
  • Size : 1kb
  • Downloaded :0次
  • Author :w*****
  • 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> using namespace std template<class T> class list{ private: int n int max_size T*data public: list(int max_list_size=10) ~list(){delete [] data } bool empty()const {return n==0 } int size()const {return n } int locate(const T&x)const bool retrieve(int k,T&x)const list<T> & insert(int k,const T&x) list<T> & erase(int k,T&x) void print_list(ostream& out)const } //类函数 template<class T> list<T>::list(int max_list_size) { max_size=max_list_size data=new T[max_size] n=0 } template<class T> int list<T>::locate(const T&x)const { for(int i=0 i<n i++) if(data[i]==x)return++i return 0 } template<class T> bool list<T>::retrieve(int k,T&x)const { if(k<1||k>n)return false x=data[k-1] return true } template<class T> list<T>&list<T>::insert(int k,const T&x) { if(k<0||k>n)//throw out_bounds()
Packet file list
(Preview for download)
abc.cpp.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 the largest source code store in internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.