CONIO.H是从Windows失踪 [英] conio.h is missing from Windows

查看:275
本文介绍了CONIO.H是从Windows失踪的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通常使用VS但在尝试首次cygwin的。我使用Windows 7,但是,编译使用gcc的Hello World程序,它说:致命的错误:CONIO.H:没有这样的文件或目录。

I usually use VS but trying cygwin for the first time. I am using windows 7 but on compiling hello world program using gcc, it says "fatal error: conio.h: no such file or directory".

我使用Windows 7,它似乎CONIO.H从我的系统缺失。有人可以告诉我怎么解决这个问题。

I am using Windows 7 and it seems conio.h is missing from my system. Can someone please tell me how to resolve this issue.

谢谢!

推荐答案

在Cygwin的不存在所谓的任何这样的头文件 CONIO.H !此外,你不需要它可能是因为它会自动保持屏幕时没有使用残培() clrscr()你必须系统(清除) Cygwin中!

In Cygwin there doesn't exist any such header file called conio.h! Also, you don't need it either because it automatically holds screen for you without using getch() and for clrscr() you do have system("clear") in Cygwin!

这篇关于CONIO.H是从Windows失踪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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