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. Zeros

Zeros

Scheduled Pinned Locked Moved The Lounge
com
22 Posts 16 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.
  • W wizardzz

    What came first, the 0 or the wheel?

    "I have a theory that the truth is never told during the nine-to-five hours. " — Hunter S. Thompson My comedy.

    S Offline
    S Offline
    S Houghtelin
    wrote on last edited by
    #8

    Null.

    It was broke, so I fixed it.

    1 Reply Last reply
    0
    • Sander RosselS Sander Rossel

      When you don't have ones...[^] Absolutely brilliant! :laugh:

      It's an OO world.

      H Offline
      H Offline
      Hari Om Prakash Sharma
      wrote on last edited by
      #9
      1. How to add two ZEROS, without having '+' operator? 2) How to increment ZEROS by ONE ZERO, resulting will be incremented RESULT (must be different from previous one)

      First and the Foremost: FIGHT TO WIN mera sirmour: sirmour.co.in

      A 1 Reply Last reply
      0
      • H Hari Om Prakash Sharma
        1. How to add two ZEROS, without having '+' operator? 2) How to increment ZEROS by ONE ZERO, resulting will be incremented RESULT (must be different from previous one)

        First and the Foremost: FIGHT TO WIN mera sirmour: sirmour.co.in

        A Offline
        A Offline
        AspDotNetDev
        wrote on last edited by
        #10

        Hari Om Prakash Sharma wrote:

        How to add two ZEROS, without having '+' operator?

        How to add two ONES, without having "+" operator? :rolleyes:

        Martin Fowler wrote:

        Any fool can write code that a computer can understand. Good programmers write code that humans can understand.

        H M P 3 Replies Last reply
        0
        • A AspDotNetDev

          Hari Om Prakash Sharma wrote:

          How to add two ZEROS, without having '+' operator?

          How to add two ONES, without having "+" operator? :rolleyes:

          Martin Fowler wrote:

          Any fool can write code that a computer can understand. Good programmers write code that humans can understand.

          H Offline
          H Offline
          Hari Om Prakash Sharma
          wrote on last edited by
          #11

          I didnt have ONES :laugh:

          First and the Foremost: FIGHT TO WIN mera sirmour: sirmour.co.in

          1 Reply Last reply
          0
          • R realJSOP

            "I once wrote an entire database program using only zeros" And MS Access was born...

            ".45 ACP - because shooting twice is just silly" - JSOP, 2010
            -----
            You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
            -----
            "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

            M Offline
            M Offline
            Michael J Eber
            wrote on last edited by
            #12

            John Simmons / outlaw programmer wrote:

            And MS Access was born...

            oh yeh baby!!!

            Software Zen: delete this;

            1 Reply Last reply
            0
            • A AspDotNetDev

              Hari Om Prakash Sharma wrote:

              How to add two ZEROS, without having '+' operator?

              How to add two ONES, without having "+" operator? :rolleyes:

              Martin Fowler wrote:

              Any fool can write code that a computer can understand. Good programmers write code that humans can understand.

              M Offline
              M Offline
              Michael J Eber
              wrote on last edited by
              #13

              Silly....you route it through an accumulator circuit.

              Software Zen: delete this;

              1 Reply Last reply
              0
              • Sander RosselS Sander Rossel

                When you don't have ones...[^] Absolutely brilliant! :laugh:

                It's an OO world.

                S Offline
                S Offline
                Steve Mayfield
                wrote on last edited by
                #14

                I1 I1 I1 :laugh:

                Steve _________________ I C(++) therefore I am

                1 Reply Last reply
                0
                • Sander RosselS Sander Rossel

                  When you don't have ones...[^] Absolutely brilliant! :laugh:

                  It's an OO world.

                  A Offline
                  A Offline
                  Andrew Rissing
                  wrote on last edited by
                  #15

                  0
                  00
                  0 0
                  0
                  00000

                  B O 2 Replies Last reply
                  0
                  • A Andrew Rissing

                    0
                    00
                    0 0
                    0
                    00000

                    B Offline
                    B Offline
                    brunofer2007
                    wrote on last edited by
                    #16

                    awesome!

                    1 Reply Last reply
                    0
                    • A AspDotNetDev

                      With an infinitely large universe, a sequence of zeroes would suffice, so long as you could terminate the sequence. You could count the number of zeroes and create a number from that, which is all a sequence of 1's and 0's are used to create anyway. :)

                      Martin Fowler wrote:

                      Any fool can write code that a computer can understand. Good programmers write code that humans can understand.

                      P Offline
                      P Offline
                      patbob
                      wrote on last edited by
                      #17

                      When I was in high school, my dad was taking a class where they were exploring the unary number system. Numbers only consisted of sequences of 1's, no zeros. Zero was defined as a number containing no 1's. So.. we can program with only 1's, but when you've only got zeros, you've got nothing.

                      patbob

                      1 Reply Last reply
                      0
                      • A AspDotNetDev

                        Hari Om Prakash Sharma wrote:

                        How to add two ZEROS, without having '+' operator?

                        How to add two ONES, without having "+" operator? :rolleyes:

                        Martin Fowler wrote:

                        Any fool can write code that a computer can understand. Good programmers write code that humans can understand.

                        P Offline
                        P Offline
                        patbob
                        wrote on last edited by
                        #18

                        AspDotNetDev wrote:

                        How to add two ONES, without having "+" operator?

                        1 + 1 = 11 See Unary numeral system.

                        We can program with only 1's, but if all you've got are zeros, you've got nothing.

                        F 1 Reply Last reply
                        0
                        • Sander RosselS Sander Rossel

                          When you don't have ones...[^] Absolutely brilliant! :laugh:

                          It's an OO world.

                          J Offline
                          J Offline
                          Jim Chroma
                          wrote on last edited by
                          #19

                          You had ones? We had to use a lower case 'L'.

                          U 1 Reply Last reply
                          0
                          • J Jim Chroma

                            You had ones? We had to use a lower case 'L'.

                            U Offline
                            U Offline
                            User 8002817
                            wrote on last edited by
                            #20

                            We used to dream of having a lowercase 'L'

                            1 Reply Last reply
                            0
                            • P patbob

                              AspDotNetDev wrote:

                              How to add two ONES, without having "+" operator?

                              1 + 1 = 11 See Unary numeral system.

                              We can program with only 1's, but if all you've got are zeros, you've got nothing.

                              F Offline
                              F Offline
                              fuximus
                              wrote on last edited by
                              #21

                              1 + 1 = 10! EDIT: unary!! my bad

                              1 Reply Last reply
                              0
                              • A Andrew Rissing

                                0
                                00
                                0 0
                                0
                                00000

                                O Offline
                                O Offline
                                Oshtri Deka
                                wrote on last edited by
                                #22

                                :) How true!

                                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