Hmm I found that the problem is diferent than what I had previously believed...I am using that char table we talked about a few days ago and it seems that when it takes in a white space it converts it to a strange character that will display in a text editor properly, but when displayed using cout it will show something like This?is?my?message.
So the problem is not in displaying it, it is at the root of the text generator..So with that being said, any suggestions on how to run the string through the char table while still holding onto the white spaces as just a blank space?
This is basically how its running now with char table algorithm changed and unnecessary text omitted:
void rep(char& c)
static char table=
c = table[c-'a'];
getline (cin, filename);
getline (cin, message);