這是因為const char* 沒辦法自動轉換成char*,那麼基本上是沒救了啦,不過有 ... int main(){ string str("hello world"); cout << "(before) str: ...
確定! 回上一頁