09 2022 档案
摘要:
第一种语法表示 struct 结构体名称 { 数据类型 member1; 数据类型 member2; }; #include<iostream> using namespace std; struct Student { int sNo; char name[10]; }; int main() {
阅读全文

摘要:
最基础的指针如下: int a; int* p = &a; 答:p指向a的地址,&是取a的地址。*指的是指针中取内容的符号。 2.str[]和str*的区别: char str1[] = "abc"; char str2[] = "abc"; const char str3[] = "abc"; c
阅读全文

摘要:
如果你觉得 UITableViewDelegate 和 UITableViewDataSource 这两个协议中有大量方法每次都是复制粘贴,实现起来大同小异;如果你觉得发起网络请求并解析数据需要一大段代码,加上刷新和加载后简直复杂度爆表,如果你想知道为什么下面的代码可以满足上述所有要求: 解耦后的V
阅读全文

摘要:
使用Thymeleaf 三大理由: 简洁漂亮 容易理解 完美支持HTML5 使用浏览器直接打开页面 不新增标签 只需增强属性 学习目标 快速掌握Thymeleaf的基本使用:五大基础语法,常用内置对象 快速查阅 源码下载:springboot-web-thymeleaf-enhance — Hey
阅读全文
