path vector to character array

I have a vector named v, which is a boost/filesystem path vector, with a bunch of filenames in it.

I want to load each of them with opencv's cvLoadImage() function which expects a constant character array. However I have not found a proper syntax to convert this vector. Has anyone done this before?
Is it a vector of strings? If it is you can use the .c_str() member function to return a constant char array from the string. Also, why would you name a vector just 'v'? Do you have any idea how bad of a habit that is?
Topic archived. No new replies allowed.