M
Magcialking
the following code just won't compile,
.........
vector< vector< vector<int> > >::iterator
it1=fr.begin(),it1_end=fr.end();
for(;it1!=it1_end();it1++){
.........
the message from the compliler is
"36 E:\Dev-Cpp\pp.cpp no match for call to
`(__gnu_cxx::__normal_iterator<std::vector<std::vector<int,
std::allocator<int> >, std::allocator<std::vector<int,
std::allocator<int> > > >*, std::vector<std::vector<std::vector<int,
std::allocator<int> >, std::allocator<std::vector<int,
std::allocator<int> > > >, std::allocator<std::vector<std::vector<int,
std::allocator<int> >, std::allocator<std::vector<int,
std::allocator<int> > > > > > >) ()' "
what's the problem?how to fix it?
.........
vector< vector< vector<int> > >::iterator
it1=fr.begin(),it1_end=fr.end();
for(;it1!=it1_end();it1++){
.........
the message from the compliler is
"36 E:\Dev-Cpp\pp.cpp no match for call to
`(__gnu_cxx::__normal_iterator<std::vector<std::vector<int,
std::allocator<int> >, std::allocator<std::vector<int,
std::allocator<int> > > >*, std::vector<std::vector<std::vector<int,
std::allocator<int> >, std::allocator<std::vector<int,
std::allocator<int> > > >, std::allocator<std::vector<std::vector<int,
std::allocator<int> >, std::allocator<std::vector<int,
std::allocator<int> > > > > > >) ()' "
what's the problem?how to fix it?