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