A lightweight CLI tool to convert numbers between binary, decimal and hexadecimal, written in C++.
baseconv <value> --from <base> --to <base>dec— Decimal (base 10)hex— Hexadecimal (base 16)bin— Binary (base 2)
baseconv 255 --from dec --to hex # FF
baseconv FF --from hex --to bin # 11111111
baseconv 11111111 --from bin --to dec # 255cmake -B build -G Ninja
cmake --build build
./build/baseconv 255 --from dec --to hexMIT