我需要擴展輸入行中的製表符,以便它們是空格(寬度爲8列)。我用前面的代碼嘗試過,我用'\ n'替換了大於10個字符的每一行中的最後一個空格來創建一個新行。 C中有一種方法可以製作8個空格以擴展它們嗎?我的意思是我確信它很簡單,我似乎無法得到它。 這裏是我的代碼: int v = 0;
int w = 0;
int tab;
extern char line[];
while (v < l
我有這樣的代碼:
this.searchInput.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.inputKeypress);
private void Keypress(object sender, KeyPressEventArgs e)
{
// If Tab has been presse