S
sasha
Is it possible to declare array inside vector?
class Test{
private:
vector < char[12] > node;
public:
}
Thank you.
class Test{
private:
vector < char[12] > node;
public:
}
Thank you.
Is it possible to declare array inside vector?
class Test{
private:
vector < char[12] > node;
public:
}
Is it possible to declare array inside vector?
class Test{
private:
vector < char[12] > node;
public:
}
Thank you.
Yes - that looks perfect.Wow, I never heard of boost array before, what source would you
recommend for libraries? I googled it and it seems likewww.boost.org
is the place to get it. So how would I declare the boost array inside
a vector. Does that look ok?
vector < boost::array < char,12 > > node;
I don't know if the mingw compiler works with boost, but I can'tI use mingw compiler, I guess boost templates should work with it?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.