Skip to content
/ bcon Public

A C based CLI tool that can convert data between binary value, hexadecimal, and decimal value.

Notifications You must be signed in to change notification settings

maxxfuu/bcon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BCON- Byte Conversion Command Line Tool

Overview

bconv is a lightweight command-line tool for converting numbers between binary, decimal, and hexadecimal formats. It allows users to quickly perform conversions directly in the terminal without needing an interactive interface.

bconv_demo.mp4

Features

  • Convert between binary, decimal, and hexadecimal number systems.
  • Simple CLI syntax using flags.
  • Efficient implementation using standard C.
  • Works on Linux and macOS (and Windows via WSL or MinGW).

Installation

1. Compile the Source Code

Ensure you have gcc installed, then compile the program:

gcc main.c conversion.c -o bconv 

Or if you're on a mac use clang and compile

clang -o bonv main.c conversion.c

Move the Executable

Move the Executable to /usr/local/bin/ so that you can run bconv from anywhere in the terminal.

sudo mv bconv /usr/local/bin/

Usage

bconv <input_format_flag> <output_format_flag>

Support flags include: -b, for binary -d, for decimal -h, for hexadecimal

About

A C based CLI tool that can convert data between binary value, hexadecimal, and decimal value.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages