Author |
Message
Pages: 1
|
Admin Site Admin ![]() (send private message) Posts: 932 Topics: 54 Location: OverHertz Studio | [70] Sample: Pointer LinkedList Class - posted: 2011-09-20 01:51:27 Hello, I've just put a sample class together which can be used to store pointers or numbers, well whatever you like really, it is not efficient, it is merely a sample. Code:
this is the class and related block, which you can place in a file such as ptrList.zir (i may place this in classes.zir and add to release, i will gradually optimise it or someone else can). Things that can be done: 1. Better memory usage, such as growing the list in quants. 2. Counter variable, keeping track of added item count. 3. More useful functions ![]() a quick sample of using the class: Code:
Post your thoughts. ![]() Download Ziron Get free hosting for Ziron related fan-sites and Ziron projects, contact me in private message. |
Currently Active Users: There are currently 1 user(s) online. 0 member(s) and 1 guest(s) Most users ever online was 1046, January 28, 2022, 2:08 pm. Statistics: Threads: 224 | Posts: 1847 | Members: 50 | Active Members: 50 Welcome to our newest member, NobodyAtWork |