上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 20 下一页
摘要: #Code-C++-fstream-输出到文件 利用fstream文件流输出 利用stat查看文件大小 设定文件最大值宏定义 #include <fstream> #include <string> #include <sys/stat.h> #include <iostream> #define 阅读全文
posted @ 2023-04-10 23:44 Theseus‘Ship 阅读(41) 评论(0) 推荐(0)
摘要: #C++-C11-chrono-获取当前时间、获取阶段时间 Linux下使用C++11的chrono库获取时间。 #include <chrono> #include <thread> #include <iostream> int64_t getCurrentLocalTimeStamp(){ s 阅读全文
posted @ 2023-04-10 23:34 Theseus‘Ship 阅读(375) 评论(0) 推荐(0)
摘要: OS-Linux-端口占用 当Linux应用程序提示端口被占用,解决方案是先查询端口占用进程的pid,然后kill pid。 netstat -tlnap |grep port lsof -i:port查看端口占用的进程 kill-9 pid kill占用端口的进程 阅读全文
posted @ 2023-04-09 23:58 Theseus‘Ship 阅读(15) 评论(0) 推荐(0)
摘要: OS-Ubuntu-thunderbird包版本过低不兼容 在安装搜狗输入法时,遇到过thunderbird包版本过低不兼容的问题, 问题的格式如下: thunderbird-local-zh-hans: depends: thunderbird(<1:31 build 12.04.... but 阅读全文
posted @ 2023-04-09 23:51 Theseus‘Ship 阅读(99) 评论(0) 推荐(0)
摘要: OS-Ubuntu-安装搜狗拼音输入法 搜狗输入法Linux版本:sogoupinyin_4.2.1.145_amd64.deb 下载地址:https://shurufa.sogou.com/linux 安装指南:https://shurufa.sogou.com/linux/guide sogou 阅读全文
posted @ 2023-04-09 23:27 Theseus‘Ship 阅读(1488) 评论(0) 推荐(0)
摘要: C++-Ubuntu core dumped(核心已转储)-GDB调试 Linux的可执行程序异常退出时,提示“核心已转储”。 此时需要系统生成core文件,并通过GDB调试以确定问题。 https://blog.csdn.net/scjdas/article/details/128585787 设 阅读全文
posted @ 2023-04-09 23:07 Theseus‘Ship 阅读(349) 评论(0) 推荐(0)
摘要: OS-Linux-环境变量-LD_LIBRARY_PATH Linux中PATH、 LIBRARY_PATH、 LD_LIBRARY_PATH的区别 运行时动态库的搜索路径的先后顺序是: 编译目标代码时指定的动态库搜索路径; 环境变量LD_LIBRARY_PATH指定的动态库搜索路径; 配置文件/e 阅读全文
posted @ 2023-04-09 21:55 Theseus‘Ship 阅读(513) 评论(0) 推荐(0)
摘要: #Python-venv-创建和管理虚拟环境 https://docs.python.org/3/tutorial/venv.html 概述 Python应用程序通常会使用不在标准库内的软件包和模块。应用程序有时需要特定版本的库,因为应用程序可能需要修复特定的错误,或者可以使用库的过时版本的接口编写 阅读全文
posted @ 2023-04-09 13:38 Theseus‘Ship 阅读(105) 评论(0) 推荐(0)
摘要: Code-C++ Invoke Python https://www.cnblogs.com/yongchao/p/17299892.html 使用 C 或 C++ 扩展 Python 扩展和嵌入 Python 解释器 Python 3.10.11 Python/C API 参考手册 Python 阅读全文
posted @ 2023-04-09 10:46 Theseus‘Ship 阅读(42) 评论(0) 推荐(0)
摘要: OS-Linux-Ubuntu22.04x64-Python-C++调用Python缺少Python.h 使用 C 或 C++ 扩展 Python 扩展和嵌入 Python 解释器 Python 3.10.11 Python/C API 参考手册 Python 3.11.3 Python/C API 阅读全文
posted @ 2023-04-09 10:07 Theseus‘Ship 阅读(923) 评论(0) 推荐(0)
摘要: OS-Linux-Ubuntu-apt-get https://help.ubuntu.com/community/AptGet/Howto Package management via apt-get runs hand-in-hand with the /etc/apt/sources.list 阅读全文
posted @ 2023-04-08 21:16 Theseus‘Ship 阅读(17) 评论(0) 推荐(0)
摘要: VMware Workstation-Ubuntu虚拟机-异常关闭后网卡无法工作 参考https://blog.csdn.net/lhx526080338/article/details/129360808 虚拟机镜像ubuntu-22.04.2-desktop-amd64.iso 虚拟机启动之后, 阅读全文
posted @ 2023-04-08 16:42 Theseus‘Ship 阅读(138) 评论(0) 推荐(0)
摘要: #IDE-Visual Studio Code Visual Studio Code is a lightweight but powerful source code editor which runs on your desktop and is available for Windows, m 阅读全文
posted @ 2023-04-08 12:40 Theseus‘Ship 阅读(94) 评论(0) 推荐(0)
摘要: OS-Linux-Ubuntu-Tool-Visual Studio Code 在Ubuntu上,可以使用Visual Studio Code进行代码调试。 Visual Studio Code官网如下:https://code.visualstudio.com/ 对于Ubuntu,提供deb包。 阅读全文
posted @ 2023-04-08 02:02 Theseus‘Ship 阅读(34) 评论(0) 推荐(0)
摘要: OS-Linux-Tool-可视化比较与合并工具Meld 在Linux系统上有时会需要进行文件比较与合并,Meld能提供相关功能。 http://meldmerge.org/ http://meldmerge.org/help/ Meld Visual diff and merge tool Mel 阅读全文
posted @ 2023-04-06 21:37 Theseus‘Ship 阅读(85) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 20 下一页
Live2D