minus-squarer00ty@kbin.lifetoProgrammer Humor@programming.dev•Does this exist anywhere outside of C++?linkfedilinkarrow-up3·13 days agoMaybe c# has similar. There’s \r\n or \n like c++ and Environment.NewLine. Probably it’s similar in that Environment.NewLine takes into account the operating system in use and I wonder if endl in c++ does the same thing? linkfedilink
minus-squarer00ty@kbin.lifetoProgrammer Humor@programming.dev•When 'Pass the Interview' = 'Cancel My Flight'linkfedilinkarrow-up7·22 days agoThis was exactly what came to mind when I read the post. linkfedilink
Maybe c# has similar. There’s \r\n or \n like c++ and Environment.NewLine.
Probably it’s similar in that Environment.NewLine takes into account the operating system in use and I wonder if endl in c++ does the same thing?