05 2022 档案
摘要:''' 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
阅读全文
摘要:对于需要调用C代码的一些小的问题,通常使用Python标准库中的 ctypes 模块就足够了。 要使用 ctypes ,你首先要确保你要访问的C代码已经被编译到和Python解释器兼容 (同样的架构、字大小、编译器等)的某个共享库中。 这里有个c语言读取linux下cpu很memory相关的c代码
阅读全文
摘要:#rcc静态资源编译及使用 ##编译命令 rcc --binary resource.qrc -o resource.rcc ##在代码中加载 QResource::registerResource(qApp->applicationDirPath() + "/rcc/skin.rcc"); QFi
阅读全文
摘要:1 本机网络信息编程 1.1获取本机计算机名称和IP ###1.1.1 gethostname函数 作用:检索本地计算机的标准名称 函数声明: int gethostname(char*name,int namelen); 参数介绍: name:指向接收本地主机名的缓冲区指针 namelen nam
阅读全文
摘要:先编译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.
阅读全文
摘要:QDir dir("D:/Test"); QString path = QDir::toNativeSeparators(dir.absoluteFilePath("1.txt"));
阅读全文
摘要:QString path=QFileDialog::getExistingDirectory(NULL, tr("选择文件夹"),QDir::currentPath(),QFileDialog::ShowDirsOnly); QDir *dir=new QDir(path); QStringList
阅读全文
摘要:安装code:打开VSCode –> command+shift+p –> 输入shell command –> 点击提示Shell Command: Install ‘code’ command in PATH运行
阅读全文

浙公网安备 33010602011771号