会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
靖意风
CnBlogs
Home
New Post
Contact
Admin
Subscription
上一页
1
2
3
4
5
6
7
8
9
10
···
12
下一页
2024年10月22日
python3 class的使用
1. class 的使用和定义 #!/usr/bin/python3 class JustCounter: __secretCount = 0 # 私有变量 publicCount = 0 # 公开变量 def count(self): self.__secretCount += 1 self.pu
Read More
posted @ 2024-10-22 16:18 靖意风
Views(121)
Comments(0)
Diggs(0)
2024年10月15日
socket 编程-简单介绍
使用套接字除了可以实现网络间不同主机间的通信外,还可以实现同一主机的不同进程间的通信,且建立的通信是双向的通信。 socket进程通信与网络通信使用的是统一套接口,只是地址结构与某些参数不同。 其主要流程如下: 1.服务端首先初始化Socket(),然后和接口进行绑定bind()和监听listen(
Read More
posted @ 2024-10-15 12:53 靖意风
Views(41)
Comments(0)
Diggs(0)
2024年10月14日
进程间通信--整理总结
前言:进程间通信(IPC,Interprocess communication)是一组编程接口,让程序员能够协调不同的进程,使之能在一个操作系统里同时运行,并相互传递、交换信息。这使得一个程序能够在同一时间里处理许多用户的要求。因为即使只有一个用户发出要求,也可能导致一个操作系统中多个进程的运行,进
Read More
posted @ 2024-10-14 23:09 靖意风
Views(52)
Comments(0)
Diggs(0)
2024年10月13日
IIC 波形了解
https://blog.csdn.net/hbsyaaa/article/details/107450835
Read More
posted @ 2024-10-13 01:31 靖意风
Views(36)
Comments(0)
Diggs(0)
python3 字典的使用
1. 在处理哈希表时,可以使用dict1={} ,比较方便 2. 了解 Counter >>> from collections import Counter >>> ans = [1, 2, 3, 1] >>> dic = Counter(ans) >>> dic Counter({1: 2, 2
Read More
posted @ 2024-10-13 01:16 靖意风
Views(22)
Comments(0)
Diggs(0)
2024年10月11日
实时操作系统的了解
1. 介绍几种常见的实时操作系统 RT-Thread RTOSRT-Thread RTOS是一款来自中国的开源实时操作系统,由RT-Thread工作室的专业开发人员开发、维护。诞生于 2006年 ThreadX Microsoft在2019年收购了ThreadX的所有者Express Logic,并
Read More
posted @ 2024-10-11 12:37 靖意风
Views(102)
Comments(0)
Diggs(0)
2024年10月9日
二叉树 学习
1.0 理解基本概念 父节点(parent node)左子节点(left child node)右子节点(right child node)左子树(left subtree)右子树(right subtree)根节点(root node):位于二叉树顶层的节点,没有父节点。叶子节点(leaf nod
Read More
posted @ 2024-10-09 09:49 靖意风
Views(57)
Comments(0)
Diggs(0)
2024年10月3日
学习网站和资料
1. 目前基础教程有菜鸟教程 和 极客教程 https://www.runoob.com/cprogramming/c-tutorial.html https://geek-docs.com/cprogramming
Read More
posted @ 2024-10-03 16:12 靖意风
Views(22)
Comments(0)
Diggs(0)
python3 队列的使用
在leetcode 如下题目中使用队列 637. 二叉树的层平均值: 103. 二叉树的锯齿形层序遍历 (如下代码记录 103 题目) class Solution: def zigzagLevelOrder(self, root: Optional[TreeNode]) -> List[List[
Read More
posted @ 2024-10-03 12:22 靖意风
Views(18)
Comments(0)
Diggs(0)
2024年9月30日
python3 字典转化字符串
1. 记录 leetcode 题目 49. 字母异位词分组383. 赎金信 2. 使用字典分析字符串 #!/usr/bin/python3 input=input() #input='a:3,b:5,c:2@a:1,b:2,c:2' split = input.split('@') dict1={}
Read More
posted @ 2024-09-30 08:59 靖意风
Views(19)
Comments(0)
Diggs(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
12
下一页
公告