摘要: 命令格式: git push <远程主机名> <本地分支名>:<远程分支名> 通常用法: git push origin HEAD:远程分支名 1、创建远程不存在的分支 git push origin HEAD:新建分支名 2、删除远程存在的分支 git push origin :123 本地分支名 阅读全文
posted @ 2023-09-11 21:29 King--jin 阅读(1230) 评论(0) 推荐(0)
摘要: 用来修饰父类中的函数: 1、修饰父类中的普通函数: 1 #include <iostream> 2 #include <string> 3 #include <stdlib.h> 4 5 using namespace std; 6 7 class base 8 { 9 public: 10 voi 阅读全文
posted @ 2023-09-10 23:09 King--jin 阅读(100) 评论(0) 推荐(0)
摘要: #include 和 #include <iostream.h>区别 1. #include 是C++调用头文件的使用方式,这种情况下需要加上using namespace std;指定命名空间 2. #include <iostream.h> C++保留了C的这种写法,这种不需要增加命名空间指定 阅读全文
posted @ 2023-09-09 20:46 King--jin 阅读(319) 评论(0) 推荐(0)
摘要: # 关闭预览模式 ###### 打开设置,搜索enable preview,关闭该选项 ![image](https://img2023.cnblogs.com/blog/1297322/202309/1297322-20230907215216800-1670840160.png) 阅读全文
posted @ 2023-09-07 21:53 King--jin 阅读(314) 评论(0) 推荐(0)
摘要: # 1、关闭自动检测文件功能 ###### 设置搜索detect Indentation,取消 ![image](https://img2023.cnblogs.com/blog/1297322/202309/1297322-20230905221709206-2019983386.png) # 2 阅读全文
posted @ 2023-09-05 22:21 King--jin 阅读(1339) 评论(0) 推荐(0)
摘要: # 效果 ![image](https://img2023.cnblogs.com/blog/1297322/202309/1297322-20230905220331469-458115845.png) # 设置 ###### 在设置里面搜索 bracket pair ![image](https 阅读全文
posted @ 2023-09-05 22:07 King--jin 阅读(460) 评论(0) 推荐(0)