Parse arguments in vector, transform to char array