gotoxy(int x,int y)函数 [英] the gotoxy(int x, int y) function

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

问题描述



互联网上是否有gotoxy功能的定义。我的

编译器没有在任何标题中定义


Albert

Hi
Are there any definitions of the gotoxy function on the internet. My
compiler doesn''t define it in any header

Albert

推荐答案

Albert写道:
Albert wrote:



互联网上是否有gotoxy功能的定义。我的

编译器没有在任何头文件中定义
Hi
Are there any definitions of the gotoxy function on the internet. My
compiler doesn''t define it in any header



您的编译器可能没有,但您可能会操作系统头。试试一个

OS特定组。


-

Ian Collins。

Your compiler may not, but you operating system headers might. Try an
OS specific group.

--
Ian Collins.

Albert< al ***************** @ gmail.comwrites:
Albert <al*****************@gmail.comwrites:

有没有定义互联网上的gotoxy功能。我的

编译器没有在任何头文件中定义它
Are there any definitions of the gotoxy function on the internet. My
compiler doesn''t define it in any header



标准C中没有这样的功能。它是'毫无疑问是某些系统特定库的一部分。事实上,很有可能在不同的库中有几个这样的函数可以做不同的事情。

$

你需要找到并安装任何提供它的库。


< OT>< conio.hheader声明了这样一个函数;大概它只有类似Windows或类似DOS的系统才会存在
。< / OT>


-

Keith汤普森(The_Other_Keith) ks***@mib.org < http://www.ghoti.net/~kst>

圣地亚哥超级计算机中心< *< http://users.sdsc.edu/~kst>

我们必须做点什么。这是事情。因此,我们必须这样做。

- Antony Jay和Jonathan Lynn,是部长

There''s no such function in standard C. It''s undoubtedly part of some
system-specific library. In fact, it''s very likely that there are
several such functions in different libraries that do different
things.

You''ll need to find and install whatever library provides it.

<OT>The <conio.hheader declares such a function; presumably it
exists only on Windows-like or DOS-like systems.</OT>

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"


Albert< al * ****************@gmail.com写:
Albert <al*****************@gmail.comwrites:

互联网上是否有gotoxy功能的定义。我的

编译器没有在任何头文件中定义
Are there any definitions of the gotoxy function on the internet. My
compiler doesn''t define it in any header



gotoxy不是标准的C库函数,所以很多C

实现没有附带它。另外,请参阅C FAQ:


10.11:我似乎错过了系统头文件< sgtty.h> ;.

有人可以寄给我一个复制?


答:标准标题部分存在,以便您的编译器,操作系统和处理器的定义合适

可以是

提供。你不能只拿起别人的

头文件的副本并期望它能够正常工作,除非那个人使用

完全相同的环境。询问您的编译器供应商为什么没有提供

文件(或发送替换副本)。


-

" ;大量的资金倾向于解除我可能遇到的任何顾忌。

- Stephan Wilms

gotoxy is not a standard C library function, so many C
implementations do not come with it. Also, see the C FAQ:

10.11: I seem to be missing the system header file <sgtty.h>.
Can someone send me a copy?

A: Standard headers exist in part so that definitions appropriate
to your compiler, operating system, and processor can be
supplied. You cannot just pick up a copy of someone else''s
header file and expect it to work, unless that person is using
exactly the same environment. Ask your compiler vendor why the
file was not provided (or to send a replacement copy).

--
"Large amounts of money tend to quench any scruples I might be having."
-- Stephan Wilms


这篇关于gotoxy(int x,int y)函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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