03 2022 档案

摘要:导航栏目(顶级导航) 列表页 内容页 阅读全文
posted @ 2022-03-23 23:35 thomas_blog 阅读(11) 评论(0) 推荐(0) 编辑
摘要:官方效果 使用老李工具 添加内容 最终效果 阅读全文
posted @ 2022-03-23 23:17 thomas_blog 阅读(16) 评论(0) 推荐(0) 编辑
摘要:添加子栏目 添加完成 通过老李工具添加标签 {dede:channel row='3' type ='son' typeid ='2' } <li><a href="[field:typelink/]">[field:typename/]</a></li> {/dede:channel} 最终效果 阅读全文
posted @ 2022-03-22 22:33 thomas_blog 阅读(19) 评论(0) 推荐(0) 编辑
摘要:使用老李工具,生成导航相关标签 编写html {dede:channel}:导航开始 [field:typename/]:栏目名称 [field:typelink/]:栏目链接 {/dede:channel}:结束导航 row='5':栏目个数 type ='top':导航类型 后台批量增加栏目 刷 阅读全文
posted @ 2022-03-21 23:31 thomas_blog 阅读(39) 评论(0) 推荐(0) 编辑
摘要:使用老李工具,生成图片路径标签 替换默认图片路径 刷新网页,图片正常加载 阅读全文
posted @ 2022-03-21 21:34 thomas_blog 阅读(30) 评论(0) 推荐(0) 编辑
摘要:网站名称标签 网站名称修改 修改效果 阅读全文
posted @ 2022-03-21 20:56 thomas_blog 阅读(24) 评论(0) 推荐(0) 编辑
摘要:浏览器选择”网页另存为”,类型选择”全部” 下载完成 阅读全文
posted @ 2022-03-20 22:05 thomas_blog 阅读(64) 评论(0) 推荐(0) 编辑
摘要:新建模版目录 新建index.htm 后台配置默认模版 效果 阅读全文
posted @ 2022-03-20 20:40 thomas_blog 阅读(27) 评论(0) 推荐(0) 编辑
摘要:/a:栏目静态页默认生成目录。为利于SEO优化,可以将文件指定到根目录。 /data:数据存放目录。Backupdata为数据库备份目录,网站迁移时需拷入。 /dede:默认的站点后台管理目录。为网站安全,建议更改名称 /image:系统图片存放目录。 /include:核心类库文件存放目录。系统目 阅读全文
posted @ 2022-03-20 18:39 thomas_blog 阅读(108) 评论(0) 推荐(0) 编辑
摘要:调用时机 使用一个已经创建完的对象来初始化一个新对象值传递的方式给函数传参以值方式返回局部对象 使用一个已经创建完的对象来初始化一个新对象 值传递的方式给函数传参 以值方式返回局部对象 阅读全文
posted @ 2022-03-06 22:49 thomas_blog 阅读(54) 评论(0) 推荐(0) 编辑
摘要:默认的访问权限不同 struct 默认公有public class 默认私有private 阅读全文
posted @ 2022-03-06 22:22 thomas_blog 阅读(156) 评论(0) 推荐(0) 编辑
摘要:int func(int a, int) { return a + 3; } int main() { int c = func(2, 100); cout << "c: " << c << endl; return 0; }c: 5 阅读全文
posted @ 2022-03-06 21:37 thomas_blog 阅读(64) 评论(0) 推荐(0) 编辑
摘要:int func(int a, int b = 3) { return a + b; } int main() { int c = func(2); cout << "c: " << c << endl; return 0; }c: 5 阅读全文
posted @ 2022-03-06 21:32 thomas_blog 阅读(23) 评论(0) 推荐(0) 编辑
摘要:int& func() { static int a = 10; return a; } int main() { int &a = func(); cout << "a: " << a << endl; func() = 20; /* 如果函数返回值是引用,这个函数调用可以作为左值 */ cout 阅读全文
posted @ 2022-03-06 21:21 thomas_blog 阅读(36) 评论(0) 推荐(0) 编辑
摘要:int main() { int a = 10; //int &b; /* 引用必须初始化 */ int &b = a; /* 一旦初始化,不可更改 */ int c = 12; b = 12; /* 赋值 */ cout << "a: " << a << endl; cout << "b: " < 阅读全文
posted @ 2022-03-06 21:02 thomas_blog 阅读(32) 评论(0) 推荐(0) 编辑
摘要:代码区 存放函数体的二进制代码,由操作系统进行管理。 代码区是共享的,对于频繁执行的程序,只需要在内存中有一份代码即可 代码区是只读的,防止程序意外修改 全局区 存放全局变量、静态变量以及常量 栈区 由编译器自动分配释放,存放函数的参数值和局部变量等 堆区 由程序员分配和释放 阅读全文
posted @ 2022-03-06 21:00 thomas_blog 阅读(137) 评论(0) 推荐(0) 编辑
摘要:注:const右侧靠近指针还是常量,是指针就是常量指针,是常量就是指针常量。 阅读全文
posted @ 2022-03-06 17:25 thomas_blog 阅读(100) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示