>>28
ありがとうございます。
ifstream ifs;
ifs.open(”hoge.txt”, ios::binary);
string str;
getline(ifs,str);
cout << str << endl;

でやってみましたが出来ませんでした…文字化けします