4
麻烦问一下 println 和 print\n 底层有区别吗
source link: https://www.v2ex.com/t/846160
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
9 条回复 • 2022-04-11 11:57:26 +08:00
pennai 12 小时 33 分钟前 1
啥语言啊?开源的你直接点击源代码看看就行了
neoblackcap 9 小时 12 分钟前 1
当然有区别,你自己手动输入换行符可是不会根据平台不一样换行的。
Windows 下,换行可是 CRLF(\r\n)
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK