954,499 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Link list taking an object...

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

Acidburn
Posting Pro
511 posts since Dec 2004
Reputation Points: 12
Solved Threads: 5
 

I suggest you to use STL's list container

SpS
Posting Pro
599 posts since Aug 2005
Reputation Points: 70
Solved Threads: 32
 

Could you help us through that? I've had a peek and it looks complicated

Acidburn
Posting Pro
511 posts since Dec 2004
Reputation Points: 12
Solved Threads: 5
 

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
Posting Pro
599 posts since Aug 2005
Reputation Points: 70
Solved Threads: 32
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You