win10 下 codeblock使用thread類需配置C++11遇到的問題

使用thread 沒配置前遇到的問題,根據提示在compiler中設置支持C++ 11 C++11打勾,下面一個是C11。 編譯出現此錯誤,線程函數問題 使用pthread定義: 使用thread直接用 void makeString便可,無需返回值。 html 使用pthread 參考 https://www.runoob.com/cplusplus/cpp-multithreading.htm
相關文章
相關標籤/搜索