MSDN Documentation Error
-
Surprise! Surprise! IComparable.CompareTo Method[^] Many of you may already be aware of this one, but notice how the Visual Basic and C# examples differ from the C++ example. (See Celsius property) Rediculous.
--EricDV Sig--------- Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peters
-
Surprise! Surprise! IComparable.CompareTo Method[^] Many of you may already be aware of this one, but notice how the Visual Basic and C# examples differ from the C++ example. (See Celsius property) Rediculous.
--EricDV Sig--------- Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peters
You see - C++ programmers can, Basics and Sharpies just try ;P
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers!
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
Linkify!|Fold With Us! -
You see - C++ programmers can, Basics and Sharpies just try ;P
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers!
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
Linkify!|Fold With Us!peterchen wrote:
Basics and Sharpies
That's good, I like it.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
-
Surprise! Surprise! IComparable.CompareTo Method[^] Many of you may already be aware of this one, but notice how the Visual Basic and C# examples differ from the C++ example. (See Celsius property) Rediculous.
--EricDV Sig--------- Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peters
I wonder if all those global warming scientists used that code.
-
peterchen wrote:
Basics and Sharpies
That's good, I like it.
Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog
Christian Graus wrote:
peterchen wrote: Basics and Sharpies
How 'bout Basites and Sharpites. Doesn't that have more of a diseased ring to it. :)
Chris Meech I am Canadian. [heard in a local bar] I agree with you that my argument is useless. [Red Stateler] Hey, I am part of a special bread, we are called smart people [Captain See Sharp] The zen of the soapbox is hard to attain...[Jörgen Sigvardsson] I wish I could remember what it was like to only have a short term memory.[David Kentley]
-
I wonder if all those global warming scientists used that code.
Red Stateler wrote:
I wonder if all those global warming scientists used that code.
:laugh::laugh::laugh:
--EricDV Sig--------- Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peters
-
Christian Graus wrote:
peterchen wrote: Basics and Sharpies
How 'bout Basites and Sharpites. Doesn't that have more of a diseased ring to it. :)
Chris Meech I am Canadian. [heard in a local bar] I agree with you that my argument is useless. [Red Stateler] Hey, I am part of a special bread, we are called smart people [Captain See Sharp] The zen of the soapbox is hard to attain...[Jörgen Sigvardsson] I wish I could remember what it was like to only have a short term memory.[David Kentley]
I thought VB was a disease. You mean its a programming language as well? :doh: They probably typed the following:
Return (m_value - 32) / 1.8
and got a Cannot implicitly convert type 'double' to 'int'. An explicit conversion exists (are you missing a cast?) and wasn't sure what to do so they changed it to 2 :(Todd Smith
-
I wonder if all those global warming scientists used that code.
Now THAT is funny. If I voted messages, you'd get a 5 from me. :)
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001 -
Surprise! Surprise! IComparable.CompareTo Method[^] Many of you may already be aware of this one, but notice how the Visual Basic and C# examples differ from the C++ example. (See Celsius property) Rediculous.
--EricDV Sig--------- Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them. - Laurence J. Peters
The irony of course being that the
Celsius
property has absolutely nothing to do with theCompareTo
method and therefore just complicates the example code. I can see millions of VB programmers definingCelsius
properties because they think it's necessary to getCompareTo
working ;-)Stability. What an interesting concept. -- Chris Maunder
-
The irony of course being that the
Celsius
property has absolutely nothing to do with theCompareTo
method and therefore just complicates the example code. I can see millions of VB programmers definingCelsius
properties because they think it's necessary to getCompareTo
working ;-)Stability. What an interesting concept. -- Chris Maunder
You're cruel! But funny! :-D:laugh::laugh: Cheers,
-
You see - C++ programmers can, Basics and Sharpies just try ;P
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers!
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
Linkify!|Fold With Us! -
Adultery! ;)
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers!
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
Linkify!|Fold With Us!