Update cpp.rst to fix the possible problems brought by not closing the FILE pointer properly in the demo code.
Signed-off-by: Zhanhao Liu <jasperlau95@gmail.com>
Update cpp.rst to accommodate the new APIs for the libs3 library. Some APIs in the current tutorial doesn't match the updated APIs in the libs3.h library and thus cannot be compiled.
Signed-off-by: Zhanhao Liu <jasperlau95@gmail.com>