阅读背景:

如何阅读回车(即'\r')来自windows .txt文件

来源:互联网 

I know the difference between \n and \r\n. I also know that in Windows when you try read from a text file, the \r\n will be transferred into \n in your code. But what if I just want to keep the \r\n in my code for some other usage. What should I do to keep them both when read from a text file in Windows?I know the difference between \n and \r\n. I al




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: