Ellesd
Thanks for making me feel that young again. One should be careful on how he states his comments. However I am working for a Company as a IT and I am using a Data Structure book to learn Pseudocode Approach with C on my own.
Since I dont need the help anymore on this question , your answer was not usable for what I want .
I would like my points returned for future use.
If there is another proceedure that I must go thru please let me know.
thank you
answer unexceptable
Hope to work with you in the future.
Main Topics
Browse All Topics





by: ellesdPosted on 2003-02-20 at 19:58:33ID: 7991517
I don't make a habit out of doing people's homework, but here's the process you should follow:
make a variable to hold value and initialize to 0.
make a pointer of the same type as your list.
point it at the head of your list.
make while loop to check pointer->next != NULL
assign appropriate value:
value = (value > pointer->val) ? pointer->val : value;
increment pointer.
That should do it or at least point you in the right direction (no pun intended).