![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
蛋_蛋
学习unity中
展开
-
window c++ 编译环境搭建
1.安装 VS Code 代码编辑器,可以理解为轻量级的IED(集成开发环境) 2.安装CMake 高级编译的配置工具,通过代码将众多分散的引用集成在一起的工具。 3.安装MinGW-64 c/c++在windows上的编译器 安装VSCode,VScode官方链接基本下不下来, 选择普通下载,普通下载,普通下载。 正常安装,无注意事项。 安装CMake 官网链接:Download | CMake 我下载的CMake压缩包,具体为:cmake-3.21.3-windows...原创 2021-10-28 18:09:07 · 1179 阅读 · 0 评论 -
Ubuntu中C++读写当前工程txt文件
刚开始学习C++,保存以便查找。 总体代码: #include <unistd.h> //对系统API操作 #include <iostream> //IO数据流 #include <fstream> //文件读写 using namespace std; //C++ txt文件读写 int main() { char *path = get_current_dir_name(); //调用系统API获取当前路径 string currentP原创 2021-09-23 18:06:19 · 1161 阅读 · 0 评论