URGENT: generic linked list

help finding example code for generic linked list

Page 1 of 1

1 Replies - 4944 Views - Last Post: 02 April 2002 - 03:39 PM Rate Topic: -----

#1 ADTcoder  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 02-April 02

URGENT: generic linked list

Posted 02 April 2002 - 02:06 AM

Please help....I have to code a generic linked list for a second year computer science assignment, and the lecturers given us no idea, is someone able to help, either send me a link to some code, or send me some. It has to be generic and in c++, ie templates... Thankyou for any replies.

(Edited by ADTcoder at 4:07 am on April 2, 2002)

Is This A Good Question/Topic? 0
  • +

Replies To: URGENT: generic linked list

#2 Null and Void  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 204
  • Joined: 29-April 01

Re: URGENT: generic linked list

Posted 02 April 2002 - 03:39 PM

How would getting prewritten code help you learn how to do it on your own? Can you write a non-generic linked list? Well, do the template one the same way, just, well, with a template type for the data instead of an explicit type.

Give it a try on your own, ask for help making any broken code work. If you don't know how to do templates, use Google.

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1