How to construct a very simple bottle. See also os/browse_bottle/browse_bottle.cpp example.
#include <cstdio>
int main(
int argc,
char* argv[])
{
Bottle b("5 plus 2 is");
b.addInt32(b.get(0).asInt32() + b.get(2).asInt32());
printf("result: %s\n", b.toString().c_str());
return 0;
}