THIS IS CUSTOMED LINKED LIST CONTAINER LIBRARY FOR HUME SYSTEM
source
hList list;
D data(1,1);
list+data+data+data+D(3,3);
cout<<list<<endl;
output
[1,1] [1,1] [1,1] [3,3]
source
cout<<list<<endl;
list--;
cout<<list<<endl;
output
[1,1] [2,2] [3,3] [4,4]
[1,1] [2,2] [3,3]
source
cout<<list<<endl;
--list;
cout<<list<<endl;
output
[1,1] [2,2] [3,3] [4,4]
[2,2] [3,3] [4,4]
source
hList list;
list+D(1,1)+D(2,2)+D(3,3)+D(4,4);
for(E itr : list){
cout<<itr;
}
output
[1,1] [2,2] [3,3] [4,4]
source
hList list;
list+D(1,1)+D(2,2)+D(3,3)+D(4,4);
cout<<list.Size();
cout<<list[3];
list.Clear();
cout<<list.Size();
output
4
[4,4]
0