I have an array of strings and I want to use the elements of that array as the argument of a function, but the argument of my function should be char*
type.
How can I solve this problem?
string Arr[]={"aa.txt","bb.txt","cc.txt"};
void myfunc(char* Arr[i]);
I am programming in visual studio C++ 2010.