代替getch(),gotoxy(),delay(),clrscr() [英] Substitute for getch(), gotoxy(), delay(), clrscr()

查看:80
本文介绍了代替getch(),gotoxy(),delay(),clrscr()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一些为Turbo C编译器编写的旧程序源代码.我对其进行了更改,并希望在适用于Linux和Windows的较新的编译器中对其进行重新编译.所以请告诉我

I have some old program source code that I wrote for Turbo C compiler.I made changes to them and want to recompile them in newer compilers for Linux and Windows.So please tell me what are the BEST alternative functions to

getch(),delay()/sleep(),clrscr(),gotoxy()

getch(), delay() / sleep (), clrscr(), gotoxy()

对于C和C ++.

推荐答案

看看 ncurses 库,Unix兼容系统.

Take a look at the ncurses library, for Unix compatible systems.

这篇关于代替getch(),gotoxy(),delay(),clrscr()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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