Hi,
Having run this,
// basic file operations
#include "stdafx.h"
#include <iostream>
#include <fstream>
using namespace std;
int main () {
ofstream myfile;
myfile.open ("c:example.txt");
myfile << "Writing this to a file.n";
myfile.close();
return 0;
}
Why don’t I see this file "c:example.txt"?
Many Thanks & Best Regards, Hua Min
View the full article




Sign In
Create Account
Back to top







