I cannot find out how to get lengh of the string which is referred by (*it). sizeof((*it)) or length did not work for me. The conversion to c string failed...
1 2 3 4 5
std::vector<std::string> raw_args( argv+1, argv+argc ) ;
std::vector<std::string>::iterator it = raw_args.begin();
char * pom = (*it).c_str();
int length = sizeof(pom);