Newbie Member
29Mar2012,15:17   #11
cnoobprogrammer's Avatar
Hi.
Your code is nice.
May I ask why do you use 2 for loop in this case?

Appreciate your help!
Go4Expert Founder
29Mar2012,15:44   #12
shabbir's Avatar
Quote:
Originally Posted by cnoobprogrammer View Post
Hi.
Your code is nice.
May I ask why do you use 2 for loop in this case?

Appreciate your help!
Have you tried any sorting algorithms?
Newbie Member
29Mar2012,18:29   #13
cnoobprogrammer's Avatar
Ya, I try to check if this value referenced by the pointer is greater than the value referenced by another pointer. But it doesn't work.
Newbie Member
31Mar2012,13:51   #14
cnoobprogrammer's Avatar
Hi can i check with you, the reason for having 2 loop is it because you want to compare the first node with the second node and so on?

Thank you!