To take C-style string as an input you can simple use scanf() with '%s' format specifier or we can also use cin. It will take input until we press a space or ...
確定! 回上一頁