I have to open a file whose name i am constructing by concatenating various inputs from the user.
If I write:
string s = "filename.csv";
ofstream fout;
fout.open(s,ios::app);
it gives error for using s in fout.open(). It says it is a wrong form. I need to use a const char