其實剩下的"C++"這串字存到cin的buffer裡. 所以當遇到cin >> charry2 ; 這串code時(循序點) ... getline() => 不會將換行字元視為輸入值加以儲存.
確定! 回上一頁