cm0002@lemmy.world to Programmer Humor · 21 days agoDoes this exist anywhere outside of C++?lemmy.mlexternal-linkmessage-square59linkfedilinkarrow-up1167arrow-down123cross-posted to: [email protected]
arrow-up1144arrow-down1external-linkDoes this exist anywhere outside of C++?lemmy.mlcm0002@lemmy.world to Programmer Humor · 21 days agomessage-square59linkfedilinkcross-posted to: [email protected]
minus-squareScooptalinkfedilinkarrow-up2·20 days agoThat is pretty much what it does except it doesn’t hardcode \n but instead uses the proper line ending for the platform it’s running on.
minus-squareuranibaba@lemmy.worldlinkfedilinkarrow-up1·17 days agoI haven’t worked with java for a couple of months now, currently working in Delphi, so could not remember the how else to do new line except backslash n on top of my head. :-)
That is pretty much what it does except it doesn’t hardcode
\n
but instead uses the proper line ending for the platform it’s running on.I haven’t worked with java for a couple of months now, currently working in Delphi, so could not remember the how else to do new line except backslash n on top of my head. :-)