12ArgV::ArgV(std::vector<std::string> vs)
15 ppc =
new char*[nStrings + 1];
16 for (
int i = 0; i < nStrings; ++i) {
17 int len = vs[i].size();
18 char* pc =
new char[len + 1];
19 for (
int j = 0; j < len; ++j) {
26 char* pnull =
new char[1];
28 ppc[nStrings] = pnull;
33 for (
int i = 0; i < nStrings; ++i) {
39char** ArgV::operator()() {
return ppc; }
41int ArgV::argc() {
return nStrings; }