#include<iostream>
#include<fstream>
using namespace std;
int main()
{
string a("hehe.txt");
ofstream aa;
aa.open(a.c_str());
aa<<"hehe"<<endl;
aa.close();
return 0;
}
I create a simple project in VS 2010 which contains only a main file as shown above. I was wondering where the "hehe.txt" is stored? I could not find it within the project.