替换< conio.h>在Linux [英] Replacement for <conio.h> in Linux

查看:164
本文介绍了替换< conio.h>在Linux的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要将Windows C ++项目传输到linux,但是我目前正在使用MS < conio.h>
这不是linux或标准兼容。您建议将哪个标题替换为在Linux中使用?我更喜欢的答案是跨平台。

I need to transfer a windows C++ project to linux, however I am currently using MS <conio.h> which is not linux or standards compatible. What header do you recommend to replace it for use in Linux? I would prefer the answer is cross platform too.

推荐答案

基于NCurses的基于linux的Conio.h有一个替换版本。

There is an replacement version of Conio.h for linux based on NCurses.

http://sourceforge.net/projects/linux-conioh/

这篇关于替换&lt; conio.h&gt;在Linux的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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