 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Kwan Ting Guest
|
Posted: Wed Sep 24, 2003 1:53 pm Post subject: The_Sage & void main() |
|
|
The_Sage, I see you've gotten yourself a twin asking for program in
comp.lang.c++ .
http://groups.google.co.uk/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&th=45cd1b289c71c33c&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
|
|
| Back to top |
|
 |
WW Guest
|
Posted: Wed Sep 24, 2003 2:26 pm Post subject: Re: The_Sage & void main() |
|
|
Kwan Ting wrote:
[SNIP]
| Quote: | 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
|
|
| Back to top |
|
 |
Keroppi Guest
|
Posted: Wed Sep 24, 2003 2:42 pm Post subject: Re: The_Sage & void main() |
|
|
"WW" wrote
| Quote: |
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
|
|
| Back to top |
|
 |
WW Guest
|
Posted: Wed Sep 24, 2003 5:09 pm Post subject: Re: The_Sage & void main() |
|
|
Johannes Kroll wrote:
Do you like it? I wrote it. Really. (Me proud )
--
WW aka Attila
|
|
| Back to top |
|
 |
Johannes Kroll Guest
|
Posted: Wed Sep 24, 2003 5:12 pm Post subject: Re: The_Sage & void main() |
|
|
On Wed, 24 Sep 2003 14:53:32 +0100
"Kwan Ting" <me (AT) here (DOT) com> wrote:
ROFLMAO :)
|
|
| Back to top |
|
 |
Johannes Kroll Guest
|
Posted: Wed Sep 24, 2003 5:25 pm Post subject: Re: The_Sage & void main() |
|
|
On Wed, 24 Sep 2003 20:09:02 +0300
"WW" <wolof (AT) freemail (DOT) hu> wrote:
Even better than the real thing. Almost - no one beats The Sage. :)
|
|
| Back to top |
|
 |
Kwan Ting Guest
|
Posted: Wed Sep 24, 2003 11:31 pm Post subject: Re: The_Sage & void main() |
|
|
"WW" <wolof (AT) freemail (DOT) hu> wrote
I'm proud of you WW
--
Experience is a good school but the fees are high.
- Heinrich Heine
|
|
| Back to top |
|
 |
Randall Hyde Guest
|
Posted: Thu Sep 25, 2003 2:50 am Post subject: Re: The_Sage & void main() |
|
|
"WW" <wolof (AT) freemail (DOT) hu> wrote
| Quote: | 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.
|
That's okay, I can beat that.
I posted some assembly code with some "almost equivalent" C code
in the comments and he accused me of posting C code, not assembly :-)
I'm sure, however, that he'll claim he ran my assembly code through
the Borland, Microsoft, and IBM compilers and all three accepted
the code just fine
Cheers,
Randy Hyde
|
|
| Back to top |
|
 |
The_Sage Guest
|
Posted: Thu Sep 25, 2003 5:56 am Post subject: Re: The_Sage & void main() |
|
|
| Quote: | Reply to article by: "Kwan Ting"
Date written: Wed, 24 Sep 2003 14:53:32 +0100
MsgID:
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.)
|
I have, now it is your turn.
| Quote: | Seeming as how you tried to quote the standard
|
I didn't try, I actually did quote the standard.
| Quote: | in an attempt to pretend
you're right, I'll quote the standard to once and for all destory all your
arguements.
|
Oh, I'm so scared...
| Quote: | 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;"
|
Nothing there says anything about not being able to use void main() and you
haven't offered any explainantion why they would want to contradict themselves
by stating earlier that "other implementations" of main() were allowed. In
addition to that, you also have not offered any explanation of why would IBM,
MS, and Borland agree with my interpretation and not yours? Once again, you are
just another example of an illiterate asshole who doesn't have a clue. You are
going to need more than your big mouth and your little brain if you want to
offer an intelligent argument that will stand up to the facts. Now go away with
your tail tucked between your legs, and don't come back until you get a clue.
The Sage
=============================================================
My Home Page : http://members.cox.net/the.sage
"The men that American people admire most extravagantly are
most daring liars; the men they detest the most violently are
those who try to tell them the truth" -- H. L. Mencken
=============================================================
|
|
| Back to top |
|
 |
Attila Feher Guest
|
Posted: Thu Sep 25, 2003 8:27 am Post subject: Re: The_Sage & void main() |
|
|
The_Sage wrote:
| Quote: | Reply to article by: "Kwan Ting"
Date written: Wed, 24 Sep 2003 14:53:32 +0100
MsgID:
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.)
I have, now it is your turn.
|
You did not. Now it is your turn.
| Quote: | Seeming as how you tried to quote the standard
I didn't try, I actually did quote the standard.
|
Now. I did. You then copied it from my post, carefully leaving out those
parts, which you did not understand so you could not try to turn them inside
out to make them to look to support your braindead ideas. Like the part
which says that the return value of main is passed to the exit function
(taking an int argument).
| Quote: | in an attempt to pretend
you're right, I'll quote the standard to once and for all destory
all your arguements.
Oh, I'm so scared...
|
No. You are not. You don't have the brains for it.
| Quote: | 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;"
Nothing there says anything about not being able to use void main()
|
Except that a void main cannot return 0.
| Quote: | and you haven't offered any explainantion why they would want to
contradict themselves by stating earlier that "other implementations"
of main() were allowed.
|
Because they also did state there that all of those "other implementations"
*must* have an int return value.
| Quote: | In addition to that, you also have not
offered any explanation of why would IBM, MS, and Borland agree with
my interpretation and not yours?
|
None of them does. The C++ liaison of Microsoft just have told you, that
accepting void main is a non-standard, standards conforming extension in
their compilers.
| Quote: | Once again, you are just another
example of an illiterate asshole
|
One more sentence like this and I will make your NSP cut you off the
internet. I promise. Believe me I know the way.
| Quote: | who doesn't have a clue.
|
Ah. Are you talking about yourself?
| Quote: | You are
going to need more than your big mouth and your little brain if you
want to offer an intelligent argument that will stand up to the
facts. Now go away with your tail tucked between your legs, and don't
come back until you get a clue.
|
You need urgent medical attention. The Sage. If you want war you will get
war. If you don't stop your nonsense here and you keep calling names I
will, I repeat, I will get your service provider get you off the internet.
--
Attila aka WW
|
|
| Back to top |
|
 |
Karl Heinz Buchegger Guest
|
Posted: Thu Sep 25, 2003 11:55 am Post subject: Re: The_Sage & void main() |
|
|
The_Sage wrote:
| Quote: |
offer an intelligent argument that will stand up to the facts. Now go away with
your tail tucked between your legs, and don't come back until you get a clue.
|
You are not in the position to tell anybody to 'go away'.
At least not in comp.lang.c++
But keep up the good work. I appriciate the way you
make a fool out of yourself.
--
Karl Heinz Buchegger
[email]kbuchegg (AT) gascad (DOT) at[/email]
|
|
| Back to top |
|
 |
Noah Roberts Guest
|
Posted: Thu Sep 25, 2003 3:23 pm Post subject: Re: The_Sage & void main() |
|
|
Attila Feher wrote:
| Quote: | The_Sage wrote:
Reply to article by: "Kwan Ting"
Date written: Wed, 24 Sep 2003 14:53:32 +0100
MsgID:
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.)
I have, now it is your turn.
You did not.
|
| Quote: | Seeming as how you tried to quote the standard
I didn't try, I actually did quote the standard.
Now. I did.
Oh, I'm so scared...
No. You are not.
Once again, you are just another
example of an illiterate asshole
One more sentence like this and I will make your NSP cut you off the
internet. I promise. Believe me I know the way.
who doesn't have a clue.
Ah. Are you talking about yourself?
Now go away with your tail tucked between your legs, and don't
come back until you get a clue.
You need urgent medical attention. The Sage. If you want war you will get
war. If you don't stop your nonsense here and you keep calling names I
will, I repeat, I will get your service provider get you off the internet.
|
I don't think I could add anything to a thread that has reached such an
epitome of human intelegence. I don't think I have the kind of maturity
level necissary.
NR
|
|
| Back to top |
|
 |
WW Guest
|
Posted: Thu Sep 25, 2003 7:16 pm Post subject: Re: The_Sage & void main() |
|
|
Noah Roberts wrote:
| Quote: | You need urgent medical attention. The Sage. If you want war you
will get war. If you don't stop your nonsense here and you keep
calling names I will, I repeat, I will get your service provider get
you off the internet.
I don't think I could add anything to a thread that has reached such
an epitome of human intelegence. I don't think I have the kind of
maturity level necissary.
|
Hey! Don't destroy my game!
--
WW aka Attila
|
|
| Back to top |
|
 |
The_Sage Guest
|
Posted: Fri Sep 26, 2003 1:38 am Post subject: Re: The_Sage & void main() |
|
|
| Quote: | Reply to article by: Noah Roberts
Date written: Thu, 25 Sep 2003 08:23:30 -0700
MsgID:<3F730872.6080400 (AT) dontemailme (DOT) com
I don't think I could add anything to a thread that has reached such an
epitome of human intelegence. I don't think I have the kind of maturity
level necissary.
|
You just proved yourself wrong.
The Sage
=============================================================
My Home Page : http://members.cox.net/the.sage
"The men that American people admire most extravagantly are
most daring liars; the men they detest the most violently are
those who try to tell them the truth" -- H. L. Mencken
=============================================================
|
|
| Back to top |
|
 |
The_Sage Guest
|
Posted: Fri Sep 26, 2003 1:46 am Post subject: Re: The_Sage & void main() |
|
|
| Quote: | Reply to article by: "Attila Feher"
Date written: Thu, 25 Sep 2003 11:27:22 +0300
MsgID:
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.)
I have, now it is your turn.
You did not. Now it is your turn.
|
That is childish.
| Quote: | Seeming as how you tried to quote the standard
I didn't try, I actually did quote the standard.
Now. I did. You then copied it from my post
|
The only place a quote from a standard could come from is from you? I don't
think so. And a quote is a quote is a quote and the quote says that "other types
may be implemented-defined". Can't get any clearer than that.
Grow up, please.
| Quote: | in an attempt to pretend
you're right, I'll quote the standard to once and for all destory
all your arguements.
Oh, I'm so scared...
No. You are not. You don't have the brains for it.
|
Oh, what a wondeful comeback. I'm still so scared. You are just too powerful for
us. Please don't hurt me anymore with your innuendo and name calling and blind
faith denial and dodge and evade tactics.
Again, grow up.
| Quote: | 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;"
Nothing there says anything about not being able to use void main()
Except that a void main cannot return 0.
|
It does not say "void main cannot return 0". That is your interpretation and
only your interpretation. IBM, MS, and Borland all disagree with you but agree
with me. They all use void main(). Everyone who has ever used those compilers
knows that, so why don't you use one of those compilers and see what you've been
missing?
Here, let me help you embarrass yourself...
http://homepages.tesco.net/~J.deBoynePollard/FGA/legality-of-void-main.html
It's simple: You do not know what you are talking about. Come back when you can
be more civil and actually have some facts instead of childish banter.
The Sage
=============================================================
My Home Page : http://members.cox.net/the.sage
"The men that American people admire most extravagantly are
most daring liars; the men they detest the most violently are
those who try to tell them the truth" -- H. L. Mencken
=============================================================
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|