在Fortran中清除屏幕 [英] clear screen in Fortran

查看:487
本文介绍了在Fortran中清除屏幕的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找相当长的时间。有谁知道如何在Fortran语言的控制台应用程序中清除屏幕?
任何帮助都将非常令人满意!

解决方案

Fortran, qua 没有什么像屏幕或键盘或计算机这样的概念。因此,没有用Fortran清除屏幕的语言标准方式。您必须找到一些依赖于平台的方法。

大多数Fortran编译器都有一些这样做的方法,例如Intel Fortran提供了SYSTEM函数。


I've been searching for a considerably long time for this. Does anyone know how to clear the screen in a console app in Fortran language? any help will be very much appretiated!

解决方案

Fortran, qua Fortran, knows nothing of such concepts as screens or keyboards or, for that matter, computers. There is, therefore, no language-standard way of clearing a screen from Fortran. You will have to find some platform-dependent approach.

Most Fortran compilers have some way of doing this, for example Intel Fortran provides the SYSTEM function.

这篇关于在Fortran中清除屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆