Skip to content

Binary Class represents a binary code using a string and has member functions that allow a user to convert said binary code to a decimal or ASCII text.

License

Notifications You must be signed in to change notification settings

amolgorithm/binary-data-structure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Binary++

The Binary class represents a binary code via a string. A Binary object is initialized with either a binary string, an ASCII text string, or an integer. The Binary class allows various arithmetic and comparison operations between two or more Binary objects (+, -, *, /, %, ^, >, <, ==). It also offers conversions from binary to decimal, binary to ASCII text, decimal to binary, and ASCII text to binary.



Features

  • Various arithmetic operations between two Binary objects (through operator overloading)
  • Various comparison operations between two Binary objects (through operator overloading)
  • Conversion from binary to decimal, binary to ASCII text, decimal to binary, and ASCII text to binary.

About

Binary Class represents a binary code using a string and has member functions that allow a user to convert said binary code to a decimal or ASCII text.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages