close

在windows環境下,按鍵盤上的回車產生了2個字符:回車符('/r')和換行符('/n')。回車符'/r'(CR:carriage return:倒車)使游標回到這行的起始位置,換行符('/n')(new line)然後再換行。

但是在linux環境下,按鍵盤上的回車只產生一個字符'/n'
 

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 minsin 的頭像
    minsin

    minsin的部落格

    minsin 發表在 痞客邦 留言(0) 人氣()