How to convert binary to ASCII characters?

  • Follow publicly
  • Follow privately
  • Unfollow
i have been missing tons of school, i go to high school im a senior year 11 i take Software Design and we have been given homework to convert binary codes to ASCII characters which i more
Best Answer
well this site will convert them for you

this site has a table
  • 1
  • Comment

Other Answers (2)

Rated Highest
  • Rated Highest
  • Oldest
  • Newest
  • Alan P answered 6 years ago
    This is a relatively easy problem. There is no need to worry about character codes (if I understand the question correctly). I take it you may get the string "1000001" and need to convert it into the character 'A'. Basically this requires parsing the ones and zeroes, than creating the actual numeric value (i.e. as an int in C++). This can be done with some bit-twiddling (using powers of two to create the number). From this just cast it to a character (type char in C++). hat should do it.

    • Rate
    • Comment
  • Zach B answered 6 years ago
    ASCII characters are normal letters, there are lots of online converters, if you need to write code to convert it, just look at the source of the page (Ctrl+u). This site has an implementation in javascript, very easy to follow if you look at the page source.


    • Rate
    • Comment
  • Sign In 

    to add your answer

Who is following this question?

    Member Since:
    Points: Points: Level
    Total Answers:
    Points this week: