Simply copied and modified the C++ API example. Signed-off-by: Adam Crume <adamcrume@gmail.com>
This is a simple program with lots of explanatory comments people can use as a model for using librados. Signed-off-by: Greg Farnum <greg@inktank.com>