Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 a noobs programming question
Index -> General Programming
Goto page 1, 2  Next
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Anime Freak




PostPosted: 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
Sponsor
sponsor
JHanson90




PostPosted: 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




PostPosted: 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




PostPosted: Mon Sep 20, 2004 11:46 pm   Post subject: (No subject)

If anything, you'd be looking at hex codes, not binary.
Mazer




PostPosted: 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




PostPosted: 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 Canada Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
1337H4X




PostPosted: Tue Sep 21, 2004 11:07 am   Post subject: (No subject)

10010111100011010110100101011010111010110101110101010101
000001011011101011010111101010101110110110110110100010101

th4ts.t3h.1337.w4y.t0.pr0gr4m.Hello.World..soz.f0.my.1337.sp33k.but.m3 c4n.0nly.sp34ak.
t3h.h4x.c4ause.my.c0mp.15.fuk3d.
s0z m3 sp4c3b4r 15 fuk3d

[mod:e8dcf0ff41]Then how about pressing enter?
-Mazer[/mod:e8dcf0ff41]
Dan




PostPosted: 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 Canada Help with programming in C, C++, Java, PHP, Ruby, Turing, VB and more!
Sponsor
Sponsor
Sponsor
sponsor
Martin




PostPosted: 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).

Here is how any number system works:

base^n + base^(n-1) + ... + base^2 + base^1 + base^0 + 1/base^1 + 1/base^2 + ... + 1/base^n

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




PostPosted: Tue Sep 21, 2004 2:15 pm   Post subject: (No subject)

http://nickciske.com/tools/binary.php
for translation, a tuto on how to create it iunno don't know any Rolling Eyes
templest




PostPosted: 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. Smile
Maverick




PostPosted: Tue Sep 21, 2004 4:21 pm   Post subject: (No subject)

Claping havent heard that b4 Mad
apomb




PostPosted: 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




PostPosted: Tue Sep 21, 2004 6:16 pm   Post subject: (No subject)

thats in someones sig i think, pretty good saying! Laughing

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




PostPosted: Tue Sep 21, 2004 7:17 pm   Post subject: (No subject)

why bother? adding in binary is so much fun...

moved to general programming
Display posts from previous:   
   Index -> General Programming
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 2  [ 16 Posts ]
Goto page 1, 2  Next
Jump to:   


Style:  
Search: