fstream建立的对象open操作总是失败怎么办
#include <iostream>#include <fstream>using namespace std;void main(){ fstream file; file.open("d:尀尀mine.txt",ios::in||ios::trunc); if(!file) cout<<"文件打开错误"; file<<"hello c++"; file.close(); system("pause");}运行时总是返回 “文件打开错误”