Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. MSDN Documentation Error

MSDN Documentation Error

Scheduled Pinned Locked Moved The Lounge
csharpc++htmlcom
12 Posts 10 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Eric Dahlvang

    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

    P Offline
    P Offline
    peterchen
    wrote on last edited by
    #2

    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!

    C E 2 Replies Last reply
    0
    • P peterchen

      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!

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #3

      peterchen wrote:

      Basics and Sharpies

      That's good, I like it.

      Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

      C 1 Reply Last reply
      0
      • E Eric Dahlvang

        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

        R Offline
        R Offline
        Red Stateler
        wrote on last edited by
        #4

        I wonder if all those global warming scientists used that code.

        E realJSOPR 2 Replies Last reply
        0
        • C Christian Graus

          peterchen wrote:

          Basics and Sharpies

          That's good, I like it.

          Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

          C Offline
          C Offline
          Chris Meech
          wrote on last edited by
          #5

          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]

          T 1 Reply Last reply
          0
          • R Red Stateler

            I wonder if all those global warming scientists used that code.

            E Offline
            E Offline
            Eric Dahlvang
            wrote on last edited by
            #6

            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

            1 Reply Last reply
            0
            • C Chris Meech

              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]

              T Offline
              T Offline
              Todd Smith
              wrote on last edited by
              #7

              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

              1 Reply Last reply
              0
              • R Red Stateler

                I wonder if all those global warming scientists used that code.

                realJSOPR Offline
                realJSOPR Offline
                realJSOP
                wrote on last edited by
                #8

                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

                1 Reply Last reply
                0
                • E Eric Dahlvang

                  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

                  M Offline
                  M Offline
                  Mike Dimmick
                  wrote on last edited by
                  #9

                  The irony of course being that the Celsius property has absolutely nothing to do with the CompareTo method and therefore just complicates the example code. I can see millions of VB programmers defining Celsius properties because they think it's necessary to get CompareTo working ;-)

                  Stability. What an interesting concept. -- Chris Maunder

                  T 1 Reply Last reply
                  0
                  • M Mike Dimmick

                    The irony of course being that the Celsius property has absolutely nothing to do with the CompareTo method and therefore just complicates the example code. I can see millions of VB programmers defining Celsius properties because they think it's necessary to get CompareTo working ;-)

                    Stability. What an interesting concept. -- Chris Maunder

                    T Offline
                    T Offline
                    Tom Delany
                    wrote on last edited by
                    #10

                    You're cruel! But funny! :-D:laugh::laugh: Cheers,

                    1 Reply Last reply
                    0
                    • P peterchen

                      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!

                      E Offline
                      E Offline
                      ednrgc
                      wrote on last edited by
                      #11

                      What about a sharpie that also programs C++?

                      P 1 Reply Last reply
                      0
                      • E ednrgc

                        What about a sharpie that also programs C++?

                        P Offline
                        P Offline
                        peterchen
                        wrote on last edited by
                        #12

                        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!

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups