> The class c4FileStream does not exist, there is only the class c4_Stream,
> that is abstract.
> I have to define this class myself or someone has written it?
You just need to include this:
#include "mk4io.h"
> >c4_Storage MyDb("path_to_my_db", true);
> >c4_FileStream MyDbCompacted(fopen("path_to_my_db_compacted"), true);
> >MyDb.SaveTo(MyDbCompacted);
>
> In this example, where are data? in path_to_my_db or in
> path_to_my_db_compacted?
> And in this case what is the function of the file path_to_my_db?
Example:
path_to_my_db => c:\MyDatabase.dat (your data is within MyDatabase.dat)
path_to_my_db_compacted => c:\MyDatabaseCompact.dat
you will get a new file, MyDatabaseCompact.dat, that contains the same data
as MyDatabase.dat, but stripped from any unnecessary space (compact
version).
:))
_____________________________________________
Metakit mailing list - [EMAIL PROTECTED]
http://www.equi4.com/mailman/listinfo/metakit