你好,世界 [英] Hello World

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

问题描述

Hello World!

Hello World!

推荐答案

在''comp.lang.c'',< ja **** @owned.net>写道:
In ''comp.lang.c'', <ja****@citiz.net> wrote:
Hello World!
Hello World!




错误。这是


#include< stdio.h>


int main()

{

puts(Hello World!);

返回0;

}


-

-ed-在这里收到我的电子邮件: http:// marreduspam。 com / ad672570

C语言常见问题解答: http://www.eskimo.com/~scs/C-faq/top.html

C-reference: http://www.dinkumware.com/manuals/reader.aspx?lib=c99

FAQ de fclc: http://www.isty-info.uvsq.fr/~rumeau/fclc/



Wrong. It''s

#include <stdio.h>

int main ()
{
puts ("Hello World!");
return 0;
}

--
-ed- get my email here: http://marreduspam.com/ad672570
The C-language FAQ: http://www.eskimo.com/~scs/C-faq/top.html
C-reference: http://www.dinkumware.com/manuals/reader.aspx?lib=c99
FAQ de f.c.l.c : http://www.isty-info.uvsq.fr/~rumeau/fclc/


2004年5月15日星期六07:50:56 +0000,Emmanuel Delahaye写道:
On Sat, 15 May 2004 07:50:56 +0000, Emmanuel Delahaye wrote:
在''comp.lang.c'',&l吨; JA **** @ citiz.net>写道:
In ''comp.lang.c'', <ja****@citiz.net> wrote:
Hello World!
Hello World!



错了。这是

#include< stdio.h>

int main()
{
puts(Hello World!) );
返回0;
}



Wrong. It''s

#include <stdio.h>

int main ()
{
puts ("Hello World!");
return 0;
}




或者,如果你想惹恼某人:


#include< stdio.h>


int main(无效)

{

do {puts(" Hello) ,世界!); } while(1);

返回0;

}


;)


(有趣的是,不止一些编程示例似乎认为

Hello,world!program /应该/是一个无限循环。我不知道为什么。)

>
-

yvoregnevna gjragl-guerr gjb-gubhfnaq guerr ng lnubb qbg pbz

给我发电子邮件,rot13并将拼出的数字转换为数字形式。

让黑客微笑让黑客微笑。



Or, if you want to annoy someone:

#include <stdio.h>

int main(void)
{
do { puts("Hello, world!"); } while(1);
return 0;
}

;)

(Interestingly, more than a few programming examples seem to think the
Hello, world! program /should/ be an infinite loop. I have no idea why.)

--
yvoregnevna gjragl-guerr gjb-gubhfnaq guerr ng lnubb qbg pbz
To email me, rot13 and convert spelled-out numbers to numeric form.
"Makes hackers smile" makes hackers smile.


August Derleth写道:
August Derleth wrote:

.... snip ...
#include< stdio.h>

int main(void)
{puts(" Hello,world!"); } while(1);
返回0;
}
.... snip ...
#include <stdio.h>

int main(void)
{
do { puts("Hello, world!"); } while(1);
return 0;
}




由于返回永远不会执行,程序是否正确

C90如果该线被省略了?


查克,制造麻烦。


-

我是战争总统。我在椭圆形办公室做出决定

在外交政策问题上我的想法是战争。 - 布什。

丘吉尔和布什都可以被视为战时领导者,只是

,因为秘书处和埃德先生都是马匹。 - James Rhodes。



Since the return never gets executed, is the program correct under
C90 if the line is elided?

Chuck, making trouble.

--
"I''m a war president. I make decisions here in the Oval Office
in foreign policy matters with war on my mind." - Bush.
"Churchill and Bush can both be considered wartime leaders, just
as Secretariat and Mr Ed were both horses." - James Rhodes.


这篇关于你好,世界的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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