cm0002@lemmy.world to Programmer Humor@programming.dev · 7 months agoDoes this exist anywhere outside of C++?imagemessage-square58linkfedilinkarrow-up1165arrow-down122cross-posted to: programmerhumor@lemmy.ml
arrow-up1143arrow-down1imageDoes this exist anywhere outside of C++?cm0002@lemmy.world to Programmer Humor@programming.dev · 7 months agomessage-square58linkfedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareScoopta@programming.devlinkfedilinkarrow-up2·7 months 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-squarebranch@lemmy.worldlinkfedilinkarrow-up1·7 months 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
\nbut 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. :-)