在C++裡,可以用char[ ] 或string 儲存字串 ... cout 時,C++也會逐一輸出 char[] 裡的字元,直到碰到 '\0' 為止. cout << name; ... [輸入說明]. 一串字和一個整數n, ...
確定! 回上一頁