944,020 Members | Top Members by Rank

Ad:
  • C Discussion Thread
  • Unsolved
  • Views: 1444
  • C RSS
Nov 29th, 2005
0

Link list taking an object...

Expand Post »
Hello,

instead of using an array of objects I'm wanting to use an link list of objects. Could anyone point me in the directions?

One class is called:

Personal information...

The other is my link list. I'm stuck on how to get the link list to take an object as a type.

if code is needed I can post it up.

Thanks,
John
Similar Threads
Reputation Points: 12
Solved Threads: 5
Posting Pro
Acidburn is offline Offline
510 posts
since Dec 2004
Nov 29th, 2005
0

Re: Link list taking an object...

I suggest you to use STL's list container
SpS
Reputation Points: 70
Solved Threads: 32
Posting Pro
SpS is offline Offline
598 posts
since Aug 2005
Nov 29th, 2005
0

Re: Link list taking an object...

Could you help us through that? I've had a peek and it looks complicated
Reputation Points: 12
Solved Threads: 5
Posting Pro
Acidburn is offline Offline
510 posts
since Dec 2004
Nov 29th, 2005
0

Re: Link list taking an object...

STL makes your life easier...u need to know templates for proper understanding of STL
See This Link
http://www.cprogramming.com/tutorial/stl/stllist.html
SpS
Reputation Points: 70
Solved Threads: 32
Posting Pro
SpS is offline Offline
598 posts
since Aug 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C Forum Timeline: Recursion Search Help (URGENT!)
Next Thread in C Forum Timeline: linked lists





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC