上一页 1 2 3 4 5 6 7 8 9 10 ··· 18 下一页
摘要: 队列,容器,适用于先进先出的数据结构 queue 队列也是一个线性存储表,元素数据的插入在表的一端进行,在另一端删除,从而构成了一个先进先出FIFO(First In First Out)表。 插入一端称为队尾,删除一端称为队首。 默认使用双端队列deque来实现,queue也可看成一个容器适配器, 阅读全文
posted @ 2020-12-30 14:43 Truman001 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 栈,容器,适用于后进先出的数据结构 tack容器不支持随机访问,你能通过top()从栈顶获取元素,通过pop()从栈顶删除元素不支持迭代器,不能遍历,输出时只能top()一个,然后,pop()一个 常用函数: 构造函数:stack<元素类型[,底层容器类型]> 堆栈对象(构造实参表); 底层容器:v 阅读全文
posted @ 2020-12-30 10:51 Truman001 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 字符集(Charcater Set)与字符编码(Encoding) 字符集(Charcater Set 或 Charset):是一个系统支持的所有抽象字符的集合,也就是一系列字符的集合。字符是各种文字和符号的总称,包括各国家文字、标点符号、图形符号、数字等。常见的字符集有: ASCII 字符集、GB 阅读全文
posted @ 2020-10-23 22:42 Truman001 阅读(667) 评论(0) 推荐(0) 编辑
摘要: RapidXml 原项目github网址:https://github.com/dwd/rapidxml 测试代码github项目网址:git@github.com:Mr-jiayunfei/githubtest.git 1 使用条件 从github上下载源码,将文件目录包含在自己项目目录中,在源码 阅读全文
posted @ 2020-05-31 17:42 Truman001 阅读(404) 评论(0) 推荐(0) 编辑
摘要: fs::path log_dir(fs::current_path().generic_string() +u8"\\Logs"); if (!fs::exists(log_dir) || !fs::is_directory(log_dir)) { fs::create_directory(log_ 阅读全文
posted @ 2019-12-30 22:10 Truman001 阅读(1811) 评论(0) 推荐(0) 编辑
摘要: 在VS2017中直接写下面语句,会提示错误,不能将const char *转为char * char *testString = "This is test string" 解决办法:项目属性->C/C++->语言->符合模式项选择否即可 阅读全文
posted @ 2019-12-11 23:20 Truman001 阅读(1315) 评论(0) 推荐(0) 编辑
摘要: 1KB=1024B1MB=1024KB1GB=1024MB1TB=1024GB1PB=1024TB1EB=1024PB1ZB=1024EB1YB=1024ZB 阅读全文
posted @ 2019-11-28 10:00 Truman001 阅读(3225) 评论(0) 推荐(0) 编辑
摘要: 1 std:to_string()方法只能精确到6位小数点 double d = 3.1415926535897932384; std::string str = std::to_string(d); std::cout << str << std::endl; // 3.141593 2 使用st 阅读全文
posted @ 2019-11-28 09:57 Truman001 阅读(2783) 评论(0) 推荐(0) 编辑
摘要: json 阅读全文
posted @ 2019-11-17 12:13 Truman001 阅读(1867) 评论(0) 推荐(0) 编辑
摘要: 安装证书百度云链接:https://pan.baidu.com/s/13FTaUpG5YqFV3ePltNzImg 提取码:u18i 将下载的证书按照下图方式安装,重新启动VS安装程序即可。 阅读全文
posted @ 2019-11-16 18:03 Truman001 阅读(782) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 18 下一页