会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
成强
博客园
首页
新随笔
联系
订阅
管理
[置顶]
记录一次git提交
摘要: 使用vscode打开项目,首先确认git工作区是否是干净的 git status 创建一个新的分析,存放一个功能,等所有的功能都开发完成后,再进行合并(master) 创建一个login git 分支 git checkout -b login 查看当前项目的所有分支 git branch * lo
阅读全文
posted @ 2021-11-08 16:02 成强
阅读(45)
评论(0)
推荐(0)
2024年12月18日
好用的IDEA插件
摘要: Save Actions X 代码自动格式化插件 CodeGlance Pro 代码缩略图 EasyCode 默认模版生成 CodeGeeX 代码自动补全
阅读全文
posted @ 2024-12-18 10:19 成强
阅读(38)
评论(0)
推荐(0)
2024年8月5日
C++ 中,static 和非 static
摘要: 在 C++ 中,static 和非 static 的变量在作用域、生命周期和初始化方面有一些重要的区别。下面详细解释这两种变量的不同之处: 非 static 变量 int i0 = 123; 作用域:变量 i0 的作用域是它所在的代码块或函数。它只能在定义它的代码块内访问。 生命周期:每次进入代码块
阅读全文
posted @ 2024-08-05 15:11 成强
阅读(86)
评论(0)
推荐(0)
2024年7月26日
imgui中文字体库导入乱码问题
摘要: 1.中文字体库导入乱码问题 1.修改clion中的文件编码配置 2.按住 Ctrl+Shift+Alt+/,选中Registry…,然后取消run.processes.with.pty 3.cmakelist.txt导入字体文件,注意不要加u8了,不然会乱码 #字体文件 include_direct
阅读全文
posted @ 2024-07-26 22:49 成强
阅读(436)
评论(0)
推荐(0)
2024年7月21日
9-串的操作
摘要: 字符串 #include <stdio.h> #include <malloc.h> #include <stdbool.h> #define MaxSize 100 /*静态串的定义*/ typedef struct{ /*串的最大长度+ 一个'\0',并且从下标1开始存储*/ char cha[
阅读全文
posted @ 2024-07-21 16:04 成强
阅读(21)
评论(0)
推荐(0)
2024年7月13日
8-队列的链式存储结构的操作
摘要: 顺序队列的操作 #include <stdio.h> #include <stdlib.h> #include <stdbool.h> typedef int ElemType; /*链式队列的节点*/ typedef struct LinkNode{ /*数据域*/ ElemType data;
阅读全文
posted @ 2024-07-13 12:37 成强
阅读(23)
评论(0)
推荐(0)
2024年7月12日
7-循环队列的基本操作
摘要: 顺序队列的操作 #include <stdio.h> #include <stdlib.h> #include <stdbool.h> typedef int ElemType; #define MaxSize 50 /*顺序队列的类型定义*/ typedef struct { /*用一维数组存放队
阅读全文
posted @ 2024-07-12 23:01 成强
阅读(20)
评论(0)
推荐(0)
Vue3中使用const {proxy} = getCurrentInstance()代理标错Uncaught (in promise) TypeError: 'set' on proxy: trap returned falsish for property
摘要: 修改导入方式 // 方式二,此方法在开发环境以及生产环境下都能放到组件上下文对象(推荐) const {proxy} = getCurrentInstance(); 改为 // 方式二,此方法在开发环境以及生产环境下都能放到组件上下文对象(推荐) const proxy = getCurrentIn
阅读全文
posted @ 2024-07-12 09:38 成强
阅读(1589)
评论(0)
推荐(0)
2024年7月10日
6-栈的链式存储类型
摘要: #include <stdio.h> #include <stdlib.h> #include <stdbool.h> typedef int ElemType; /*栈的链式存储类型*/ typedef struct StackNode{ /*数据域*/ ElemType data; /*指针域*
阅读全文
posted @ 2024-07-10 17:24 成强
阅读(17)
评论(0)
推荐(0)
5-顺序栈的操作
摘要: #include <stdio.h> #include <stdlib.h> #include <stdbool.h> typedef int ElemType; /**/ #define MaxSize 50 /**/ typedef struct { ElemType data[MaxSize]
阅读全文
posted @ 2024-07-10 17:23 成强
阅读(20)
评论(0)
推荐(0)
2024年7月8日
4-双链表的操作
摘要: 1.定义一个双链表 #include <stdio.h> #include <stdlib.h> #include <stdbool.h> typedef int ElemType; /* 定义一个单链表 */ typedef struct DNode { /*数据域*/ ElemType data
阅读全文
posted @ 2024-07-08 00:31 成强
阅读(39)
评论(0)
推荐(0)
下一页