摘要: std::map<string, string> mapSet; mapSet.insert(pair<string, string>("中文", "Chinese"));//插入关键字和值 mapSet.insert(pair<string, string>("英文", "English")); 阅读全文
posted @ 2020-12-02 11:06 YellowBoss 阅读(9401) 评论(0) 推荐(0)
摘要: 配置文件格式为: 代码: ClassName::ChineseName() { ifstream configFile; string filePath = "填写配置文档地址"; configFile.open(filePath.c_str()); string strLine; if (conf 阅读全文
posted @ 2020-12-02 10:29 YellowBoss 阅读(309) 评论(0) 推荐(1)