上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 28 下一页
摘要: #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)
摘要: 创建一个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)
摘要: 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)
摘要: 参考微软doc 将可执行文件链接到 DLL msvc的动态链接库分为隐式链接(Implicit Linking)和显式链接(Explicit Linking) 隐式链接需要:.h文件,.lib文件,.dll文件 显式链接只需要:.dll文件 隐式链接 这里的.lib文件并不是静态库(static l 阅读全文
posted @ 2022-07-07 13:13 feipeng8848 阅读(166) 评论(0) 推荐(0)
摘要: 9000 正常 成功执行 6200 警告 信息未提供 6281 警告 回送数据可能出错 6282 警告 文件长度小于Le 6283 警告 选中的文件无效 6284 警告 FCI格式与P2指定的不符 6300 警告 认证失败 63Cx 警告 PIN校验失败(X表示允许重试次数) 6400 出错 状态标 阅读全文
posted @ 2022-07-06 17:15 feipeng8848 阅读(133) 评论(0) 推荐(0)
摘要: 函数定义: #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)
摘要: 有了“c/c++”分类下的前边那些“基本概念1-9”以及“Windows上的gcc”的铺垫,终于可以搭建开发环境了 编译器 我打算做原生开发,也就是在Windows上不依赖任何多余的dll,所以只能选mingw的gcc了。 https://winlibs.com/ 下载了一个最新的 winlibs- 阅读全文
posted @ 2022-06-24 17:25 feipeng8848 阅读(1283) 评论(0) 推荐(0)
摘要: 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)
摘要: 转自 https://zhuanlan.zhihu.com/p/404179039 添加本地pubkey到远程authorized_keys文件之后 需要继续执行如下操作 以下是windows中特有的操作 更改authorized_keys文件权限,不更改则无法通过密钥登录 远程通过ACL更改文件权 阅读全文
posted @ 2022-04-14 14:47 feipeng8848 阅读(463) 评论(0) 推荐(0)
摘要: 原因在于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 下一页