上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 15 下一页
摘要: numeric_limits 类模板提供了一种标准化的方式来查询算术类型的各种属性 比如 std::numeric_limits<int>::max() numeric_limits 提供了专有的信息 #include <limits> #include <iostream> int main() 阅读全文
posted @ 2022-06-10 10:33 simp00 阅读(523) 评论(0) 推荐(0)
摘要: alias cl="conda env list" alias cc="conda create -n" alias coa="conda activate" alias cod="conda deactivate" alias cr="conda remove --all -n" export D 阅读全文
posted @ 2022-06-10 09:36 simp00 阅读(195) 评论(0) 推荐(0)
摘要: ''' wget http://download.savannah.nongnu.org/releases/exosip/libexosip2-5.2.1.tar.gz wget http://ftp.gnu.org/gnu/osip/libosip2-5.2.1.tar.gz wget https 阅读全文
posted @ 2022-05-31 17:26 simp00 阅读(435) 评论(0) 推荐(0)
摘要: 对于需要调用C代码的一些小的问题,通常使用Python标准库中的 ctypes 模块就足够了。 要使用 ctypes ,你首先要确保你要访问的C代码已经被编译到和Python解释器兼容 (同样的架构、字大小、编译器等)的某个共享库中。 这里有个c语言读取linux下cpu很memory相关的c代码 阅读全文
posted @ 2022-05-31 09:54 simp00 阅读(185) 评论(0) 推荐(0)
摘要: #rcc静态资源编译及使用 ##编译命令 rcc --binary resource.qrc -o resource.rcc ##在代码中加载 QResource::registerResource(qApp->applicationDirPath() + "/rcc/skin.rcc"); QFi 阅读全文
posted @ 2022-05-30 10:55 simp00 阅读(315) 评论(0) 推荐(0)
摘要: 1 本机网络信息编程 1.1获取本机计算机名称和IP ###1.1.1 gethostname函数 作用:检索本地计算机的标准名称 函数声明: int gethostname(char*name,int namelen); 参数介绍: name:指向接收本地主机名的缓冲区指针 namelen nam 阅读全文
posted @ 2022-05-27 18:08 simp00 阅读(150) 评论(0) 推荐(0)
摘要: 先编译openssl libssh2-1.10.0 https://www.openssl.org/source/openssl-1.1.1o.tar.gz 下载工具 https://strawberryperl.com/download/5.32.1.1/strawberry-perl-5.32. 阅读全文
posted @ 2022-05-23 14:06 simp00 阅读(559) 评论(0) 推荐(0)
摘要: QDir dir("D:/Test"); QString path = QDir::toNativeSeparators(dir.absoluteFilePath("1.txt")); 阅读全文
posted @ 2022-05-11 16:00 simp00 阅读(728) 评论(0) 推荐(0)
摘要: QString path=QFileDialog::getExistingDirectory(NULL, tr("选择文件夹"),QDir::currentPath(),QFileDialog::ShowDirsOnly); QDir *dir=new QDir(path); QStringList 阅读全文
posted @ 2022-05-11 14:12 simp00 阅读(406) 评论(0) 推荐(0)
摘要: 安装code:打开VSCode –> command+shift+p –> 输入shell command –> 点击提示Shell Command: Install ‘code’ command in PATH运行 阅读全文
posted @ 2022-05-01 21:11 simp00 阅读(433) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 15 下一页