Zeros
-
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.
I didnt have ONES :laugh:
First and the Foremost: FIGHT TO WIN mera sirmour: sirmour.co.in
-
"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, 1997John Simmons / outlaw programmer wrote:
And MS Access was born...
oh yeh baby!!!
Software Zen: delete this;
-
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.
Silly....you route it through an accumulator circuit.
Software Zen: delete this;
-
When you don't have ones...[^] Absolutely brilliant! :laugh:
It's an OO world.
I1 I1 I1 :laugh:
Steve _________________ I C(++) therefore I am
-
When you don't have ones...[^] Absolutely brilliant! :laugh:
It's an OO world.
0
00
0 0
0
00000 -
0
00
0 0
0
00000awesome!
-
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.
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
-
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.
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.
-
When you don't have ones...[^] Absolutely brilliant! :laugh:
It's an OO world.
You had ones? We had to use a lower case 'L'.
-
You had ones? We had to use a lower case 'L'.
We used to dream of having a lowercase 'L'
-
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.
-
0
00
0 0
0
00000:) How true!