I'm not particularly well versed in recursion, so it's all a bit strange to me... where do I start?
Name:
Anonymous2012-05-14 14:17
Write a function like funct(point) and have it do a for loop for all of the points that are connected to that one point and each one calls the same funct(their point). Then the starting point just calls funct(point) and it loops through all of the points just like that
>>3 I'm not particularly well versed in recursion, so it's all a bit strange to me... where do I start?
Start with Google you stupid piece of shit, /prog/ isn't for CS101 questions.
OP here, all I wanted was a little help, not a debate about who's dumber....
Name:
Anonymous2012-05-14 14:53
>>8 >>10
ignore this guy, he's an illiterate russian, that has never contributed anything, he's pretty much the cancer of /prog/
Name:
Anonymous2012-05-14 14:57
>>13
I'm not a Russian you fucking moron, I just find it hilarious that you guys think recursion is a difficult concept, it's like you didn't even pass CS 101.
I don't really have to store more than 1 extra set, because it's basically just checking to see if the total distance between the points is lower than the previous total distance, and if it is it updates it on the window.