blob: 5b7e2852a192ae33a02573ca634b44721dede9cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include "archive.h"
#include "sfile.h"
using namespace Bu;
int main()
{
SFile f("test.dat", "wb");
Archive ar( f, Archive::save );
std::string s("Hello there");
ar << s;
return 0;
}
|