You may copy and use my code freely, without ANY restrictions, atribution would be nice though :)
Simple program that decodes binary into base 10.
This version is written in python3. To use it, do python3 binary-decoder.py
then enter a binary number to decode.
#############################################################
https://github.com/Jammin-Coder/Binary-Decoder/tree/main/c%2B%2B%20version
This version is written in C++ and compiled on Linux, thus will only run on Linux.
To run it, just do ./binary_decoder
and then enter a binary number to decode.