文章分类 - C++
摘要:#include <stdio.h> #include <stdlib.h> #define GPIOA "0x40020000" //打印二进制位 void printBinary(int num) { for (int i = 31; i >= 0; i--) { printf("%d", (n
阅读全文
摘要://用于从32位整数中提取各个字节。 #define BYTE0(temp) (*(char *)(&temp)) // 取前8位内容 0-7 #define BYTE1(temp) (*((char *)(&temp) + 1)) // 取8-15位 #define BYTE2(temp) (*(
阅读全文
摘要:#include <stdio.h> #define P1MODL_P1MOD2_MASK 0x30 //0011 0000 #define P1MODL_P1MOD2_POS 4 // int main() { unsigned char P1MODL=0x55; P1MODL = (P1MODL
阅读全文
摘要:https://blog.csdn.net/leftfist/article/details/142586651 sudo rabbitmq-plugins enable rabbitmq_management sudo rabbitmq-plugins enable rabbitmq_stomp
阅读全文
摘要:https://www.cnblogs.com/findumars/p/6653704.html sudo apt install cppman #安装 cppman cppman -s www.cppreference.com ##指向源 cppman -r ## 重建索引
阅读全文
摘要:https://www.ibm.com/docs/zh/xl-c-and-cpp-aix/16.1.0?topic=pdf-format-documentation
阅读全文
摘要:#include <iostream> using namespace std; class Point; class Cal { protected: private: public: void distance(const Point& p); //一个类的成员函数作为另外一个类的友元函数 };
阅读全文
摘要:#include <iostream> using namespace std; class student { public: student() {}; student(int _sno, string _name, int _age, int _sex) { this->sno = _sno;
阅读全文
摘要:https://www.cnblogs.com/lidabo/p/17222711.html https://blog.csdn.net/iqanchao/article/details/145543203 https://www.cnblogs.com/lidabo/p/17222748.html
阅读全文
摘要:https://www.runoob.com/cplusplus/cpp-multithreading.html
阅读全文
摘要:C 语言核心 https://zh.cppreference.com/w/c/language C++ 语言核心 https://zh.cppreference.com/w/cpp/language
阅读全文
摘要:https://blog.csdn.net/weixin_44327736/article/details/105387414 一、内存四区模型C++程序在执行时,将内存大方向划分为4个区域 代码区:存放函数体的二进制代码,由操作系统进行管理的全局区:存放全局变量和静态变量以及常量栈区:由编译器自动
阅读全文
摘要:微软: https://learn.microsoft.com/zh-cn/previous-versions/visualstudio/visual-studio-2012/hh875057(v=vs.110) 阿里云大学: https://github.com/0voice/cpp_new_fe
阅读全文
摘要:#include <iostream> using namespace std; int main() { //数组倒序排列 int a[5] = { 29,6,38,97,17 }; int size = sizeof(a) / sizeof(a[0]); int* p = a; int* q =
阅读全文
摘要:https://blog.csdn.net/lyabc123456/article/details/133075381 https://blog.csdn.net/zxn275266/article/details/136061207
阅读全文
摘要:https://mp.weixin.qq.com/s/Ssk3m2CWorn0ejgMPDo9lQ
阅读全文
摘要:https://www.cnblogs.com/knight-monkey/p/cpp_learn_20220820.html https://blog.csdn.net/JasonZhao7/article/details/128159650 yum list | grep gcc-toolset
阅读全文
摘要:https://www.cnblogs.com/apocelipes/p/11431808.html
阅读全文
摘要:https://gitee.com/shatanzhihu/xms
阅读全文

浙公网安备 33010602011771号