需要def for conio.h [英] need def for conio.h

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

问题描述

嗨我想要2知道使用conio.h的特别之处

解决方案

annai说:
< blockquote class =post_quotes>
嗨我想要2知道使用conio.h的特别优惠



使用conio没有诀窍.h - 这很容易。


#include< stdio.h>


struct foo

{

int h;

};


int main(无效)

{

foo conio = {42};

printf(" conio.h =%d \ n",conio.h);

返回0;

}


-

Richard Heathfield

Usenet是一个奇怪的地方 - dmr 29/7/1999
http://www.cpax.org.uk

电子邮件:rjh在上面的域名(但显然放弃了www)


Richard Heathfield说:
< blockquote class =post_quotes>
annai说:


>嗨我想要2知道wat s使用conio.h



使用conio.h没有诀窍 - 这很容易。



....但不是那么容易,我不能弄错。请参阅下面的更正。


>

#include< stdio.h>


struct foo

{

int h;

};


int main(void)

{

foo conio = {42};



struct foo conio = {42};


printf(" conio.h =%d \ n",conio.h);

返回0;

}



-

Richard Heathfield

Usenet是一个奇怪的地方 - dmr 29/7/1999
http://www.cpax.org.uk

电子邮件:rjh在上面的域名(但显然放弃了www)




annai写道:


嗨我想要2知道wat s使用conio.h的特价



我有不知道这意味着什么。


conio.h不是标准C头;如果你问一些你没写过的名为conio.h的

标题,你需要在

新闻组中询问它讨论它所属的任何环境。 />


hi i want 2 know wat s the special for using conio.h

解决方案

annai said:

hi i want 2 know wat s the special for using conio.h

There''s no trick to using conio.h - it''s very easy.

#include <stdio.h>

struct foo
{
int h;
};

int main(void)
{
foo conio = { 42 };
printf("conio.h = %d\n", conio.h);
return 0;
}

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)


Richard Heathfield said:

annai said:

>hi i want 2 know wat s the special for using conio.h


There''s no trick to using conio.h - it''s very easy.

....but not so easy that I can''t get it wrong. See correction below.

>
#include <stdio.h>

struct foo
{
int h;
};

int main(void)
{
foo conio = { 42 };

struct foo conio = { 42 };

printf("conio.h = %d\n", conio.h);
return 0;
}

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)



annai wrote:

hi i want 2 know wat s the special for using conio.h

I have no idea what this means.

conio.h is not a Standard C header; if you are asking something about a
header called conio.h which you didnt write, you need to ask in a
newsgroup which discusses whatever environment it belongs to.


这篇关于需要def for conio.h的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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