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