Loop though the characters and do whatever you feel is adequate. Not much to beginners level "encryption." So go write it!
I assume you used a search engine? Other wise look up "cipher," and "c++ encryption."
MosaicFuneral
Posting Virtuoso
1,691 posts since Nov 2008
Reputation Points: 888
Solved Threads: 116
Well thats quite simple.
You should try reversing the string also.
However for the above encryption
Take in the string.
Then you should initialise another string
Take a char from the first string and then store it into the second one. Then add your '0' To the string and again add the second letter of the first string.
So a for loop must do the trick.
If you have tried doing that encryption. Just post the code so that we can help you out
Sky Diploma
Practically a Posting Shark
865 posts since Mar 2008
Reputation Points: 673
Solved Threads: 131