上一页 1 ··· 46 47 48 49 50 51 52 53 54 ··· 121 下一页
摘要: // constructing vectors #include #include int main () { // constructors used in the same order as described above: std::vector first; // empty vector of ints... 阅读全文
posted @ 2019-07-21 09:58 wdliming 阅读(239) 评论(0) 推荐(0)
摘要: intput.txt input.txt.sort c_str()函数返回一个指向正规C字符串的指针常量, 内容与本string串相同. 解决的方法有两种: 1.用c_str()函数,下面详细介绍。 2.包含头文件"string" 下面我们进入正题,请出我们的今天的主角 c_str() 他是一个函数 阅读全文
posted @ 2019-07-21 09:24 wdliming 阅读(621) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/lkpp/p/vscode-cpp.html 阅读全文
posted @ 2019-07-14 10:33 wdliming 阅读(287) 评论(0) 推荐(0)
摘要: #include using namespace std; class Student1 { private: int _a; int _b; public: void fprint() { cout _a = t1._a; this->_b = t1._b; } Student1 & operator = (c... 阅读全文
posted @ 2019-07-13 21:40 wdliming 阅读(1028) 评论(0) 推荐(0)
摘要: from:https://www.cnblogs.com/tgycoder/p/4218696.html 1.引例: 今天在做了一道关于有符号数和无符号数相互转换及其左移/右移的问题,被它们之间的转换原理和位移原理搞得头大了。真的很后悔本科的时候没有认真学习《计算机组成原理》/《计算机操作系统》等计 阅读全文
posted @ 2019-07-08 16:43 wdliming 阅读(3298) 评论(0) 推荐(0)
摘要: 前提是需要安装Markdown Preview Enhanced插件 阅读全文
posted @ 2019-07-07 15:40 wdliming 阅读(367) 评论(0) 推荐(0)
摘要: 以上文件路径如下:C:\Users\Administrator\AppData\Roaming\Notepad++\shortcuts.xml 阅读全文
posted @ 2019-07-07 15:35 wdliming 阅读(705) 评论(0) 推荐(0)
摘要: 添加编译器 -D参数,并修改c/cpp编译方式 阅读全文
posted @ 2019-07-02 09:10 wdliming 阅读(1032) 评论(0) 推荐(0)
摘要: STM32使用Cubemx生成的代码中,用到IIC的驱动,但是始终不能读写,因此使用逻辑分析仪,发现原本地址为0x58的写成了0x20,因此肯定是地址错了。因此,总结如下:1、需要逻辑分析仪分析IIC协议书很好的,目前使用的工具是:DSView 逻辑分析仪。2、keil在线debug的能够独写一次的 阅读全文
posted @ 2019-07-01 22:14 wdliming 阅读(795) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/linuxAndMcu/p/10009721.html 《C语言嵌入式系统编程修炼》 阅读全文
posted @ 2019-06-30 22:19 wdliming 阅读(263) 评论(0) 推荐(0)
上一页 1 ··· 46 47 48 49 50 51 52 53 54 ··· 121 下一页