会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
三夕
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
···
14
下一页
2021年8月9日
空链接语法
摘要: <a href="#">点击我去某某页面</a>一个#号的空链接语法点击之后会让页面瞬间回到顶部<a href="javascript:;">点击我去某某页面</a><a href="javascript:void(0);">点击我去某某页面</a>
阅读全文
posted @ 2021-08-09 11:51 wind_y
阅读(126)
评论(0)
推荐(0)
2021年8月5日
session和cookie
摘要: 参考B站视频:https://www.bilibili.com/video/BV1sw41197h8 博客:https://www.cnblogs.com/moyand/p/9047978.html 为什么需要session和cookie? web应用的发展,交互设计的需求——用来记录状态 sess
阅读全文
posted @ 2021-08-05 14:10 wind_y
阅读(43)
评论(0)
推荐(0)
2020年9月21日
面向对象设计—三大特性
摘要: 廖雪峰老师的博客 https://www.cnblogs.com/linhaifeng/articles/6182264.html#_lable9
阅读全文
posted @ 2020-09-21 20:02 wind_y
阅读(152)
评论(0)
推荐(0)
2020年9月17日
inetmanet安装与导入
摘要: 简介: 与 INET 库相似,但其之上加入了 MANET 相关仿真模型,若对自组织网进行仿真, 推荐使用 INETMANET 库 安装步骤:参见以下网址(非常全) https://omnetsimulator.com/inetmanet-installation/
阅读全文
posted @ 2020-09-17 11:41 wind_y
阅读(398)
评论(0)
推荐(0)
2020年9月1日
二叉树
摘要: Binary Tree: 1 #include <stdio.h> 2 #include <stdlib.h> 3 4 typedef char Elemtype; 5 6 typedef struct BTNode 7 { 8 Elemtype data; 9 struct BTNode *lch
阅读全文
posted @ 2020-09-01 15:27 wind_y
阅读(216)
评论(0)
推荐(0)
树—双亲孩子表示法
摘要: 1 //双亲孩子表示法 2 #define MAX_TREE_SIZE 100 3 4 typedef char ElemType; 5 6 //孩子结点 7 typedef struct CTNode 8 { 9 int child; //孩子结点的下标 10 struct CTNode *nex
阅读全文
posted @ 2020-09-01 09:11 wind_y
阅读(452)
评论(0)
推荐(0)
2020年8月30日
KMP算法
摘要: KMP:一种模式匹配算法 重点:next数组:长度就是模式子串的长度 next[i]的值是若第i个位置不匹配则下一个要进行匹配的首地址 重点理解前缀后缀:例如:abcabc的最长前缀abc,后缀abc, aaaa的前缀是aaa(aaaa就没有意义了)后缀是aaa. 分析:j值回溯:j返回到前一个失配
阅读全文
posted @ 2020-08-30 18:16 wind_y
阅读(121)
评论(0)
推荐(0)
八皇后问题—递归求解
摘要: 1 //八皇后:递归 2 #include <stdio.h> 3 4 int count=0; 5 //判断第row行第column列有没有危险:可以存放Queen? 6 //int (*chess)[8]:指向某一行的指针,8表示列数 7 int notDanger(int row,int co
阅读全文
posted @ 2020-08-30 12:54 wind_y
阅读(127)
评论(0)
推荐(0)
2020年8月29日
汉诺塔—递归、分治
摘要: 思路: 1 #include <stdio.h> 2 //将n个盘子从x借助y移动到Z 3 void move(int n,char x,char y,char z) 4 { 5 if(n==1) 6 printf("%c-->%c\n", x, z); 7 else 8 { 9 move(n -
阅读全文
posted @ 2020-08-29 23:19 wind_y
阅读(140)
评论(0)
推荐(0)
递归
摘要: 递归函数:调用自身的函数称为递归函数 1 #include <stdio.h> 2 void print() 3 { 4 char a; 5 scanf("%c", &a); 6 if(a!='#') 7 print(); 8 if(a!='#') 9 printf("%c", a); 10 } 1
阅读全文
posted @ 2020-08-29 21:23 wind_y
阅读(96)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
14
下一页
公告