摘要:
从文件中读数据用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)即可生成; 阅读全文