#include
#include
#include
using namespace std;
int main(){
string str = "AAA";
ofstream outfile("TEST.TXT");
for(int j=0; j outfile.put( str[j] );
cout << "File written\n";
return 0;
}