A simple command-line tool for performing binary arithmetic operations (addition, subtraction, multiplication, division) on large numbers (greater than capacity of inbuilt int, long, double data types) and conversions between binary and decimal.
- Perform binary addition, subtraction, multiplication, and division
- Convert between binary and decimal numbers
- User-friendly command-line interface
- Make sure you have a C/C++ compiler (e.g., gcc, clang) installed
To build the project, simply run:
makeThis will compile the source code and generate the executable (usually named bincalc or similar).
After building, run the calculator:
./bincalcFollow the on-screen prompts to perform binary calculations or conversions.
The provided Makefile automates the build process. Common targets:
makeormake all: Build the projectmake clean: Remove compiled binaries and object files
You can inspect or modify the Makefile to adjust compiler flags or target names as needed.
Swapnil Gite