- 博客(5)
- 收藏
- 关注
原创 2021.11.3 解决CMake调用Python路径问题
cmake .. -DPYTHON_EXECUTABLE=$(which python)cmake .. -DPYTHON_EXECUTABLE=$(which python3)包管理:pyenv
2021-11-03 09:20:18 3248
原创 2021.9.9 解决c++整数转化为16进制字符串问题
#include <string>string hex_to_str(uint16_t mask,int len){ //16进制字符集 string hexes[16] = {"0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"}; string hexstring = ""; for (int i=0; i<len; i++){ int j = len-i-1; //按顺序取4bit数 i
2021-09-09 21:47:08 1212
原创 2021.8.11 搜索匹配程序输出中的字符串
stp xxx.cvc | grep xx# xxx or xxx or xxx stp xxx.cvc | grep 'xxx\|xxx\|xxx'
2021-08-11 16:44:05 83
原创 2021.0803 解决C++输出二进制数问题
#include <bitset>using std::bitset;//16 is the output bit number of x.cout << bitset<16>(x) << endl;
2021-08-03 19:37:29 120
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人