Alright, so I am very new to c++ and I just felt like doing a little encryption experiment. In about ten seconds of thinking I've decided that for my encryption I want to:
Get the ASCII value of a string of text entered by the user, and store it in a variable...
Get a key also supplied by the user and store that into a variable.
Take the two variables, send them through an algorithm, and spit out the result.
My problem is that I cannot seem to figure out how to convert the text into an ASCII value.