minus-squaremilon@lemm.eecakehexagontoProgramming@programming.dev•Why does the for loop repeat in this recursion?hexbear1·9 months agoWhy does the for loop return when it hits the end of the function? Isn't the recursive portion already completed in draw(n - 1)? The rest of it is just normal non-recursive code if I understand it correctly. linkfedilink
milon@lemm.eecake to Programming@programming.dev • 9 months agoWhy does the for loop repeat in this recursion?plus-squaremessage-squaremessage-square4 fedilinkarrow-up115
arrow-up115message-squareWhy does the for loop repeat in this recursion?plus-squaremilon@lemm.eecake to Programming@programming.dev • 9 months agomessage-square4 Commentsfedilink
milon@lemm.eecake to Programming@programming.dev • edit-210 months agoWhy does isalpha() fail to identify an alphabetic character?plus-squaremessage-squaremessage-square1 fedilinkarrow-up14
arrow-up14message-squareWhy does isalpha() fail to identify an alphabetic character?plus-squaremilon@lemm.eecake to Programming@programming.dev • edit-210 months agomessage-square1 Commentsfedilink
milon@lemm.eecake to Programming@programming.dev • 10 months agoWhy does a control path not execute in this function?plus-squaremessage-squaremessage-square5 fedilinkarrow-up17
arrow-up17message-squareWhy does a control path not execute in this function?plus-squaremilon@lemm.eecake to Programming@programming.dev • 10 months agomessage-square5 Commentsfedilink
milon@lemm.eecake to Programming@programming.dev • edit-21 year agoWhat is this format specifier?plus-squaremessage-squaremessage-square4 fedilinkarrow-up19
arrow-up19message-squareWhat is this format specifier?plus-squaremilon@lemm.eecake to Programming@programming.dev • edit-21 year agomessage-square4 Commentsfedilink
Why does the for loop return when it hits the end of the function? Isn't the recursive portion already completed in draw(n - 1)? The rest of it is just normal non-recursive code if I understand it correctly.