I am trying to construct a little C program which will allow you to type in ASCII values and then it automatically converts it to binary code. For example you would type in the words "you suck" and it is converted into the binary 011110010110111101110101 01110011011101010110001101101011
I know that I can declare each letters value in binary and then call that every time that letter is used but I was thinking that there may be an easier way to do this.
Any help? Oh and by the way this is for a unix system....