11th Dec 2017, 9:28 AM
Amadeus
Amadeus - avatar
4 Answers
+ 2
Why do you think something is wrong, it is working from first sight.
11th Dec 2017, 9:36 AM
Dima Makieiev
Dima Makieiev - avatar
+ 1
It returns wrong output:(
11th Dec 2017, 9:40 AM
Amadeus
Amadeus - avatar
+ 1
Hm... Yep, you are using an algorithm witch is similar to dividing by 2 when you need to convert decimal to binary, but I think it will not work this way, since for opposite transformation algorithm will be other. In case of hexadecimal system you will need to convert to chars or from chars... You can convert from decimal to binary if you will get rid of first for cycle at str 22
11th Dec 2017, 11:50 AM
Dima Makieiev
Dima Makieiev - avatar
+ 1
Thanks 4 helping... I'll try again and come back.
11th Dec 2017, 12:22 PM
Amadeus
Amadeus - avatar