Sunday, July 26, 2009

I want to know the formula of the function append to append node in alinked list by c++?

Formula of the function? Wtf is that supposed to mean? Anywho, if you want to append an object to the linked list it will look something like this:





Create the new Node object;


Get the reference to the end of the list (which supposed to be null);


Set the end of the list to point to new Node;


No comments:

Post a Comment