Hi !
I am using RedHat linux 9.0. I
had downloaded Common C++ library version 2.1.0.13 and installed to /usr/local
directory. When i tested installed common C++ library using ccxx_tests, then any
test was not passed.
......
T.T
For example, i want to use
persistence related library routine. But the results were wrong. Here is
code example from SampelObject.cpp under ccxx_tests.
void
EngineTest::testComplexObject()
{
// write BaseObject
hierarchy
std::fstream outputArchive("EngineComplexObjectTest.dat",
std::ios::out|std::ios::binary);
Engine outputEngine(outputArchive,
ost::Engine::modeWrite);
outputEngine <<
complexObject;
outputArchive.close();
.....
In ddd debugger, when i
executed "outputArchive.closed()" line and examined
"EngineComplexObjectTest.dat" in the shell, then it's file size was
zero.
.....
I am trying to use common C++
library to write data persistently.
Thank you
From Benjamin Y.
Lee