![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
unspoken0714
这个作者很懒,什么都没留下…
展开
-
CMakeLists实战学习
单个源文件这时的源文件#include <stdio.h>#include <stdlib.h>/** * power - Calculate the power of number. * @param base: Base value. * @param exponent: Exponent value. * * @return base raised to the power exponent. */double power(double base, in原创 2020-12-22 22:57:59 · 354 阅读 · 0 评论 -
VSCode在linux下的实战
源文件Gun.h#pragma once#include <string>class Gun{private: /* data */ int bullet_count; std::string type;public: Gun(std::string type){ this->bullet_count = 0; this->type = type; } void addBullet(in原创 2020-10-30 22:22:06 · 149 阅读 · 0 评论 -
Linux常见命令
pwd 当前位置cd … 返回上级目录cd ./xx 进入xx文件夹, ./表示当前路径后的路径cd ~/xx 进入xx文件夹, ./表示当根径后的路径mkdir xx 创建xx文件夹mkdir -p xx/yy 创建含有子目录的文件夹–h or --help 可以查看帮助mkdir --h 查看mkdir帮助rm 移除操作rm -r 删除[recursive] remove file or foldercp -r source distination复制cp -r hello he.原创 2020-10-24 16:01:50 · 84 阅读 · 0 评论