[已解決][C++] cannot pass non-trivial object of type 'std::__1::string' (aka 'basic_string, allocator >') to variadic function; expected type from format string was 'char *'
Last Updated on 2021-10-22 by Clay
問題描述
在 C 語言當中,若是要印出字串型態的變數,我們經常會使用下列的語法:
Read More »[已解決][C++] cannot pass non-trivial object of type 'std::__1::string' (aka 'basic_string