I'm currently working on a simple encryption program. The basic principles work and I've already implemented one method of encryption, and I want to add another.
The only problem is, for this, I need to know how to convert a string (inserted by the user of the program) into individual characters, which need to be converted to their respective ASCII characters.
I have no clue how to go about it... I've been thinking about maybe an array for the results, but I have no idea how arrays work yet, and on top of that, I don't know how to get a specific character in a character string.
So my question: How can I substract individual characters from a string, and put these into 'a' variable, for later use?