View Single Post
  #2 (permalink)  
Old April 11th, 2007, 11:27 AM
Geo121 Geo121 is offline
Friend of Wrox
 
Join Date: Jan 2006
Posts: 103
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via AIM to Geo121
Default

Seeing how it has been almost 13 days i would guess that you have determined that no one will do your homework for you...

This is because we are here to help not do it for you...

Given your problems I will tell you what to do since your homework is most likely late and it will only be TELLING you what to do not doing it for you please remember if you need help dont ask someone to do it for you...

try it yourself and ask us what you did wrong...

1. simple - make a function that accepts two pointers (list1, list2) now take the values and use a for loop to add the values to a new list (array)

2. even simpler - create a function that accepts one pointer (list1) and use the getLength function of the array to find the end and use a for loop to display each value until you reach 0

3. simplest - create a function that accepts one pointer (list1) use getLength to find the number of elements so you know when to stop and use a for loop to add to a variable that holds the total

There you are...

I know its late and its not the "answers" but I shoulddnt have even told you this please...

from now on, post your code

~ Geo

~ Don't take life too seriously, you'll never get out alive!
Reply With Quote