CString contents;
ifstream in("E:\1234.txt");
string filename;
string line;
int i = 0;
if (in)
{
while (getline (in,line))
{
CString temp;
temp.Format("%s",line.c_str());
cout << temp << endl;
}
}else
{
in.close();
return ;
}
in.close();
return ;