470,870 Members | 1,191 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,870 developers. It's quick & easy.

hi , little question please in codegear c++ builder

using vcl , and trying to use TstringList with ascii(1) as delimiter

TStringList * templist3 = new TStringList;
mylist = new TStringList;
mylist->Delimiter = static_cast<char>(1);

this code works fine and all is cool when program runs
problem is when i want to save all

this way i lost the ascii(1) to a later load :)

for (int i = 0; i < mylist->Count; i++)
myfile << mylist->Strings[i].c_str();
myfile << static_cast<char>(1);
this way its adding lots of strange \n in the middle of everywhere

please help
thanks much in advance
Nov 25 '07 #1
0 827

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Xproblem | last post: by
2 posts views Thread by Mike Turco | last post: by
reply views Thread by FluffyCat | last post: by
7 posts views Thread by simonZ | last post: by
2 posts views Thread by xarzu | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.