提交时间:2024-08-20 12:42:44
运行 ID: 168640
#include <iostream> #include <fstream> void externalResourceProblem() { std::ifstream file("nonexistentfile.txt"); if(!file) { std::cerr << "Unable to open file" << std::endl; } }