Converting ASCII to Binary in C++

This is a discussion on Converting ASCII to Binary in C++ within the C++ Programming forums, part of the General Programming Boards category; Hi guys I'm trying to write a program to convert ASCII code into binary but it is not working properly.
...