- Oct 9, 1999
- 216
- 0
- 0
Is there a C++ function to convert a ASCII character into its binary equivalent?
For example the @ sign is ASCII code# 64 & its binary equivalent is 1000000.
I need to be able to read in a string from the command prompt, separate the string into chars, then convert each char into its ASCII'ed binary equivalent.
Does anyone know if a function exists that will help me out?
Thanks ahead of time,
James
For example the @ sign is ASCII code# 64 & its binary equivalent is 1000000.
I need to be able to read in a string from the command prompt, separate the string into chars, then convert each char into its ASCII'ed binary equivalent.
Does anyone know if a function exists that will help me out?
Thanks ahead of time,
James
