Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
こんにちは、std::map を使用して typedef を作成したいのですが、コンパイラが次のエラーを返しています:「エラー: テンプレート引数の数が間違っています (2、4 にする必要があります)」
コード:
typedef std::map<unsigned int, float> AcumulatorHash;
あなたは完全なプログラムを提供していないので、私は私の超能力を使わなければなりません。
#include <map>私の水晶玉は、ソースコードの先頭に追加する必要があると言っています。
#include <map>