ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i dont want anything apart from u guyz just to undertand that 1024 numbers can be presented on 10 fingers
so 1024x1024x1024 can number can be reprduced by just know how many tmies u counted on 30 fingers....
but aint 1024x1024x1024 1 gig of data in just 30 fingers
No. You could record any number up to 1 billion in '30 fingers' (30 bits), but that's about it. That 1 billion is less than 4 bytes of data. (aka, the same 30 bits)
so u telling me every thing that stores data actually equeals one 1
as i believe in a seperate thory why u cant open a harddrive..i read it and i can show u.....and it a normal harddrive
if u saying u can reacord me any 1 million numbert
i want a favour
big favour ill show u howi do it if u show me ur method too
but it must be shown here
and tell me how to convert it binary back with availble free tools
all i am saying we are paying the ame for the same amouth of fate....just that there profitting from it
as we choose to use there stuff
now i will make a new system if everyone used it freely
and nothing that kids cant see
I think that you are lacking knowledge of data structures.
I will clear you about how you can count a lot of numbers with few bits (just to make sure you understand the last posts that said exactly that):
Say you have 2 bit, you can count: 00, 01, 10, 11 - 4 number
3 bits: 000, 001, 010, 011, 100, 101, 110, 111 - 8 Numbers
So, since the computer works on binary, I can count to 2^n where n is the number of bits I have.
Changing the base has no real relevance for the computer. It will still count everything on binary. It can't do otherwise. So, when you build a HEX or Decimal string this is just so that humans can read this more easely, you are not trully changing the representation in the computer, you are just choosing an output form, like say a font, but inside everything is binary.
A common way of outputing HEX or decimal numbers: use character strings
A character ocuppies 8 bits. you can count up to 255 with that. So when you write "FFA342FBC" you waste space because you counted up to 16 on each character, but you could acctually count up to 255. The same for writting "34534514" (wastes even more) or anything else. Those are just output forms, the computer still sees everything as binary. You can't *really* change the base unless you build a new computer.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.