Wish you all a good day.Currently i'm working on c++ project.I want to know how to convert string object to a character array.Also why ifstream object doesn't accept a string variable as follows,
void split(String filename)
{
ifstream ifile;
ifile.open(filename);//this fails
}