Top "Binary" questions

Binary, the base-2 numeral system, represents numbers using two symbols: 0 and 1. For compiled computer programs, use the "executable" tag instead.

Tool for comparing 2 binary files in Windows

I need a tool to compare 2 binaries. The files are quite large. Some freeware or trial tools I found on …

binary compare filecompare
Converting integer to binary in python

In order to convert an integer to a binary, I have used this code : >>> bin(6) '0b110…

python binary integer
Convert hex to binary

I have ABC123EFFF. I want to have 001010101111000001001000111110111111111111 (i.e. binary repr. with, say, 42 digits and leading zeroes). How?

python string binary hex string-formatting
Converting an int to a binary string representation in Java?

What would be the best way (ideally, simplest) to convert an int to a binary string representation in Java? For …

java string binary int
How to print (using cout) a number in binary form?

I'm following a college course about operating systems and we're learning how to convert from binary to hexadecimal, decimal to …

c++ binary iostream representation std-bitset
How to print binary number via printf

Possible Duplicate: Is there a printf converter to print in binary format? Here is my program #include<stdio.h&…

c binary printf
Reading a binary file with python

I find particularly difficult reading binary file with Python. Can you give me a hand? I need to read this …

python binary fortran
Reading and writing binary file

I'm trying to write code to read a binary file into a buffer, then write the buffer to another file. …

c++ file binary buffer
Read and write to binary files in C?

Does anyone have an example of code that can write to a binary file. And also code that can read …

c linux file-io binary
Convert binary to ASCII and vice versa

Using this code to take a string and convert it to binary: bin(reduce(lambda x, y: 256*x+y, (ord(…

python binary ascii