Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inserting and Removing Nodes

Status
Not open for further replies.

ArcticSeraph

Programmer
Joined
Nov 19, 2003
Messages
1
Location
US
'sup guys? Just having some trouble with coding my list_tail_remove() and my node *list_insert_at(), located at the end of my implementation file.

(header file)

(implementation file)

What my main objective is to try and use list_locate() to find the address of the node before the one that is being removed. Not quite sure how to do that. And list_insert_at() is suppose to insert a new node in the list. Not quite sure how to go about to do this. :/

Any help would be great...and for those who are wondering, I haven't takened C++ in about 2 years, so please excuse me for sounding too n00bish.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top