Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试调用现有文件,但代码返回EInOutError//File not found at line reset(f)
我确定地址名称正确且文件存在
Begin assign(f,'C:\Desktop\Source.txt'); reset(f); assign(f1,'Crypt.txt'); ReWrite(f1); saisir(cle); affiche(f); close(f); close(f1); end.
你应该尝试这些: - 使用另一个 pascal 编译器,如 Free pascal 等- 将文件名分配给字符串 - 打开“显示隐藏文件、文件夹和驱动程序”并关闭“隐藏已知类型文件的扩展名”。我曾经有这个问题,我试过这个,不知何故它对我 有用祝你好运!