Windows,Linux换行知识

换行符在写文件的时候用得上

Linux: "\n"
Windows: "\r\n"

注意:换行符一定要加上双引号,单引号是没有用的。

posted @ 2015-10-20 15:59  钱规则  阅读(186)  评论(0编辑  收藏  举报