Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linked Lists in C
#10
yeah i tried using that code and it acted up wierd. i put in


5555 4000
4000 5555
10000 9999
9999 10000
1000 1000


and got
4000 - 5555 = -18445
5555 - 4000 = 1555
9999 - 10000 = 9999
10000 - 9999 = 00001
1000 - 1000 = 0000

im not terribly worried about the 0's. I need to get this part working and then focus on lesser problems

also, should note, the last one isnt returning 0. Dont know whether its returning 1 or -1, but its not 0.

mine was getting the two 10000 and 9999's right, but everything else returned the same.

yeah, its just returning -1 for everything. huh
Reply


Messages In This Thread
Linked Lists in C - by Sivrat - 2010-09-14, 02:38 PM
Linked Lists in C - by Fiel - 2010-09-14, 02:41 PM
Linked Lists in C - by Sivrat - 2010-09-14, 02:50 PM
Linked Lists in C - by Fiel - 2010-09-14, 03:00 PM
Linked Lists in C - by Stereo - 2010-09-14, 09:37 PM
Linked Lists in C - by Sivrat - 2010-09-15, 11:54 AM
Linked Lists in C - by Stereo - 2010-09-15, 03:44 PM
Linked Lists in C - by Sivrat - 2010-09-15, 05:29 PM
Linked Lists in C - by Stereo - 2010-09-15, 06:10 PM
Linked Lists in C - by Sivrat - 2010-09-15, 07:49 PM
Linked Lists in C - by Stereo - 2010-09-15, 08:10 PM
Linked Lists in C - by Sivrat - 2010-09-15, 08:17 PM
Linked Lists in C - by Stereo - 2010-09-15, 08:39 PM
Linked Lists in C - by Sivrat - 2010-09-15, 08:45 PM
Linked Lists in C - by Stereo - 2010-09-15, 08:54 PM
Linked Lists in C - by Sivrat - 2010-09-15, 09:02 PM
Linked Lists in C - by Sivrat - 2010-09-15, 10:56 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)