随笔分类 -  c++语言

上一页 1 2 3 4 5 6 7 ··· 25 下一页

c++语言
mingw
摘要:https://www.msys2.org/ pacman -S mingw-w64-ucrt-x86_64-gcc C:\msys64\ucrt64\bin pacman -S mingw-w64-ucrt-x86_64-gdb 阅读全文

posted @ 2024-06-25 13:33 lydstory 阅读(47) 评论(0) 推荐(0) 编辑

crc16 linux版本
摘要:#include <stdio.h> #include <stdint.h> // CRC-16-CCITT标准的多项式 #define POLY 0x1021 uint16_t crc16(uint16_t crc, const unsigned char *buffer, size_t len) 阅读全文

posted @ 2024-06-22 23:46 lydstory 阅读(4) 评论(0) 推荐(0) 编辑

crc校验
摘要:#include <stdio.h> #include <stdint.h> uint16_t crc16(uint8_t *data, int length) { uint16_t crc = 0xFFFF; for (int i = 0; i < length; i++) { crc ^= da 阅读全文

posted @ 2024-06-22 13:11 lydstory 阅读(17) 评论(0) 推荐(0) 编辑

UTF-8编码规则【chatgpt】
摘要:根据UTF-8编码规则,UTF-8字节序列以字节的高位位数来判断字节序列的长度,从而确定一个Unicode字符的开始和结束。 UTF-8的规则如下: 一个字节字符(ASCII字符)的第一个字节的最高位为0,后续7位用于表示字符的值。 两字节字符的第一个字节的前3位为110,后续5位用于表示字符的值; 阅读全文

posted @ 2024-06-22 10:41 lydstory 阅读(59) 评论(0) 推荐(0) 编辑

IMPLEMENT_DYNCREATE与IMPLEMENT_DYNAMIC有什么区别
摘要:IMPLEMENT_DYNCREATE(CMainFrm, CFrameWnd)IMPLEMENT_DYNAMIC(CMainFrm, CFrameWnd) 阅读全文

posted @ 2024-06-15 17:35 lydstory 阅读(11) 评论(0) 推荐(0) 编辑

SetUnhandledExceptionFilter作用
摘要:SetUnhandledExceptionFilter作用 SetUnhandledExceptionFilter作用 SetUnhandledExceptionFilter作用 设置异常捕获函数 阅读全文

posted @ 2024-06-15 02:52 lydstory 阅读(10) 评论(0) 推荐(0) 编辑

ch340 windows 10 driver
摘要:https://www.arduined.eu/ch340-windows-10-driver-download/ 阅读全文

posted @ 2024-06-15 00:25 lydstory 阅读(9) 评论(0) 推荐(0) 编辑

c++ char*作为函数参数
摘要:#include "stdafx.h" #include <iostream> using namespace std; bool uc_is_usb(char *devid) { return strlen(devid) > 3 && devid[0] == 'U' && devid[1] == 阅读全文

posted @ 2024-06-10 23:07 lydstory 阅读(27) 评论(0) 推荐(0) 编辑

vc++调用js
摘要:https://learn.microsoft.com/zh-cn/troubleshoot/developer/visualstudio/cpp/libraries/call-script-control-run-method 阅读全文

posted @ 2024-06-10 22:42 lydstory 阅读(5) 评论(0) 推荐(0) 编辑

录酷软件
摘要:http://www.lukool.cn/download 录屏软件哪个好用_电脑录屏怎么录_KK录像机官网_免费下载 (kklxj.com) https://svip.ieway.cn/newRegister 录屏收费 阅读全文

posted @ 2024-06-04 14:11 lydstory 阅读(6) 评论(0) 推荐(0) 编辑

uint8与与或监测【c/c++课程】
摘要:// uinttest.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include <iostream> #ifndef GENERIC #define GENERIC #endif using namespace std; typedef unsign 阅读全文

posted @ 2024-06-04 04:16 lydstory 阅读(25) 评论(0) 推荐(0) 编辑

0的与等于自身
摘要:uint16 IOTest_Result2=0; //第2次检测 IOTest_Result2 |= (1 << 2); IOTest_Result2 |= (1 << 3); IOTest_Result2 |= (1 << 3); 阅读全文

posted @ 2024-06-03 21:57 lydstory 阅读(5) 评论(0) 推荐(0) 编辑

IAR集成开发环境
摘要:IAR集成开发环境 ewd&ewp&eww文件介绍 阅读全文

posted @ 2024-06-03 16:27 lydstory 阅读(8) 评论(0) 推荐(0) 编辑

ONT Management and Control Interface)【chatgpt】
摘要:ONT Management and Control Interface,光网络终端管理与控制接口)协议是用于管理光纤到户(FTTH)网络中光网络终端(ONT)的一种协议。它定义了光线路终端(OLT)和ONT之间的通信机制,使得网络服务提供商能够远程管理和配置ONT。 OMCI的作用主要体现在以下几 阅读全文

posted @ 2024-05-12 03:35 lydstory 阅读(26) 评论(0) 推荐(0) 编辑

mosquitto
摘要:mosquitto mqtt c++ 阅读全文

posted @ 2024-05-03 16:23 lydstory 阅读(19) 评论(0) 推荐(0) 编辑

xfopen fopen_for_read
摘要:#include <stdio.h> # define FAST_FUNC /* nothing */ FILE* FAST_FUNC fopen_for_read(const char *path) { return fopen(path, "r"); } FILE* FAST_FUNC xfop 阅读全文

posted @ 2024-04-29 17:50 lydstory 阅读(12) 评论(0) 推荐(0) 编辑

UKUI开源界面设计
摘要:UKUI开源界面设计 UKUI开源界面设计 UKUI开源界面设计 UKUI开源界面设计 UKUI开源界面设计 阿里云 mqtt 云服务 共享茶室 ..... 阅读全文

posted @ 2024-04-27 00:38 lydstory 阅读(13) 评论(0) 推荐(0) 编辑

字符串里找数字
摘要:#include <iostream> #include <string> #include <cctype> int main() { std::string input; std::cout << "请输入一个字符串: "; std::getline(std::cin, input); // 读 阅读全文

posted @ 2024-04-26 20:33 lydstory 阅读(12) 评论(0) 推荐(0) 编辑

华为od python
摘要:import sys rows = 4 cols = 4 matrix = [[0, 1,1,1], [30, 30,-1,40],[0, 20,20,40],[10, -1,30,40]] offsets = ((-1, 0), (1, 0), (0, -1), (0, 1)) class Nod 阅读全文

posted @ 2024-04-26 20:10 lydstory 阅读(16) 评论(0) 推荐(0) 编辑

华为od第三题
摘要:https://blog.csdn.net/2301_76848549/article/details/136465492?csdn_share_tail=%7B%22type%22%3A%22blog%22%2C%22rType%22%3A%22article%22%2C%22rId%22%3A% 阅读全文

posted @ 2024-04-26 19:26 lydstory 阅读(5) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 ··· 25 下一页

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

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