I'm doing a program where I send a string to a file, and I want to read it back, but when I do that, the white spaces only come up as nothings .... all the words are cascaded together , for example
write to the file: "This is a test!"
I get from it: "Thisisatest!"
anyone know how to overcome this??
I obviously tried to use an if statement which tested for white spaces. Also, the file itself has the spaces in it, so why doesn't the reading function include them?