作者star1327p (sin30t)
看板EE_DSnP
標題[問題] 關於constructor
時間Thu Jan 24 00:53:09 2008
以下是我的code:
Editor():fileName("Untitled.txt"),tempFileName(""),
lenOfLine(0),recentLine(0),posInLine(0),
lines(0),quitOrNot(false),text[150][76]{0},
headLine[4][76]{0}
// initialization
{
printBlank(FULL_LINES);
commandMode();
}; // end constructor
compile沒過 請問哪裡出狀況
緊急!!
感謝回應
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.166.233.80
1F:→ ilway25:text[150][76]{0} 陣列好像不能這樣用... 01/24 00:57