Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 07-05-2005, 12:33 PM   #1 (permalink)
Chase's Avatar
 
CECS Major

Join Date: Jul 2005

Location: Louisville, KY

Posts: 387

Chase is on a distinguished road

Send a message via MSN to Chase Send a message via Yahoo to Chase Send a message via Skype™ to Chase
Question Binary Help...

I am currently studying C++ and have finally gotten to a section where I have to learn BINARY. Anyway, I do not understand how the binary number systems work at all. If you have the time and skill please help me by trying to explain. Thanks to all who help,

::-Chase-::
Chase is offline  
Old 07-05-2005, 12:47 PM   #2 (permalink)
Elbatrop1's Avatar
 
Memberbot

Join Date: Mar 2004

Posts: 4,055

Elbatrop1 is on a distinguished road

Send a message via MSN to Elbatrop1
Default

Once you get the hang of it, it's pretty easy.

Lets look at decimal:

0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10

Notice how, when you got to 9, you couldnt count any higher in the 'ones' spot, so you carried it over to the 'tens' spot?

The same goes for binary. Except with binary, you dont count up to 9 and then rollover, you count to 1.

0, 1, 10

Notice that when the lowest bit position couldnt get any higher than 1, so it rolled over into the next highest position.

To continue:

0,1,10,11,100,101,110,111

It when every bit position gets filled with a 1, the next increment rolls over into the next highest bit position.

When we count in decimal, we can put zeros in front of the number, because they dont count for anything. FOr example:

0000, 0001, 0002, 0003, 0004, 0005, 0006, 0007, 0008, 0009, 0010.

The same goes for binary:

0000, 0001, 0010, 0011, 0100, 0101....

Hopefully that helps to get you started. Try looking on www.howstuffworks.com

I think they have an article on binary.
__________________

Intel E6750...........PSN: ELBATROP
XFX nForce 650i Ultra
Patriot PC2-6400 8GB (4x2GB)
eVGA 9800GT
36GB WD Raptor
120GB SG
1TB SG
Logitech X-530
Samsung SyncMaster 931c
Samsung SyncMaster 750s
Windows 7 RC
Elbatrop1 is offline  
Old 07-05-2005, 12:53 PM   #3 (permalink)
Chase's Avatar
 
CECS Major

Join Date: Jul 2005

Location: Louisville, KY

Posts: 387

Chase is on a distinguished road

Send a message via MSN to Chase Send a message via Yahoo to Chase Send a message via Skype™ to Chase
Default

Thanks for the help, much appreciated!

::-Chase-::
Chase is offline  
Old 07-05-2005, 04:30 PM   #4 (permalink)
 
Super Techie

Join Date: Jan 2005

Posts: 295

gab00n

Default

Binary is 2 to the power of 0 all the way up to whatever. So starting from the right, it is 2^0 and then it gains from there. So in order to know what value the 1 is representing you just need to figure out what power 2 is raised to at that spot.
__________________
\"Today\'s scientists have substituted mathematics for experiments, and they wander off through equation after equation, and eventually build a structure which has no relation to reality.\" Nikola Tesla
gab00n is offline  
Old 07-05-2005, 06:02 PM   #5 (permalink)
Chase's Avatar
 
CECS Major

Join Date: Jul 2005

Location: Louisville, KY

Posts: 387

Chase is on a distinguished road

Send a message via MSN to Chase Send a message via Yahoo to Chase Send a message via Skype™ to Chase
Default

Thanks for the extra help, very much appreciated as the post before.

::-Chase-::
Chase is offline  
Old 07-06-2005, 05:49 PM   #6 (permalink)
 
Newb Techie

Join Date: Jul 2005

Posts: 48

010001100101010

Default

u can also write words in binary. one letter is 8 charecters long, the first three indicate if the letter is uppercase or lower case so 011=lowercase and 010=uppercase the other five charecters represent a number that is assoiated with a letter so A=1,B=2...Z=26
so on. it can be very usefull...
try to find out what it means...
...
.
.
.
.
.
.
.
.
.
.
..
.
.
010001100101010=f-u(hahahaha)
__________________
http://i12.photobucket.com/albums/a2...cew00t/bla.bmp
Daisy, Daisy, give me your answer do. I\'m half crazy, all for the love of you
010001100101010 is offline  
Old 07-07-2005, 07:38 AM   #7 (permalink)
Chase's Avatar
 
CECS Major

Join Date: Jul 2005

Location: Louisville, KY

Posts: 387

Chase is on a distinguished road

Send a message via MSN to Chase Send a message via Yahoo to Chase Send a message via Skype™ to Chase
Default

LOL! thanks (not sure what to call you but I will compromise) "Binary Man". I didn't know you could do that. After a couple of hours last night I finally managed to grasp Binary and the Hexidecimal system thanks to everyone's help and now I even know how to write letters. It may not sound big to you programming verterans, but it is definatly a big deal to a rookie. Thanks again-
::-Chase-::
Chase is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On