文章分类 -  C++

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