@[email protected] to Programmer [email protected] • 3 months agoDoes this exist anywhere outside of C++?lemmy.mlimagemessage-square59fedilinkarrow-up1167cross-posted to: [email protected]
arrow-up1167imageDoes this exist anywhere outside of C++?lemmy.ml@[email protected] to Programmer [email protected] • 3 months agomessage-square59fedilinkcross-posted to: [email protected]
minus-square@[email protected]linkfedilink2•3 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-square@[email protected]linkfedilink1•3 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
\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. :-)