Hi.
Compilation of this program is OK :
---------------------
#include <string>
#include <fstream>
using namespace std ;
int main() {
ofstream myfile;
string FileName="Sampl e";
myfile.open((Fi leName).c_str() );
myfile.close();
}
--------------------
but this one fails :
#include <string>
#include <fstream>
using namespace...