int main(int argc, char *argv[]) { std::ifstream file; //1 // ... file.open(argv[1]); //2 if (!file) // error: unable to open file for input.
確定! 回上一頁