I have a problem with converting the Space char into other chars.
I'm working in a program with the objective of simulate a encoder machine, so when i have to encode the space char to other char(by adding a Int key to their original ascii code), the cin operator doesn't recognize the Space char.
How can I encode/decode the space char using this method?