home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky alt.msdos.programmer:2955 comp.os.ms-windows.programmer.tools:1707 comp.os.msdos.programmer:11409 comp.sys.ibm.pc.programmer:652
- Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!escargot!minyos.xx.rmit.OZ.AU!rcskb
- From: rcskb@minyos.xx.rmit.OZ.AU (Kendall Bennett)
- Newsgroups: alt.msdos.programmer,comp.os.ms-windows.programmer.tools,comp.os.msdos.programmer,comp.sys.ibm.pc.programmer,comp.windows.ms.programmer
- Subject: Re: Linked Lists...
- Date: 15 Dec 1992 12:16:02 GMT
- Organization: RMIT Computer Centre
- Lines: 27
- Message-ID: <1gkia2INN31u@escargot.xx.rmit.OZ.AU>
- References: <Bz22nn.7tp@world.std.com> <1992Dec11.080213.6552@ugle.unit.no> <11DEC199208185618@trentu.ca>
- NNTP-Posting-Host: minyos.xx.rmit.oz.au
-
- cclark@trentu.ca (J. Chris Clark) writes:
-
- >In article <1992Dec11.080213.6552@ugle.unit.no>, mariusk@solan.unit.no (Marius Kjeldahl) writes...
- >>You should look into the CLASSLIB objects. I think they've got the most
- >>usual lists, stacks, heaps and more adt covered in CLASSLIB. OWL for instance
- >>uses CLASSLIB.
-
- >Specifically, it's called the "container class library". I looked at it
- >once, considered using it, then decided that the overhead (probable run-time
- >and my learning/frustration time) wasn't worth it for a doublly-linked list
- >and I wrote the procedures in about an hour.
-
- Actually, a good implementation of linked lists as a C++ class (forget
- the whole concept of a container class library and go back to the old
- concept of an ADT), can be more efficient than a set of nice routines
- in C. Of course programmer's in C tend to write linked list code
- inline anyway, using pointer arithmetic, but a C++ class can really
- help to take the load of using lists etc.
-
- +------------------------------------------+-------------------------------+
- | Kendall Bennett | Internet: |
- | RMIT Advanced Computer Graphics Centre | kjb@citri.edu.au |
- | CITRI Building, 723 Swanston Street | rcskb@minyos.xx.rmit.oz.au |
- | Carlton Victoria 3053 AUSTRALIA. | |
- +------------------------------------------+-------------------------------+
- | CoSysop (Bossman), PC Connection Australia: +61 3 688 0909 |
- +--------------------------------------------------------------------------+
-