How to Create .plist file

How to create plist file in c++
please explain and give me one example

https://discuss.cocos2d-x.org/search?q=Plist

you can create and save load a simpe text file

auto file = cocos2d::FileUtilsAndroid::getInstance()->getWritablePath() + "myTextFile.txt";
cocos2d::FileUtilsAndroid::getInstance()->writeStringToFile("Hello world",file.c_str());
auto string = cocos2d::FileUtilsAndroid::getInstance()->getStringFromFile(file.c_str());
log("\n\n\n\n\nYour String %s",string.c_str());

Check out docs.cocos for other loading and saving types
https://docs.cocos.com/cocos2d-x/manual/en/advanced_topics/filesystem.html