上一页 1 2 3 4 5 6 7 8 9 ··· 582 下一页

2024年6月25日

摘要: 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 阅读(1) 评论(0) 推荐(0) 编辑

2024年6月22日

摘要: #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 阅读(1) 评论(0) 推荐(0) 编辑
摘要: #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 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 根据UTF-8编码规则,UTF-8字节序列以字节的高位位数来判断字节序列的长度,从而确定一个Unicode字符的开始和结束。 UTF-8的规则如下: 一个字节字符(ASCII字符)的第一个字节的最高位为0,后续7位用于表示字符的值。 两字节字符的第一个字节的前3位为110,后续5位用于表示字符的值; 阅读全文
posted @ 2024-06-22 10:41 lydstory 阅读(3) 评论(0) 推荐(0) 编辑

2024年6月21日

摘要: ASCII 码表只包含 0 到 127 的字符表示,用单个字节即可表示。而对于超过 127 的字符,比如 0x9A,无法用 ASCII 码表表示。 对于超过 ASCII 码表的字符,可以使用其他字符编码表来表示,如 Unicode 编码表。Unicode 是一种用于表示所有字符的标准编码系统,它包含 阅读全文
posted @ 2024-06-21 23:03 lydstory 阅读(4) 评论(0) 推荐(0) 编辑

2024年6月15日

摘要: IMPLEMENT_DYNCREATE(CMainFrm, CFrameWnd)IMPLEMENT_DYNAMIC(CMainFrm, CFrameWnd) 阅读全文
posted @ 2024-06-15 17:35 lydstory 阅读(3) 评论(0) 推荐(0) 编辑
摘要: SetUnhandledExceptionFilter作用 SetUnhandledExceptionFilter作用 SetUnhandledExceptionFilter作用 设置异常捕获函数 阅读全文
posted @ 2024-06-15 02:52 lydstory 阅读(3) 评论(0) 推荐(0) 编辑
摘要: https://www.arduined.eu/ch340-windows-10-driver-download/ 阅读全文
posted @ 2024-06-15 00:25 lydstory 阅读(3) 评论(0) 推荐(0) 编辑

2024年6月12日

摘要: https://www.sprinter.com.cn/show-58-14-1.html 阅读全文
posted @ 2024-06-12 16:06 lydstory 阅读(1) 评论(0) 推荐(0) 编辑

2024年6月10日

摘要: #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 阅读(3) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 582 下一页

导航