hi, i have been wondering, after the compilation of a textual source file, it is said that it is compiled to ones and zeros, i wonder what are those ones are zeros, are they visible to eyes? for example if i open it with notepad can i display them? if i can not ever display them then in what sense(if not visual) are they ones and zeros. Thank you.
serkan sendur
821
Postaholic
Banned
Recommended Answers
Jump to PostI can't decide if this is a joke or not. Anyway, the easiest way to look at the machine code (what people typically mean when they talk about "ones and zeros") is with a hex editor. Some hex editors even give you a binary view.
Jump to PostRegardless if this is a joke or not, zeros and ones don't exist! IMHO A hard disk stores levels of "magnetism" which correspond to levels of "voltage" (mostly 0 and 5 volts) When a computer "reads" this is what you could call a "bitstream". It depends on the programmer how …
Jump to PostBelieve me there are no "dumb" questions, there are only "dumb" answers...
The reason you see strange characters on a screen is that "zeros" and "ones" are translated to ASCII on a screen or terminal. So if the bitpattern at hand translates to an 'A' you will see an A …
Jump to PostIt goes from C, to asm mnemonic, to machine.
Jump to Postthis is not a joke, i create executables with GNU gcc compiler, when i open that executable with notepad i dont see zeros and ones but i do see some absurd set of characters. why do i see them?
You don't see them because "1" and "0" are just the …
All 19 Replies
Narue
5,707
Bad Cop
Team Colleague
ddanbe
2,724
Professional Procrastinator
Featured Poster
serkan sendur
821
Postaholic
Banned
serkan sendur
821
Postaholic
Banned
ddanbe
2,724
Professional Procrastinator
Featured Poster
serkan sendur
821
Postaholic
Banned
MosaicFuneral
812
Nearly a Posting Virtuoso
Colin Mac
53
Posting Whiz
serkan sendur
821
Postaholic
Banned
Colin Mac
53
Posting Whiz
serkan sendur
821
Postaholic
Banned
Colin Mac
53
Posting Whiz
serkan sendur
821
Postaholic
Banned
Fest3er
39
Posting Whiz in Training
serkan sendur
821
Postaholic
Banned
orwell84
7
Junior Poster
michinobu_zoned
0
Light Poster
winrawr
9
Junior Poster
serkan sendur
821
Postaholic
Banned
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.