Serialization
-
HI people;), Please help me out with this one. I was working on a project for creating a Text Editor. Everything was going on fine, until i serialized my data. What i am doing is that i have an
CArray
ofCString
, so that a particular index in the array represents one line of the text-editor. While serializing, i have to use a loop to write theCString
of every index of the array to a file. But the problem with serializing is that it breaks out of the loop, when it encounters a\n
. In my program, each line is ended by a\r\n
. I have even tried usingWrite
ofCArchive
. But it doesn't work. Is there any way in which i could serialize my data to the file? :((Help.... SOS.....:(( :)Thanks in advance.:) AslFunky -
HI people;), Please help me out with this one. I was working on a project for creating a Text Editor. Everything was going on fine, until i serialized my data. What i am doing is that i have an
CArray
ofCString
, so that a particular index in the array represents one line of the text-editor. While serializing, i have to use a loop to write theCString
of every index of the array to a file. But the problem with serializing is that it breaks out of the loop, when it encounters a\n
. In my program, each line is ended by a\r\n
. I have even tried usingWrite
ofCArchive
. But it doesn't work. Is there any way in which i could serialize my data to the file? :((Help.... SOS.....:(( :)Thanks in advance.:) AslFunky