本文介绍了是否存在与Fortran兼容的ncurses或类似的库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
ncurses库(最初是用C开发的,如果内存服务的话)有一个端口,或者存在一个可以与Windows平台上的Fortran一起使用的替代品吗?
解决方案
使用2003标准C-Fortran互操作性
Does ncurses library (originally developed with C in mind, if memory serves) have a port, or does an alternative exist which works well with fortran on a Windows platform?
Or, some library (since I've always used ncurses name when referring to "that sort of interfaces) which could be used to develop semi GUI on a command line prompt?
解决方案
With 2003 standard C-Fortran interoperability
http://genepi.qimr.edu.au/staff/davidD/
http://genepi.qimr.edu.au/staff/davidD/Curses/pdcurses.f95
http://genepi.qimr.edu.au/staff/davidD/Curses/ncurses.f95
http://genepi.qimr.edu.au/staff/davidD/Curses/testcurs.f95
这篇关于是否存在与Fortran兼容的ncurses或类似的库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!