Function BinaryToString(size_t, char *, size_t)¶
Defined in File binary_state.cpp
Function Documentation¶
-
void BinaryToString(size_t n, char *s, size_t m)¶
Makes a string out of the binary representation of integer n, below position m.
- Parameters:
n – integer giving rise to the binary representation
s – output string
m – number of bits