I am trying to write a program that has a vector of char arrays and am have some problems.
char test [] = { \'a\', \'b\', \'c\', \'d\', \'e\' };
vector
You can use boost::array to do that:
boost::array test = {'a', 'b', 'c', 'd', 'e'};
std::vector > v;
v.push_back(test);
Edit:
Or you can use a vector of vectors as shown below:
char test[] = {'a', 'b', 'c', 'd', 'e'};
std::vector > v;
v.push_back(std::vector(test, test + sizeof(test)/ sizeof(test[0])));