Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 601 Bytes

README.md

File metadata and controls

37 lines (24 loc) · 601 Bytes

ASCII-To-Binary

A simple tool to convert ASCII characters to binary.

Example

  • ASCII to Binary:

    Enter the character: A
    Binary: 01000001
    
  • Binary to ASCII:

    Enter the binary string (8 digit): 01000001
    ASCII: 65 - Char: A
    

Compile and Run

  1. Compile with g++ or cl.exe:

    g++ -mconsole -o ascii_to_binary main.cpp ascii_to_binary.cpp
  2. Run the executable:

    ./ascii_to_binary.exe

License

This project is licensed under the Apache License 2.0 - see LICENSE for details.