
May 14th, 2003, 06:04 PM
|
 |
Banned ;)
|
|
Join Date: Nov 2001
Location: Woodland Hills, Los Angeles County, California, USA
|
|
|
Either:
filename += ".txt";
blah.open(filename.c_str(),ios::app);
or:
blah.open(string(filename + ".txt").c_str(), ios::app);
or even:
blah.open((filename + ".txt").c_str(), ios::app);
Take your pick!
|