私はUbuntuの11.04でNetBeans 7.1を使用していたにもかかわらずC++は: '設定' と 'ベクトル'「宣言されていないの#include文
次の呼び出しを
set<Triangle> V;
は、エラーメッセージを表示します
error: ‘set’ was not declared in this scope
以降のお電話
vector<Triangle> ans;
は私がC++ファイルの先頭に
#include <vector>
#include <set>
#include <map>
を持つにもかかわらず、エラーメッセージ
error: ‘vector’ was not declared in this scope
これを提供します。
この問題を解決するには、これが非常に高く評価されます。
ピーター。
名前空間を使用していますか? – Dani