T
The_Sage
Reply to article by: "Randall Hyde said:Date written: Thu, 18 Sep 2003 05:47:02 GMT
MsgID:<[email protected]>
"The_Sage" is making everyone look like idiots!
No, just you.
It's wonderful how warped his mind is.
He posts some code and argues about how correct
it is known *damn* well no one will try and compile
it to see what happens!
On the other hand, you are unable to post any code at all in defense of even
just one of your uneducated claims.
It's amazing how long this argument has been going
on and no one as bothered to call him on the point
that he is simply *lying* about the fact that Borland C++
will compile that code without that semicolon at the
end of the "cout" expression.
Okay, here's the code:
#include <iostream.h>
void main()
{
cout << "Hello, World!"
}
You are a total idiot Randall. that is NOT my example at all. The proper example
is:
#include <iostream.h>
void main() {
cout << "Hello, World!" }
The way you have typed it should return errors, but that is not the way I
specified it.
Here's what I get when I run it through BCC32 (v5.0)
g:\>bcc32 hw.cpp
Borland C++ 5.0 for Win32 Copyright (c) 1993, 1996 Borland International
hw.cpp:
Error hw.cpp 5: Statement missing ; in function main()
Error hw.cpp 5: Compound statement missing } in function main()
*** 2 errors in Compile ***
Now, you'll have to forgive me for having such an old version
of the compiler. Maybe they introduced this "bug" into their
compiler in a later version (i.e., BCC32 v5.5 or later).
However, it sure looks to me like Borland C++ v5.0 chokes on the
missing semicolon.
Oh, Microsoft VC++?
Well, I must admit I'm only running v12.00.8804, but here's what
it returns:
g:\>vcvars32
Setting environment for using Microsoft Visual C++ tools.
g:\>cl hw.cpp
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8804 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
hw.cpp
hw.cpp(5) : error C2143: syntax error : missing ';' before '}'
Sorry, I don't have the IBM compiler, so I can't try that one out.
In any case, I'm sure that "The_Sage" is laughing his behind off
because he's had this argument going on for quite some time based
totally on a lie; I bet he's real amused that everyone fell for this
nonsense of his, hook, line, and sinker (not that a semicolon is valid,
but that Borland and MS compilers would actually accept this nonsense).
Hopefully, this puts an end to this junk and he can go back to claiming
that my HLA (assembly) code is really C (I haven't found a C compiler
that accepts it yet, Borland, MS, IBM, or otherwise...).
The laugh is on you, Randall. You cannot even follow a simple elementary
example. High Level Assembly? Heck, you don't even know what those words mean!
Haha!
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
=============================================================