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. Today I learnt...

Today I learnt...

Scheduled Pinned Locked Moved The Lounge
helpc++questiondiscussioncareer
7 Posts 7 Posters 0 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.
  • D Offline
    D Offline
    den2k88
    wrote on last edited by
    #1

    ...that the binary value 00000100 is not, in fact, 0x00000100. It's the least of the bug I wrote in this code and this makes me think. Send positive thoughts.

    GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X The shortest horror story: On Error Resume Next

    D M OriginalGriffO N 4 Replies Last reply
    0
    • D den2k88

      ...that the binary value 00000100 is not, in fact, 0x00000100. It's the least of the bug I wrote in this code and this makes me think. Send positive thoughts.

      GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X The shortest horror story: On Error Resume Next

      D Offline
      D Offline
      dandy72
      wrote on last edited by
      #2

      Base 2, Base 16, who's counting...

      1 Reply Last reply
      0
      • D den2k88

        ...that the binary value 00000100 is not, in fact, 0x00000100. It's the least of the bug I wrote in this code and this makes me think. Send positive thoughts.

        GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X The shortest horror story: On Error Resume Next

        M Offline
        M Offline
        megaadam
        wrote on last edited by
        #3

        You can be sure it is positive if it starts with 0x0 (and contains any subsequent non-zero)!

        "If we don't change direction, we'll end up where we're going"

        1 Reply Last reply
        0
        • D den2k88

          ...that the binary value 00000100 is not, in fact, 0x00000100. It's the least of the bug I wrote in this code and this makes me think. Send positive thoughts.

          GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X The shortest horror story: On Error Resume Next

          OriginalGriffO Offline
          OriginalGriffO Offline
          OriginalGriff
          wrote on last edited by
          #4

          Close enough for government work! :-D

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

          "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
          "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

          M 1 Reply Last reply
          0
          • OriginalGriffO OriginalGriff

            Close enough for government work! :-D

            "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

            M Offline
            M Offline
            Matthew Dennis
            wrote on last edited by
            #5

            And Mars landers

            "Mistakes are prevented by Experience. Experience is gained by making mistakes."

            D 1 Reply Last reply
            0
            • M Matthew Dennis

              And Mars landers

              "Mistakes are prevented by Experience. Experience is gained by making mistakes."

              D Offline
              D Offline
              David ONeil
              wrote on last edited by
              #6

              And, evidently, anything made by Boeing.

              Our Forgotten Astronomy | Object Oriented Programming with C++ | Wordle solver

              1 Reply Last reply
              0
              • D den2k88

                ...that the binary value 00000100 is not, in fact, 0x00000100. It's the least of the bug I wrote in this code and this makes me think. Send positive thoughts.

                GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++*      Weapons extension: ma- k++ F+2 X The shortest horror story: On Error Resume Next

                N Offline
                N Offline
                Nelek
                wrote on last edited by
                #7

                1x1=2 in a math exam... :sigh:

                M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.

                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