Whoops! Thanks.
But i have the prolbem wiht this
string filename = "C:\Users\Tim\Desktop\Folder\Documents\Programing\C++\New fold.txt";
ifstream myfile( filename.c_str() );
getline(myfile, firstline);
getline(myfile, secondline);
it says incomplete universal charater \u
Note: I changed the filename and it still didint work.