cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Error!
Error!
Aug 2, 2012 at 5:35pm UTC
thepanther
(4)
What is the error in this piece of code?
vector< vector<int> > mat(5,5),crtLvl(25,2),nxtLvl(25,2);
Error is : 28 expected constructor, destructor, or type conversion before '<' token
Aug 2, 2012 at 5:59pm UTC
vlad from moscow
(6539)
Maybe it is the result that you neither specified nested nema as for example
std::
vector<
std::
vector<int> > mat(5,5),crtLvl(25,2),nxtLvl(25,2);
nor the directive
using namespace std;
Last edited on
Aug 2, 2012 at 5:59pm UTC
Topic archived. No new replies allowed.