是否存在与Fortran兼容的ncurses或类似的库? [英] Does an ncurses or similar library exist which works well with fortran?

查看:347
本文介绍了是否存在与Fortran兼容的ncurses或类似的库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

ncurses库(最初是用C开发的,如果内存服务的话)有一个端口,或者存在一个可以与Windows平台上的Fortran一起使用的替代品吗?



<或者,某些库(因为我一直使用ncurses名称来引用这种接口),它可以用来在命令行提示符下开发半GUI?

解决方案

使用2003标准C-Fortran互操作性

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


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或类似的库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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