https://www.ciang.top/ https://www.ciang.top/
首页
  • 首页
  • python
  • 工具经验
  • 教程
  • c++
  • mysql
  • 登录
搜索历史 清空
写文章

登录

账号密码登录
扫码登录
扫码登录
请使用手机扫码登录
注册登录即表示同意用户协议和隐私政策
编程
java c/c++ mysql python excel html/css/js 工具经验
思路/心得
传奇私服-V8M2引擎学习笔记
教程
翻译
游戏
推荐 最新
linux mint下使用fcitx5-rime指南
benojan 2024-1-13

linux mint下使用fcitx5-rime指南

用户目录 $HOME/.local/share/fcitx5/rime

583 27 0
Linux
linux mint下,安裝最新版nodejs,安裝yarn
benojan 2024-1-12

linux mint下,安裝最新版nodejs,安裝yarn

添加Node.js PPA curl -sL https://deb.nodesource.com/setup_lts.x | sudo -E bash - 安裝nodejs sudo apt-get install nodejs 安裝yarn sudo npm i -g yarn 添加国内源 yarn config set registry https://registry.npmmirror.com/

566 27 0
Linuxnodejs
linux mint 美化
benojan 2024-1-10

linux mint 美化

避坑 避免使用界面缩放,特别是使用ibus输入法框架的时候,会不跟随光标。 桌面美化 主题 安装主题CBlack、CBlue 主题中的应用程序选择CBlack 主题中的图标选择Papirus 主题中的桌面选择CBlue 类mac扩展坞 安装plank sudo apt install plank 管理plank 按住Ctrl键,同时在plank上右击,选择主题Transparent 桌面小工具 安装System monitor graph 安装Timelet 调整桌面图标大小 桌面右键,选自定义

933 27 0
Linux
Python之虚拟环境
benojan 2024-1-9

Python之虚拟环境

一、创建环境 python -m venv ENV_DIR 二、激活环境 windows下: .\ENV_DIR\Scripts\activate mac下: source .\ENV_DIR\bin\activate 三、安装环境 pip install django pip install djangorestframework pip install pymysql pip install django-cors-headers 接下来可以参考: DRF的创建步骤

531 27 0
pythonvenv虚拟环境
C语言
benojan 2023-12-20

C语言

C编程常用 EXIT_SUCCESS // 退出成功 EXIT_FAILURE // 推出失败

431 27 0
vim常用配置
benojan 2023-12-5

vim常用配置

vim 常用配置 autocmd BufNewFile *.c 0r ~/模板/c.c autocmd BufNewFile *.cc 0r ~/模板/c++.cpp autocmd BufNewFile *.cxx 0r ~/模板/c++.cpp autocmd BufNewFile *.cpp 0r ~/模板/c++.cpp set ai # 自动缩进 set nu # (number) 显示行标 set ts=4 # (tabstop) 制表符缩进4格 set sw=4 # (shiftwidth) 缩进4格

502 27 0
Linuxvim
linux mint下,编译boost及librime
benojan 2023-12-1

linux mint下,编译boost及librime

编译boost 下载boost 如:boost_1_82_0 https://www.boost.org/ 安装boost cd path/to/boost_1_82_0 # ./bootstrap.sh sudo ./b2 install 编译librime 拉取源代码 git clone --recursive https://github.com/rime/librime.git 编译 make sudo make install

471 27 0
boostLinux
c语言静态库、动态库制作
benojan 2023-11-30

c语言静态库、动态库制作

静态库制作及步骤 将 .c 生成 .o 文件 gcc -c add.c -o add.o 使用 ar 工具,制作静态库 ar rcs lib库名.a add.o sub.o div.o 编译静态库到可执行文件中 gcc test.c lib库名.a -o a.out 动态库制作及使用步骤 将 .c 生成 .o 文件 gcc -c add.c -o add.o -fPIC 使用 gcc -shared 制作动态库 gcc -shared lib库名.so add.o sub.o div.o 编译可执行文件,指定所使用的动态库 -l 指定库名 -L 指定库路径 gcc test.c -o a.out -l库名 -L./lib -I./inc 运行程序前的准备 export LD_LIBRARY_PATH=./lib 运行

507 27 0
关于C++里的查询
benojan 2023-11-27

关于C++里的查询

一、str.find() 在字符串str中查询子串的位置 #include <iostream> using namespace std; int main() { string str = "abcdefg"; size_t pos = str.find("bcd"); if(pos != string::npos) { // string::npos cout << pos << endl; // pos 为 1 } } 二、str.find_first_of() 在字符串str中查询字符的位置 #include <iostream> using namespace std; int main() { string str = "abcdefg"; size_t pos = str.find_first_of("bcd"); // 查询 'b' || 'c' || 'd' 在 str 的第一个位置 if(pos != string::npos) { // string::npos cout << pos << endl; // pos 为 1 } } 三、find() 在指定范围内,查询元素的位置(一般为有迭代器的对象或容器) #include <iostream> #include <algorithm> using namespace std; int main() { string str = "abcdef"; string::iterator pos = find(str.begin(), str.end(), 'b'); if (pos != str.end()) { cout << *pos << endl; } } 四、find_if() 在指定范围内,查询符合条件的元素的位置(一般为有迭代器的对象或容器) #include <iostream> #include <algorithm> using namespace std; template <typename T> class condition { public: condition(const T& str): m_str(str) {}; bool operator()(const T& str) { if(str > m_str) return true; return false; } private: T m_str; }; int main() { string str = "abcdefg"; string::iterator pos = find_if(str.begin(), str.end(), condition('b')); if (pos != str.end()) { cout << *pos << endl; } }

393 27 0
术语的理解
benojan 2023-10-23

术语的理解

抽象 朱光潜《形象思维在文艺中的作用和思想性》“抽象就是‘提炼’,也就是毛泽东同志在《实践论》里所说的‘将丰富的感觉材料加以去粗取精、去伪存真、由此及彼、由表及里的改造制作工夫。’”

418 27 0
  1. 首页
  2. 2
  3. 3
  4. 4
  5. 尾页

搜索

搜索历史 清空

最新评论

标签

  • 重写
  • 继承
  • 虚函数
  • springboot
  • java
  • drf
  • 私服
  • 脚本
  • Windows窗口程序
  • cmake
  • dll
  • Modeless
  • Accelerators
  • WTL
  • ListCtrl
  • MFC
  • regex
  • 正则表达式
  • 虚拟环境
  • venv
  • radio
  • html
  • vim
  • nodejs
  • Linux
  • 宝塔面板
  • bt
  • chatGPT
  • AI
  • turtle
  • python
  • 我的世界
  • api
  • bukkit
  • 字符串操作
  • docker
  • 本地架设
  • 游戏
  • 编程
  • CodeCombat
  • 教程
  • 插件开发
  • Minecraft
  • GBK
  • Unicode
  • UTF-8
  • 字符集
  • 转换
  • 编码
  • boost

链接

  • 標準吳語字典
  • 台州方言維基
  • 溫嶺吳語微辭典
关于 友链 rss
Powered by benojan

备案号: