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.
我在写字板中输入源代码并将其保存为addition.f90,但不幸的是,Windows 提供的唯一选项是文本文件、rtf 文件等。
我正在为 Windows 使用 G95 编译器。
我建议您改用像样的文本编辑器。看看notepad++、VIM、GNU Emacs或类似的。
要在 Windows 中重命名文件,您可以使用命令提示符:
rename file.f90.rtf file.f90
或者,您可以使用 Windows 资源管理器。确保将其设置为显示文件扩展名。在工具 | 文件夹选项,取消选择“隐藏已知文件类型的扩展名”。要重命名文件,请选择它并按 F2,或者右键单击并选择重命名。
在写字板保存对话框中,在双引号中键入文件名,例如"addition.f90". 这将覆盖默认扩展名。
"addition.f90"