On 5/9/07, duongthaiha <[EMAIL PROTECTED]> wrote: > Hi > Sorry for a new bee question. > > I am trying to have a method > > void output2file(char* filename) > > but when i pass the parameter, the parameter is string. > Is there any way to change from string to char*
std::string fname ("file.txt");
output2file (fname.c_str ());
--
Tamas Marki
