can anyone tell me how can i convert
the ascii code: 48 to the binary number: 00110000
??
if anyone knows if there any other way to save the char of an ascii code 48 in a variable it would be great.
example:
i want to save the char of 48 as 0
and 49 as 1, 50 as 2... and so...
User Profile
Collapse
-
convert ASCII to Binary /C
-
i guess it's the last one:
10100100 01110000 01000101 01000001
if you please can tell me how you get to binary notation from 12.34
so i can write the correct algorithm to do it.
thanx -
i will give you an example in converting an integer to binary:
the number 245 = 11110101 in binary notation.
i got the answer by algorithm that translate 245 to binary.
i want to write an algorithm for float numbers.
as i will put 12.34 and get its binary notation.
that's it.Leave a comment:
-
convert float to binary
how to convert * WITHOUT USING ANY FUNCTION * a float number to binary?
at least if someone can explain me how to do it it would be better then giving me the code itself.
No activity results to display
Show More
Leave a comment: