Well the title says it all.
Umm and yes i need to convert them cause i first count the length of a string then add to the end of the string then need to convert it to a char so i can create a file with that string content.
Heres the code.
That code doesn't quite work because it does not ensure that Filename is null terminated.
I suggest looking up the str() function on string and then strcpy.