What is the difference between '/n' and '/r/n'? /n /r/n的区别是什么
来源:互联网 发布:dnf一键基址源码 编辑:程序博客网 时间:2024/04/27 13:23
原帖来自http://www.codeguru.com/forum/showthread.php?t=253826
背景
There are a few characters which can indicate a new line. The usual ones are these two:
这里有几种表示新行开始的符号
- '/n' or '0x0A' (10 in decimal) -> This character is called "Line Feed" (LF).
- '/r' or '0x0D' (13 in decimal) -> This one is called "Carriage return" (CR).
不同的操作系统处理的新行字符是不一样
- 在Dos和Windows下
新行是按照 /r/n 这样的顺序组合起来的 - 在Unix和Linux 下
使用'/n'来作为新行的起始 - 在Mac平台下
Macs 用单个的'/r'来作为新行的起始
- What is the difference between '/n' and '/r/n'? /n /r/n的区别是什么
- C++ String: What is the difference between '\n' and '\r\n'?
- What is the difference between OCCURS n and INITIAL SIZE n?
- \r\n \n 区别
- \r,\n,\r\n的区别
- \r,\n,\r\n的区别
- \r,\n,\r\n的区别
- \r,\n,\r\n的区别
- \r \n \r\n的区别
- '\n' , '\r' , '\n\r' 的区别?
- \r,\n,\r\n的区别
- \r,\n,\r\n的区别
- \r,\n,\r\n的区别
- \r\n和\n\r的区别?
- \r,\n,\r\n的区别
- \r,\n,\r\n的区别
- \r,\n,\r\n的区别
- \r \n \r\n的区别
- c++ dlopen应用
- wamp win2003 drupal配置apache下url地址重写
- 真想给自己放个假了...
- 妖精为什么吃不到唐僧肉
- jquery表格插件datatables应用实例
- What is the difference between '/n' and '/r/n'? /n /r/n的区别是什么
- (转)将 MFC 应用程序移植到 Linux
- 判断远端操作系统
- 地面目视气象要素观测试行办法
- ArrayList.class 阅读随笔
- 《GOF设计模式》—解释器 (INTERPRETER)—Delphi源码示例:解释器接口
- 《GOF设计模式》—解释器 (INTERPRETER)—Delphi源码示例:使用Flyweight模式共享终结符
- jquery 实现ajax
- QT Linguist用法(国际化)