R
razael1
#include <utility>
#include <vector>
using namespace std;
vector< pair<int,int> > v;
Generates an error: ISO C++ forbids declaration of 'vector' with no
type
I'm using MinGW/Dev-C++ compiler. The file "utility" includes
"bits/stl_pair.h", which contains the class pair in the std namespace.
What's wrong?
Thanks,
CK
#include <vector>
using namespace std;
vector< pair<int,int> > v;
Generates an error: ISO C++ forbids declaration of 'vector' with no
type
I'm using MinGW/Dev-C++ compiler. The file "utility" includes
"bits/stl_pair.h", which contains the class pair in the std namespace.
What's wrong?
Thanks,
CK