entab-detab

    6熱度

    3回答

    在正常的文本編輯器,您選擇的文本塊,然後按Tab鍵向和entab移+標籤到 detab。 如何在VIM中引入或取消選定的文本塊?

    -2熱度

    1回答

    #include <stdio.h> #include <stdlib.h> #include <ctype.h> #define TAB_STOP 8 /* replaces tabs from input with the proper amount of blank spots */ int Detab() { int c, x; int column;

    0熱度

    2回答

    在成功運行entabulator之後,我的detabulator將不會選擇應該退出while循環的字符比較。將「0(製表符)8(進入)(ctrl + D)」作爲輸入後,製表符被正確寫入空格,但rp遞增後指向8,應讀取8的while循環不會退出我得到一個seg故障。這裏的代碼: #include <string.h> #include <stdio.h> #define MAXLINE 100