CAUserDefault简单存储
回值:void参数:解释: 存储到UserDefault.xml,不写的话不会存入 const string& getXMLFilePath();返回值:const string&参数:解释: 获得UserDefault.xml的存储路径std::string getStringForKey(const char* pKey);返回值:参数:类型参数名说明const char*pkeypkey解释:根据pkey读取相应的值,如果没有在UserDefault.xml找出则返回""std::string getStringForKey(const char* pKey, const std::string & defaultValue);返回值:参数:类型参数名说明const char*pkeypkeydoubledefaultValue默认值解释:根据pkey读取相应的值,如果没有在UserDefault.xml找出则返回defaultValue
CAUserDefault简单存储