Topic: I need help with linked lists.
Author: espen.holtermann@thcave.bbs.no (Espen Holtermann)
Date: 23 Apr 94 12:40:00 GMT Raw View
This is a friend writing !!
I am trying to learn c++ and oop, i have tried to implement a linked
list with objects, with certain methods. Is there anybody out there
who can furnish me with a simple example.
I thought of something like a Person object which contains a name, and a
class list which contains pointers to Person object, and methods for
printing Person objects to screen. As you understand i have not managed
to implement this yet, and i hoped that somebody could give me an
example of this which can make life a little easier for me.
(For me it is important to get the understandig of how this works, and
not a fancy solution of the problem).
Thanks in advance.
Regards Dag-Magne Hoeiseth
----
+-----------------------------------------------------------------------+
| Thunderball Cave BBS +47 2256 7018 / 2256 8809 (USR V.32bis/Terbo) |
| -- thcave.bbs.no -- Oslo Norway -- |
+-----------------------------------------------------------------------+