cpplearning: add example code for string,structure and point