為什么在devc++上用了queue容器,卻不能定義queue
uj5u.com熱心網友回復:
因為queue是屬于std命名空間的,想使用queue宣告變數要引入std命名空間(using namespace std;)或者寫 std::queue轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/283420.html
標籤:C++ 語言
上一篇:模板問題:這種情況該怎么寫??
下一篇:queue容器怎么用
