会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
孤独的程序员dis1500
知识就是希望
上一页
1
···
37
38
39
40
41
42
43
44
45
···
618
下一页
2024年6月25日
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
阅读(55)
评论(0)
推荐(0)
2024年6月22日
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
阅读(24)
评论(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
阅读(21)
评论(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
阅读(150)
评论(0)
推荐(0)
2024年6月21日
ASCII 码表 unicode表 utf8表
摘要: ASCII 码表只包含 0 到 127 的字符表示,用单个字节即可表示。而对于超过 127 的字符,比如 0x9A,无法用 ASCII 码表表示。 对于超过 ASCII 码表的字符,可以使用其他字符编码表来表示,如 Unicode 编码表。Unicode 是一种用于表示所有字符的标准编码系统,它包含
阅读全文
posted @ 2024-06-21 23:03 lydstory
阅读(121)
评论(0)
推荐(0)
2024年6月15日
IMPLEMENT_DYNCREATE与IMPLEMENT_DYNAMIC有什么区别
摘要: IMPLEMENT_DYNCREATE(CMainFrm, CFrameWnd)IMPLEMENT_DYNAMIC(CMainFrm, CFrameWnd)
阅读全文
posted @ 2024-06-15 17:35 lydstory
阅读(21)
评论(0)
推荐(0)
SetUnhandledExceptionFilter作用
摘要: SetUnhandledExceptionFilter作用 SetUnhandledExceptionFilter作用 SetUnhandledExceptionFilter作用 设置异常捕获函数
阅读全文
posted @ 2024-06-15 02:52 lydstory
阅读(21)
评论(0)
推荐(0)
ch340 windows 10 driver
摘要: https://www.arduined.eu/ch340-windows-10-driver-download/
阅读全文
posted @ 2024-06-15 00:25 lydstory
阅读(19)
评论(0)
推荐(0)
2024年6月12日
sprt思普瑞特打印机
摘要: https://www.sprinter.com.cn/show-58-14-1.html
阅读全文
posted @ 2024-06-12 16:06 lydstory
阅读(57)
评论(0)
推荐(0)
2024年6月10日
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
阅读(43)
评论(0)
推荐(0)
上一页
1
···
37
38
39
40
41
42
43
44
45
···
618
下一页
导航
博客园
首页
新随笔
联系
订阅
管理
公告