day 1 LeetCode刷题日志
今天的内容是 704 和 27 ovo 704. 二分查找 给定一个 n 个元素有序的(升序)整型数组 nums 和一个目标值 target 写一个函数搜索 nums 中的 target,如果目标值存在返回下标,否则返回 -1 Myself C: //左闭右闭 [0,1,2,3] int searc 阅读全文
posted @ 2024-01-11 00:26 AcherLoveCode 阅读(32) 评论(0) 推荐(0)
今天的内容是 704 和 27 ovo 704. 二分查找 给定一个 n 个元素有序的(升序)整型数组 nums 和一个目标值 target 写一个函数搜索 nums 中的 target,如果目标值存在返回下标,否则返回 -1 Myself C: //左闭右闭 [0,1,2,3] int searc 阅读全文
posted @ 2024-01-11 00:26 AcherLoveCode 阅读(32) 评论(0) 推荐(0)
大部分教学和资料都是qmake的 所以碰到一些问题cmake的资料还是比较少 所以苯人小小总结一下👻 主要是再不发 这一篇又弄丢了呜呜呜呜 上一篇写的不小心被我删了啊啊啊啊啊ಥ_ಥ 二.找不到ui头文件 在Cmakelist加上如下就可 target_include_directories(Tes 阅读全文
posted @ 2022-10-03 13:54 AcherLoveCode 阅读(498) 评论(0) 推荐(0)
posted @ 2022-06-04 16:26 AcherLoveCode 阅读(34) 评论(0) 推荐(0)
posted @ 2022-06-03 23:49 AcherLoveCode 阅读(39) 评论(0) 推荐(0)
posted @ 2022-05-28 22:56 AcherLoveCode 阅读(50) 评论(0) 推荐(0)
posted @ 2022-05-25 00:23 AcherLoveCode 阅读(62) 评论(0) 推荐(0)
posted @ 2022-05-23 10:01 AcherLoveCode 阅读(92) 评论(0) 推荐(0)
第一次听也 好神奇的说 我还是太菜啦呜呜呜 Java也有哦 封装📦--索引器 class Person { private Person[] friends; //定义一个对象数组 public Person this[int index] //一个索引器 { get { return frien 阅读全文
posted @ 2022-05-22 23:39 AcherLoveCode 阅读(48) 评论(0) 推荐(0)
const定义常量 **const是constant**的简写,只要一个变量前面用const来修饰,就意味着该变量里的数据可以被访问,不能被修改(readonly) const char*, char const*的区别 Bjarne 在他的 The C++ Programming Language 阅读全文
posted @ 2022-05-22 09:35 AcherLoveCode 阅读(34) 评论(0) 推荐(0)
posted @ 2022-05-17 23:03 AcherLoveCode 阅读(340) 评论(0) 推荐(0)