Gollum@feddit.de to Programmer Humor@programming.dev · 10 months agoI mean it could be righti.imgur.comimagemessage-square19fedilinkarrow-up1272arrow-down116
arrow-up1256arrow-down1imageI mean it could be righti.imgur.comGollum@feddit.de to Programmer Humor@programming.dev · 10 months agomessage-square19fedilink
minus-squareTootSweet@lemmy.worldlinkfedilinkEnglisharrow-up1·edit-210 months agoOh good call! What I was trying to do is more complex than I was thinking. Hmmmmm. int f = TRUE; for (int y = MIN_INT; f || y - 1 < y; y++) { f = FALSE; if (y == x + 1) { x = y; } } (I should just test my code to make sure it works, but I haven’t. Heh.) Also, Lemmy escaped your angle bracket too. Back ticks don’t seem to do the trick. Block: < Inline: < Or were you suggesting back ticks for some other purpose? (I did use back ticks in my first post in this thread.)
minus-squarexthexder@l.sw0.comlinkfedilinkarrow-up2·10 months agoThe backticks worked in the preview, and showed up correctly to start, but there must be a bug in the lemmy ui, since now it’s double-escaped. No idea /shrug
Oh good call! What I was trying to do is more complex than I was thinking.
Hmmmmm.
int f = TRUE; for (int y = MIN_INT; f || y - 1 < y; y++) { f = FALSE; if (y == x + 1) { x = y; } }
(I should just test my code to make sure it works, but I haven’t. Heh.)
Also, Lemmy escaped your angle bracket too. Back ticks don’t seem to do the trick.
Inline: <
Or were you suggesting back ticks for some other purpose? (I did use back ticks in my first post in this thread.)
The backticks worked in the preview, and showed up correctly to start, but there must be a bug in the lemmy ui, since now it’s double-escaped. No idea /shrug