06 2022 档案

摘要:问题场景: 以vector为例,有时候我们会把原始数据列表作为vector数组,同时把需要排序或其他处理的数组使用指向原始vector的迭代器数组 示例代码: #include <iostream> #include <vector> #include <algorithm> using names 阅读全文
posted @ 2022-06-26 20:52 飞天赤狐 阅读(19) 评论(0) 推荐(0) 编辑
摘要:主要器件&接线 杜邦线 杜邦线是用来连接组成电路的线,按照接头类型,分为公对公,母对母,公对母 有插针的端极为公,有插槽的端即为母 这里使用的母对母杜邦线 1602A显示屏&IIC 直接使用1602A直连方式会需要太多接线,占据esp32很多IO端口,所以一般采用IIC模块转接方式,该方式只需要4根 阅读全文
posted @ 2022-06-25 16:22 飞天赤狐 阅读(380) 评论(0) 推荐(0) 编辑
摘要:错误写法 循环内直接erase #include <iostream> #include <vector> #include <string> using namespace std; int main(int argc, char* argv[]) { vector<string> nameLis 阅读全文
posted @ 2022-06-23 07:28 飞天赤狐 阅读(127) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示