Compare commits

...

2 Commits

Author SHA1 Message Date
bb68a0323d vault backup: 2026-01-23 16:41:34 2026-01-23 16:41:34 +08:00
d3bcc29692 vault backup: 2026-01-23 16:36:33 2026-01-23 16:36:33 +08:00
2 changed files with 28 additions and 13 deletions

View File

@@ -40,14 +40,15 @@
"id": "fa1d4d0680240de1",
"type": "leaf",
"state": {
"type": "webviewer",
"type": "markdown",
"state": {
"url": "https://share.note.youdao.com/ynoteshare/index.html?id=a66c778ce8c6e4ee03608e493e59ba7a&type=notebook&_time=1768473840238#/WEB83f172c217a3d791e8be381ba55f47a9",
"title": "CQ2605",
"mode": "webview"
"file": "Collection/连~都忘记了的C语言小知识.md",
"mode": "source",
"source": false,
"backlinks": false
},
"icon": "globe-2",
"title": "CQ2605"
"icon": "lucide-file",
"title": "连~都忘记了的C语言小知识"
}
},
{
@@ -56,17 +57,17 @@
"state": {
"type": "markdown",
"state": {
"file": "Diary/2026-1/2026-1-23 周五.md",
"file": "Collection/连~都忘记了的C语言小知识.md",
"mode": "source",
"source": false,
"backlinks": false
},
"icon": "lucide-file",
"title": "2026-1-23 周五"
"title": "连~都忘记了的C语言小知识"
}
}
],
"currentTab": 2
"currentTab": 3
}
],
"direction": "vertical"
@@ -133,12 +134,13 @@
"state": {
"type": "outline",
"state": {
"file": "Collection/连~都忘记了的C语言小知识.md",
"followCursor": true,
"showSearch": false,
"searchQuery": ""
},
"icon": "lucide-list",
"title": "大纲"
"title": "连~都忘记了的C语言小知识 的大纲"
}
},
{
@@ -290,10 +292,11 @@
"remotely-save:Remotely Save": false
}
},
"active": "fa1d4d0680240de1",
"active": "6bbdb6c9df9a2d8f",
"lastOpenFiles": [
"YueQian/相关网站.md",
"Diary/2026-1/2026-1-23 周五.md",
"Collection/连~都忘记了的C语言小知识.md",
"YueQian/相关网站.md",
"README.md",
"Excalidraw/Drawing 20260122.md",
"test.md",
@@ -334,7 +337,6 @@
"Collection/YoudaoyunNotes/02C语言/02-C语言入门.md",
"Collection/YoudaoyunNotes/02C语言/03-数据类型及IO流.md",
"Page/友情链接.md",
"Page/关于与声明.md",
"Page",
"Collection/YoudaoyunNotes/02C语言/attachments/WEBRESOURCE40a76a7d230733292ec04717f3f6f254编程规范.pdf",
"Collection/YoudaoyunNotes/02C语言/attachments/WEBRESOURCEf8f411dd54c53da227a89fc7031bb0c7terminal_colors.h",

View File

@@ -0,0 +1,13 @@
---
tags:
- empty
aliases: empty
日期: 2026/1/23
---
- 字符转数字要 `-'0'`
```c
char arr[10];
for(int i = 0;i < strlen(arr);i++)
num = num * 10 + arr[i] - '0';
```
-