scanf(" %s",c) reads all characters up till the next whitespace into the array char c[size] ; this can be converted to a C++ string as s =(string)c.
確定! 回上一頁