silver-ymz commented on code in PR #2980:
URL: 
https://github.com/apache/incubator-opendal/pull/2980#discussion_r1311007712


##########
bindings/cpp/README.md:
##########
@@ -0,0 +1,36 @@
+# OpenDAL CPP Binding (WIP)
+
+![](https://github.com/apache/incubator-opendal/assets/5351546/87bbf6e5-f19e-449a-b368-3e283016c887)
+
+## Example
+
+```cpp
+#include "opendal.hpp"
+#include <vector>
+
+int main() {
+    auto op = opendal::Operator("memory");
+    std::vector<uint8_t> data = {1, 2, 3, 4, 5};
+    op.write("test", data);
+    auto result = op.read("test");  // result == data
+}
+```
+
+## Build
+
+```bash
+mkdir build

Review Comment:
   I forget to add `cd build`. This will save all cmake caches in the `build` 
directory.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to