I use CArchive to store a string
into a file

But I always get an odd character (a square shaped) on top of the file,
--------

Cfile f("t.txt",Cfile::modecreate|cfile:modewrite);
CArchive ar(&f,carchive::store);

Cstring s="show me the square";
ar<<s;

--------

Could you help me please ?

Thank you