The_Sage& void main() [英] The_Sage & void main()

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

问题描述

The_Sage,我看到你已经找到了自己的双胞胎,要求学习这个课程。

comp.lang.c ++。
http:// groups .google.co.uk / groups?hl ... c71c33c& rnum = 1

如果你是那么强大的程序员,你假装是,那你为什么不

只写一些? (哦,无效主要仍然不允许C ++标准。)


看起来你试图引用标准试图假装

你是对的,我会引用标准,一劳永逸地把你所有的b
争论。


C ++标准3.6.1主要功能

第5段

main中的return语句具有离开main函数的效果

(销毁具有自动存储持续时间的任何对象)并以返回值作为参数调用exit

。如果控制到达主

的末尾而没有遇到return语句,则效果是执行

返回0;"


现在,即使像你这样的白痴也不能与这里所说的相提并论。要么已经指定了

返回值,要么主函数默认返回0。

你能告诉大家你(虚构的)infinte智慧主要是什么? >
如果返回一个值可以是void类型吗?

(哦顺便说一句,标准中的那段只有3段落下(在

相同)你所引用的内容,如果你只是学习了如何阅读

正确.....)


Kwan Ting

-

经验丰富,但收费很高。

- Heinrich Heine

解决方案

Kwan Ting写道:

[SNIP]

看起来你试图引用标准以试图假装你是是的,我会把标准引用一次,并且所有你的所有论点都会被摧毁。



[SNIP]


他甚至不知道标准是什么。我引用它,然后他挑出了一个句子,然后开始误解它。


-

WW aka Attila




" WW"写了


他甚至都不知道标准是什么。我引用它,然后他从一句话中选了
并开始误解它。

- WW aka阿提拉




啊是的,他的许多人之一知道标准是什么,而

另一个人没有...

很高兴看到有人能理解某事只有它适合

的人....:D


Kwan Ting

-

经验丰富,但收费很高。

- Heinrich Heine


2003年9月24日星期三14:53:32 +0100

" Kwan Ting" < me@here.com>写道:

The_Sage,我看到你已经让自己成为了一个双胞胎,要求学习
comp.lang.c ++。
http://groups.google.co.uk/groups?hl...c71c33c&rnum=1




ROFLMAO:)


The_Sage, I see you''ve gotten yourself a twin asking for program in
comp.lang.c++ .
http://groups.google.co.uk/groups?hl...c71c33c&rnum=1
If you the oh so mighty programmer that you pretend to be, why don''t you
just write some? (And oh, void main is still not allow by the C++ standard.)

Seeming as how you tried to quote the standard in an attempt to pretend
you''re right, I''ll quote the standard to once and for all destory all your
arguements.

C++ standard 3.6.1 Main function
Paragraph 5
"A return statement in main has the effect of leaving the main function
(destroying any objects with automatic storage duration) and calling exit
with the return value as the argument. If control reaches the end of main
without encountering a return statement, the effect is that of executing
return 0;"

Now, not even an idiot like you can argue with what it says here. Either an
return value have been specificed, or the main function return 0 by default.
Could you please tell everyone in your (imaginary) infinte wisdom how main
can be of type void if it return a value?
(Oh btw, that paragraph from the standard is only 3 paragraphs down (on the
same page) from what you quoted, if only you had learn how to read
properly.....)

Kwan Ting
--
Experience is a good school but the fees are high.
- Heinrich Heine

解决方案

Kwan Ting wrote:
[SNIP]

Seeming as how you tried to quote the standard in an attempt to
pretend you''re right, I''ll quote the standard to once and for
all destory all your arguements.


[SNIP]

He doesn''t even know what the standard is. I quoted it, then he picked out
one sentence and started to misinterpret it.

--
WW aka Attila



"WW" wrote


He doesn''t even know what the standard is. I quoted it, then he picked out one sentence and started to misinterpret it.

--
WW aka Attila



Ah yes, one of his many personailities know what the standard is, while
another doesn''t...
Nice to see how someone can understand something only if it suits the
person.... :D

Kwan Ting
--
Experience is a good school but the fees are high.
- Heinrich Heine


On Wed, 24 Sep 2003 14:53:32 +0100
"Kwan Ting" <me@here.com> wrote:

The_Sage, I see you''ve gotten yourself a twin asking for program in
comp.lang.c++ .
http://groups.google.co.uk/groups?hl...c71c33c&rnum=1



ROFLMAO :)


这篇关于The_Sage&amp; void main()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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