Output File

Hello newbie question. I am currently learning how to program in C++ and I have the following code.


#include <iostream>
#include <fstream>
using namespace std;

void main () {
  ofstream myfile;
  myfile.open ("C:\	est.txt");
  myfile << "Hello World";
  myfile.close();
}

When I went to my C:\ Directory, I don’t see any test.txt, but if I changed the directory to D:\, the test.txt appears. However, what I really need is the test.txt to appear in the C:\ directory. Am I missing something here or has anyone also encountered the same problem?

Thank you.