10 2024 档案
摘要:描述 命令 强制删除进程 pkill -9 [pid]/[pid name],如sudo pkill -9 code
阅读全文
摘要:从文件中读数据用ifstream,比如: #include <iostream> #include <fstream> int main(){ std::string file_name = "path/filename.txt"; std::ifstream i_f_stream(file_nam
阅读全文
摘要:描述 answer vscode在ctrl+shift+b选择cmake编译后怎么快速切回terminal运行一把? 只需要ctrl+`就行了 vscode怎么快速切换文件 ctrl+tab+上下键
阅读全文
摘要:Q:vscode新建cmake项目ctrl左键无法索引头文件? A:生成c_cpp_properties.json文件 打开命令面板ctrl+shift+p,输入[c/c++:]edit configuration(UI)或[c/c++:]edit configuration(JSON)即可生成;
阅读全文