Use cin.get() to read a string based on char array : char array « Data Types « C++ Tutorial.
確定! 回上一頁