I am making a console app in Dev C++ where text can be encrypted and the encryption is saved to a single string. The encryptor is a simple substitution one, and here is my problem:
a = 35
b = 3
c = 5
If "abc" is to be encrypted it would look like "3535" (saved to one string) ,but how would the application know if its 35-3-5 or 3-5-35 or 3-5-3-5 ?