Björn Tantau@swg-empire.de to Programmer Humor@programming.dev · 1 day agoPretty straight forwardswg-empire.deimagemessage-square46fedilinkarrow-up1693arrow-down112file-text
arrow-up1681arrow-down1imagePretty straight forwardswg-empire.deBjörn Tantau@swg-empire.de to Programmer Humor@programming.dev · 1 day agomessage-square46fedilinkfile-text
minus-squaresmeg@feddit.uklinkfedilinkEnglisharrow-up53arrow-down1·1 day agoFine, system("bash -c 'echo hello world'"); then!
minus-squareultrafastsloth@lemmy.worldlinkfedilinkarrow-up11·23 hours agoI decided to throw my PC in the composter and become a gardener
minus-squaresmeg@feddit.uklinkfedilinkEnglisharrow-up3·22 hours agoThat was actually the first line of C I’ve ever written so there’s no way I’m guessing the right number of escapes, but I guess I’d cheat by finding the value of each char and printing those one at a time.
Fine,
system("bash -c 'echo hello world'");
then!Now print “¯\_(ツ)_/¯” with the quotes
I decided to throw my PC in the composter and become a gardener
That was actually the first line of C I’ve ever written so there’s no way I’m guessing the right number of escapes, but I guess I’d cheat by finding the value of each char and printing those one at a time.