I'm trying to save a strings to file, each of length 12, and where each character in the string can be of any type char, even the nonprintable ones. I then want to be able to load these 12 characters later on in the program and place them into a new string of length 12. Is there a way to do this?
If I save the string to file normally and then turn around and load them into a new string, it doesn't always work unless all 12 characters are printable ones. Driving me nuts!