Posted: Mon Sep 20, 2004 10:21 pm Post subject: a noobs programming question
hi i want to know if there is a site that gives a tutorial the code that constists of only 1's and 0's. if any one can help that would be great.
Sponsor Sponsor
JHanson90
Posted: Mon Sep 20, 2004 11:17 pm Post subject: (No subject)
I think you mean binary...
You can just do a google search for something like that; go to Google.com and enter 'binary tutorial'
I don't think learning binary can really help you become a great programmer... try a good high level language like Java, C++, Ruby, something like that.
Genesis
Posted: Mon Sep 20, 2004 11:26 pm Post subject: (No subject)
Like JHanson90 said, learning binary has no advantages. There's no reason to. And it'll drive you crazy staring at ones and zeroes for hours on end trying to find where you went wrong.
Nobody programs in binary. Assembly language is about as low as it goes.
wtd
Posted: Mon Sep 20, 2004 11:46 pm Post subject: (No subject)
If anything, you'd be looking at hex codes, not binary.
Mazer
Posted: Tue Sep 21, 2004 6:46 am Post subject: (No subject)
The only use for learning binary, in my opinion, is for classes with stupid teachers/professors who think it's important. You'll learn to hate them.
Dan
Posted: Tue Sep 21, 2004 10:13 am Post subject: (No subject)
It dose have some use in computer engering and are progaming a chip of some kind. Makes it easyer to pass ons and offs to things.
Computer Science CanadaHelp with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
1337H4X
Posted: Tue Sep 21, 2004 11:07 am Post subject: (No subject)
[mod:e8dcf0ff41]Then how about pressing enter?
-Mazer[/mod:e8dcf0ff41]
Dan
Posted: Tue Sep 21, 2004 12:27 pm Post subject: (No subject)
The only thing lamer then a spamer may be a l33t speaker.....
Computer Science CanadaHelp with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
Sponsor Sponsor
Martin
Posted: Tue Sep 21, 2004 1:06 pm Post subject: (No subject)
Here is everything that you need to know about binary:
Our number system is in base 10. This means that there are 10 characters (0 - 9) per column of our numbers. Binary is base 2, which means that there are two numbers per column (0 or 1).
where each term in the sequence is multiplied by one of the valid characters in the set. This means that, in our system, it can be 0, 1, 2, 3, 4, 5, 6, 7, 8 or 9.
In binary, it can only be 0 or 1.
For example, to write 27 in binary, it is:
11011. The best way to do this quickly is to find the biggest power of 2 that divides into your number (in this case 2^4, or 16) and keep working down from there until your sum is 27.
7 and one quarter is written as 111.01
That's about all that there is to it. Hex is just a way to compress binary digits by taking groups of 4 of them, and putting them into base 16.
Amailer
Posted: Tue Sep 21, 2004 2:15 pm Post subject: (No subject)
Posted: Tue Sep 21, 2004 3:41 pm Post subject: (No subject)
There are 10 kinds of people in the world: Those that understand binary, and those who don't.
Maverick
Posted: Tue Sep 21, 2004 4:21 pm Post subject: (No subject)
havent heard that b4
apomb
Posted: Tue Sep 21, 2004 6:09 pm Post subject: (No subject)
I dont know why it made two posts, i just clicked the "edit" button ...
apomb
Posted: Tue Sep 21, 2004 6:16 pm Post subject: (No subject)
thats in someones sig i think, pretty good saying!
Adding and subtracting binary is pretty eassy too, except subtracting with ones compliment, that gets stupid.
1 + 0 = 0
1 + 1 = 10 ... or 0, carry the 1
1+1+1 = 11 ... or 1, carry the 1
and so on ...
1-1=0
1-0 =1
0 - 1 = (ones compliment, not going to explain)
usually, with bigger numbers, just convert them to decimal via Martin's explination, then subtract or add , and finally, convert back to binary.
Andy
Posted: Tue Sep 21, 2004 7:17 pm Post subject: (No subject)