initial
[prop.git] / lib-src / persist / qa.cc
blob072d73b11d1b7b15f55f0ca14b38ef88889a512c
1 #include <AD/persist/pstream.h>
2 #include <fstream.h>
3 #include <strstream.h>
5 main()
6 { { ofstream O("testing");
7 Postream PO(O);
8 PO << "this is a test\n";
10 ifstream I("testing");
11 Pistream PI(I);
12 char buf[128];
13 PI.read(buf,sizeof(buf));
14 cout << "this = " << buf;
15 return 0;