我的代码无法找到文件。我像这样使用 ifstream 但每次我收到错误消息说它找不到文件。
ifstream infile; infile.open(inputFile, ios::in | ios::binary);