会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
feipeng8848
博客园
首页
新随笔
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
28
下一页
2022年7月19日
char数组与十六进制字符串互转
摘要: #include <stdio.h> #include <stdlib.h> #include <string.h> #define hexStrToUint8(dest, str, strLen) {\ unsigned int val;\ for(int i = 0; i < strLen; i
阅读全文
posted @ 2022-07-19 10:29 feipeng8848
阅读(1229)
评论(0)
推荐(0)
2022年7月8日
QT基础——qt6.2.4的cmake 流程
摘要: 创建一个cmake工程 cmake_minimum_required(VERSION 3.16) project(untitled VERSION 0.1 LANGUAGES CXX) set(CMAKE_AUTOMOC ON) set(CMAKE_CXX_STANDARD_REQUIRED ON)
阅读全文
posted @ 2022-07-08 21:25 feipeng8848
阅读(1011)
评论(0)
推荐(0)
2022年7月7日
msvc 库目录/附加库目录 包含目录/附加包含目录的区别
摘要: include 参考 https://docs.microsoft.com/en-us/cpp/build/reference/i-additional-include-directories?view=msvc-170 msvc在编译的时候按照以下顺序搜索头文件: 用双引号(#include “x
阅读全文
posted @ 2022-07-07 14:00 feipeng8848
阅读(503)
评论(0)
推荐(0)
msvc的动态链接
摘要: 参考微软doc 将可执行文件链接到 DLL msvc的动态链接库分为隐式链接(Implicit Linking)和显式链接(Explicit Linking) 隐式链接需要:.h文件,.lib文件,.dll文件 显式链接只需要:.dll文件 隐式链接 这里的.lib文件并不是静态库(static l
阅读全文
posted @ 2022-07-07 13:13 feipeng8848
阅读(166)
评论(0)
推荐(0)
2022年7月6日
apdu 错误码
摘要: 9000 正常 成功执行 6200 警告 信息未提供 6281 警告 回送数据可能出错 6282 警告 文件长度小于Le 6283 警告 选中的文件无效 6284 警告 FCI格式与P2指定的不符 6300 警告 认证失败 63Cx 警告 PIN校验失败(X表示允许重试次数) 6400 出错 状态标
阅读全文
posted @ 2022-07-06 17:15 feipeng8848
阅读(133)
评论(0)
推荐(0)
2022年6月27日
getopt函数
摘要: 函数定义: #include <unistd.h> extern char *optarg; extern int optind, opterr, optopt; #include <getopt.h> int getopt(int argc, char * const argv[],const c
阅读全文
posted @ 2022-06-27 16:10 feipeng8848
阅读(120)
评论(0)
推荐(0)
2022年6月24日
Windows11搭建c/c++开发环境
摘要: 有了“c/c++”分类下的前边那些“基本概念1-9”以及“Windows上的gcc”的铺垫,终于可以搭建开发环境了 编译器 我打算做原生开发,也就是在Windows上不依赖任何多余的dll,所以只能选mingw的gcc了。 https://winlibs.com/ 下载了一个最新的 winlibs-
阅读全文
posted @ 2022-06-24 17:25 feipeng8848
阅读(1283)
评论(0)
推荐(0)
2022年5月7日
常用的一些命令行工具
摘要: alias # 显示全部已定义的别名 alias alias -p # 显示已定义的别名(假设当前环境存在以下别名) alias ls alias ls grep # 定义或修改别名的值 alias ls='ls --color=auto' alias ls='ls --color=never' g
阅读全文
posted @ 2022-05-07 17:46 feipeng8848
阅读(156)
评论(0)
推荐(0)
2022年4月14日
pubkey登录到Windows远程主机(win11)
摘要: 转自 https://zhuanlan.zhihu.com/p/404179039 添加本地pubkey到远程authorized_keys文件之后 需要继续执行如下操作 以下是windows中特有的操作 更改authorized_keys文件权限,不更改则无法通过密钥登录 远程通过ACL更改文件权
阅读全文
posted @ 2022-04-14 14:47 feipeng8848
阅读(463)
评论(0)
推荐(0)
2022年3月29日
git log 退出之后 log不保留在屏幕上(mac)
摘要: 原因在于git使用的是less命令,less默认不像cat一样保留。 通过以下命令设置保留 git config --global --replace-all core.pager "less -iXFR" 执行完能从 ~/.gitconfig 文件中看到: 参考 https://serebrov.
阅读全文
posted @ 2022-03-29 16:21 feipeng8848
阅读(180)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
28
下一页
公告