Cevilia (she/they/…)@lemmy.blahaj.zone to 196@lemmy.blahaj.zoneEnglish · 1 month agoBASIC rulelemmy.blahaj.zoneimagemessage-square18linkfedilinkarrow-up1213arrow-down13
arrow-up1210arrow-down1imageBASIC rulelemmy.blahaj.zoneCevilia (she/they/…)@lemmy.blahaj.zone to 196@lemmy.blahaj.zoneEnglish · 1 month agomessage-square18linkfedilink
minus-squareCevilia (she/they/…)@lemmy.blahaj.zoneOPlinkfedilinkEnglisharrow-up4·1 month agoYep, that works! Though I can’t read C so I’m just gonna assume it’s done wrong or something :P
minus-squarechaos@beehaw.orglinkfedilinkEnglisharrow-up6·1 month ago explaining the joke The top one is fairly normal, the bottom one is the same program, still in C, but redone to be as BASIC-like as possible, complete with line number labels and using goto instead of any of the normal control flow structures like while and for loops.
Yep, that works!
Though I can’t read C so I’m just gonna assume it’s done wrong or something :P
explaining the joke
The top one is fairly normal, the bottom one is the same program, still in C, but redone to be as BASIC-like as possible, complete with line number labels and using goto instead of any of the normal control flow structures like while and for loops.