From 0c22adbf45d71904f83cba675a8dc90aadf709d2 Mon Sep 17 00:00:00 2001 From: KeyMatter <45301382+keymatter@users.noreply.github.com> Date: Tue, 20 Jun 2023 00:18:09 +0800 Subject: [PATCH 01/20] =?UTF-8?q?Update=2023.=E4=BB=80=E4=B9=88=E6=98=AF?= =?UTF-8?q?=E6=A0=87=E8=AF=86=E7=AC=A6.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" "b/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" index c602cf7..53a5924 100644 --- "a/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" +++ "b/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" @@ -13,7 +13,7 @@ - 不能包含除下划线以外的其它特殊字符串 - 不能以数字开头 - 不能是C语言中的关键字 -- 标识符严格区分大小写, test和Test是两个不同的标识符 +- 标识符严格区分大小写(大小写敏感), test和Test是两个不同的标识符 --- From cc04154a90c7e2f2aeaf5d606ae7bb5bc289b4c8 Mon Sep 17 00:00:00 2001 From: KeyMatter <45301382+keymatter@users.noreply.github.com> Date: Tue, 20 Jun 2023 00:24:48 +0800 Subject: [PATCH 02/20] =?UTF-8?q?Update=2023.=E4=BB=80=E4=B9=88=E6=98=AF?= =?UTF-8?q?=E6=A0=87=E8=AF=86=E7=AC=A6.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" "b/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" index 53a5924..9865414 100644 --- "a/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" +++ "b/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" @@ -30,7 +30,7 @@ ## 标识符命名规范 -- 见名知意,能够提高代码的可读性 +- 见名知意,能够提高代码的可读性 - 驼峰命名,能够提高代码的可读性 - 驼峰命名法就是当变量名或函数名是由多个单词连接在一起,构成标识符时,第一个单词以小写字母开始;第二个单词的首字母大写. - 例如: myFirstName、myLastName这样的变量名称看上去就像驼峰一样此起彼伏 From f0fc5f19d1e8b6c2be508e42e89459691157a099 Mon Sep 17 00:00:00 2001 From: KeyMatter <45301382+keymatter@users.noreply.github.com> Date: Tue, 20 Jun 2023 00:25:17 +0800 Subject: [PATCH 03/20] =?UTF-8?q?Update=2023.=E4=BB=80=E4=B9=88=E6=98=AF?= =?UTF-8?q?=E6=A0=87=E8=AF=86=E7=AC=A6.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" "b/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" index 9865414..528402e 100644 --- "a/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" +++ "b/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" @@ -30,7 +30,7 @@ ## 标识符命名规范 -- 见名知意,能够提高代码的可读性 +- 见名知意,能够提高代码的可读性 - 驼峰命名,能够提高代码的可读性 - 驼峰命名法就是当变量名或函数名是由多个单词连接在一起,构成标识符时,第一个单词以小写字母开始;第二个单词的首字母大写. - 例如: myFirstName、myLastName这样的变量名称看上去就像驼峰一样此起彼伏 From e51b88b7e67924efe0565143b116eff685309b3f Mon Sep 17 00:00:00 2001 From: KeyMatter <45301382+keymatter@users.noreply.github.com> Date: Tue, 20 Jun 2023 00:26:17 +0800 Subject: [PATCH 04/20] =?UTF-8?q?Update=2023.=E4=BB=80=E4=B9=88=E6=98=AF?= =?UTF-8?q?=E6=A0=87=E8=AF=86=E7=AC=A6.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" "b/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" index 528402e..9865414 100644 --- "a/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" +++ "b/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" @@ -30,7 +30,7 @@ ## 标识符命名规范 -- 见名知意,能够提高代码的可读性 +- 见名知意,能够提高代码的可读性 - 驼峰命名,能够提高代码的可读性 - 驼峰命名法就是当变量名或函数名是由多个单词连接在一起,构成标识符时,第一个单词以小写字母开始;第二个单词的首字母大写. - 例如: myFirstName、myLastName这样的变量名称看上去就像驼峰一样此起彼伏 From c29214a3d9b230479d864d745d864f9ab6c6cc4d Mon Sep 17 00:00:00 2001 From: KeyMatter <45301382+keymatter@users.noreply.github.com> Date: Tue, 20 Jun 2023 00:26:39 +0800 Subject: [PATCH 05/20] =?UTF-8?q?Update=2023.=E4=BB=80=E4=B9=88=E6=98=AF?= =?UTF-8?q?=E6=A0=87=E8=AF=86=E7=AC=A6.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" "b/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" index 9865414..355e190 100644 --- "a/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" +++ "b/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" @@ -30,7 +30,7 @@ ## 标识符命名规范 -- 见名知意,能够提高代码的可读性 +- **见名知意**,能够提高代码的可读性 - 驼峰命名,能够提高代码的可读性 - 驼峰命名法就是当变量名或函数名是由多个单词连接在一起,构成标识符时,第一个单词以小写字母开始;第二个单词的首字母大写. - 例如: myFirstName、myLastName这样的变量名称看上去就像驼峰一样此起彼伏 From dc0ca85d095144d8da139648d9dc0e6ef06ecef5 Mon Sep 17 00:00:00 2001 From: KeyMatter <45301382+keymatter@users.noreply.github.com> Date: Tue, 20 Jun 2023 00:27:12 +0800 Subject: [PATCH 06/20] =?UTF-8?q?Update=2023.=E4=BB=80=E4=B9=88=E6=98=AF?= =?UTF-8?q?=E6=A0=87=E8=AF=86=E7=AC=A6.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" "b/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" index 355e190..e41152c 100644 --- "a/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" +++ "b/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" @@ -9,7 +9,7 @@ ## 标识符命名规则 -- 只能由字母(a~z、 A~Z)、数字、下划线组成 +- 只能由字母(`a`~`z`、 `A`~`Z`)、数字、下划线组成 - 不能包含除下划线以外的其它特殊字符串 - 不能以数字开头 - 不能是C语言中的关键字 From 8a0c9ef795c6f77019952ccfbb1f75604aab0afe Mon Sep 17 00:00:00 2001 From: KeyMatter <45301382+keymatter@users.noreply.github.com> Date: Tue, 20 Jun 2023 00:27:46 +0800 Subject: [PATCH 07/20] =?UTF-8?q?Update=2023.=E4=BB=80=E4=B9=88=E6=98=AF?= =?UTF-8?q?=E6=A0=87=E8=AF=86=E7=AC=A6.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" "b/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" index e41152c..7b87b80 100644 --- "a/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" +++ "b/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" @@ -9,7 +9,7 @@ ## 标识符命名规则 -- 只能由字母(`a`~`z`、 `A`~`Z`)、数字、下划线组成 +- 只能由字母(a`~`z、 A`~`Z)、数字、下划线组成 - 不能包含除下划线以外的其它特殊字符串 - 不能以数字开头 - 不能是C语言中的关键字 From b0890ace7b6b5602595035ce7d445526e6c42da9 Mon Sep 17 00:00:00 2001 From: KeyMatter <45301382+keymatter@users.noreply.github.com> Date: Sun, 25 Jun 2023 22:18:05 +0800 Subject: [PATCH 08/20] =?UTF-8?q?Update=2023.=E4=BB=80=E4=B9=88=E6=98=AF?= =?UTF-8?q?=E6=A0=87=E8=AF=86=E7=AC=A6.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...71\210\346\230\257\346\240\207\350\257\206\347\254\246.md" | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git "a/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" "b/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" index 7b87b80..648d7d9 100644 --- "a/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" +++ "b/notes/\345\237\272\347\241\200/23.\344\273\200\344\271\210\346\230\257\346\240\207\350\257\206\347\254\246.md" @@ -1,4 +1,4 @@ -## 什么是标识符? +## 什么是标识符Identifiers? - 从字面上理解,就是用来标识某些东西的符号,标识的目的就是为了将这些东西区分开来 - 其实标识符的作用就跟人类的名字差不多,为了区分每个人,就在每个人出生的时候起了个名字 @@ -13,7 +13,7 @@ - 不能包含除下划线以外的其它特殊字符串 - 不能以数字开头 - 不能是C语言中的关键字 -- 标识符严格区分大小写(大小写敏感), test和Test是两个不同的标识符 +- 标识符严格区分大小写(大小写敏感case sensitive), test和Test是两个不同的标识符 --- From 7989ac6331d76f0936dee19c92232c54cb0a86b1 Mon Sep 17 00:00:00 2001 From: KeyMatter <45301382+keymatter@users.noreply.github.com> Date: Sun, 25 Jun 2023 23:16:44 +0800 Subject: [PATCH 09/20] =?UTF-8?q?Update=2026.=E4=BB=80=E4=B9=88=E6=98=AF?= =?UTF-8?q?=E5=B8=B8=E9=87=8F.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...73\200\344\271\210\346\230\257\345\270\270\351\207\217.md" | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git "a/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" "b/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" index 44487e7..95c524c 100644 --- "a/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" +++ "b/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" @@ -1,4 +1,4 @@ -## 什么是常量? +## 什么是常量constant? - "量"表示数据。常量,则表示一些固定的数据,也就是不能改变的数据 - 就好比现实生活中生男生女一样, 生下来是男孩永远都是男孩, 生下来是女孩就永远都是女孩, 所以性别就是现实生活中常量的一种体现 @@ -44,4 +44,4 @@ -最后,如果你有任何疑问,加微信 **leader_fengy** 拉你进学习交流群。 \ No newline at end of file +最后,如果你有任何疑问,加微信 **leader_fengy** 拉你进学习交流群。 From 46513e47b6e3c1acfe514e856bacf0ed80bfa1d8 Mon Sep 17 00:00:00 2001 From: KeyMatter <45301382+keymatter@users.noreply.github.com> Date: Mon, 26 Jun 2023 01:13:56 +0800 Subject: [PATCH 10/20] =?UTF-8?q?Update=2026.=E4=BB=80=E4=B9=88=E6=98=AF?= =?UTF-8?q?=E5=B8=B8=E9=87=8F.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...4\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" | 1 + 1 file changed, 1 insertion(+) diff --git "a/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" "b/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" index 95c524c..d193750 100644 --- "a/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" +++ "b/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" @@ -13,6 +13,7 @@ + 八进制整数,八进制形式的常量都以0开头。例如:0123,也就是十进制的83;-011,也就是十进 制的-9 + 十六进制整数,十六进制的常量都是以0x开头。例如:0x123,也就是十进制的291 + 二进制整数,逢二进一 0b开头。例如: 0b0010,也就是十进制的2 + + (进制转换)[https://renyuan431.github.io/2019/11/18/basic-knowledge/] - 实型常量 + 小数形式 + 单精度小数:以字母f或字母F结尾。例如:0.0f、1.01f From e6f26884bb1af644e23db4dd8dc3f66d1ed7a81c Mon Sep 17 00:00:00 2001 From: KeyMatter <45301382+keymatter@users.noreply.github.com> Date: Mon, 26 Jun 2023 01:14:25 +0800 Subject: [PATCH 11/20] =?UTF-8?q?Update=2026.=E4=BB=80=E4=B9=88=E6=98=AF?= =?UTF-8?q?=E5=B8=B8=E9=87=8F.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" "b/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" index d193750..cf85101 100644 --- "a/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" +++ "b/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" @@ -13,7 +13,7 @@ + 八进制整数,八进制形式的常量都以0开头。例如:0123,也就是十进制的83;-011,也就是十进 制的-9 + 十六进制整数,十六进制的常量都是以0x开头。例如:0x123,也就是十进制的291 + 二进制整数,逢二进一 0b开头。例如: 0b0010,也就是十进制的2 - + (进制转换)[https://renyuan431.github.io/2019/11/18/basic-knowledge/] + + (https://renyuan431.github.io/2019/11/18/basic-knowledge/)[进制转换] - 实型常量 + 小数形式 + 单精度小数:以字母f或字母F结尾。例如:0.0f、1.01f From 255eafd3fe588d668ec9dba27a341bd867e63ff6 Mon Sep 17 00:00:00 2001 From: KeyMatter <45301382+keymatter@users.noreply.github.com> Date: Mon, 26 Jun 2023 01:14:54 +0800 Subject: [PATCH 12/20] =?UTF-8?q?Update=2026.=E4=BB=80=E4=B9=88=E6=98=AF?= =?UTF-8?q?=E5=B8=B8=E9=87=8F.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" "b/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" index cf85101..6dca0c6 100644 --- "a/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" +++ "b/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" @@ -13,7 +13,7 @@ + 八进制整数,八进制形式的常量都以0开头。例如:0123,也就是十进制的83;-011,也就是十进 制的-9 + 十六进制整数,十六进制的常量都是以0x开头。例如:0x123,也就是十进制的291 + 二进制整数,逢二进一 0b开头。例如: 0b0010,也就是十进制的2 - + (https://renyuan431.github.io/2019/11/18/basic-knowledge/)[进制转换] + + [进制转换](https://renyuan431.github.io/2019/11/18/basic-knowledge/) - 实型常量 + 小数形式 + 单精度小数:以字母f或字母F结尾。例如:0.0f、1.01f From 1aa50c0e42fb1b5c1845333f7a3a05dfb1812d66 Mon Sep 17 00:00:00 2001 From: KeyMatter <45301382+keymatter@users.noreply.github.com> Date: Mon, 26 Jun 2023 01:16:25 +0800 Subject: [PATCH 13/20] =?UTF-8?q?Update=2026.=E4=BB=80=E4=B9=88=E6=98=AF?= =?UTF-8?q?=E5=B8=B8=E9=87=8F.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" "b/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" index 6dca0c6..8da89f3 100644 --- "a/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" +++ "b/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" @@ -13,7 +13,7 @@ + 八进制整数,八进制形式的常量都以0开头。例如:0123,也就是十进制的83;-011,也就是十进 制的-9 + 十六进制整数,十六进制的常量都是以0x开头。例如:0x123,也就是十进制的291 + 二进制整数,逢二进一 0b开头。例如: 0b0010,也就是十进制的2 - + [进制转换](https://renyuan431.github.io/2019/11/18/basic-knowledge/) + + freeCodeCamp - 实型常量 + 小数形式 + 单精度小数:以字母f或字母F结尾。例如:0.0f、1.01f From f35ec868d826b587a6f79b77810fba26e3380c8e Mon Sep 17 00:00:00 2001 From: KeyMatter <45301382+keymatter@users.noreply.github.com> Date: Mon, 26 Jun 2023 01:18:18 +0800 Subject: [PATCH 14/20] =?UTF-8?q?Update=2026.=E4=BB=80=E4=B9=88=E6=98=AF?= =?UTF-8?q?=E5=B8=B8=E9=87=8F.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" "b/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" index 8da89f3..ea7ff19 100644 --- "a/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" +++ "b/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" @@ -13,7 +13,7 @@ + 八进制整数,八进制形式的常量都以0开头。例如:0123,也就是十进制的83;-011,也就是十进 制的-9 + 十六进制整数,十六进制的常量都是以0x开头。例如:0x123,也就是十进制的291 + 二进制整数,逢二进一 0b开头。例如: 0b0010,也就是十进制的2 - + freeCodeCamp + + 进制转换方法 - 实型常量 + 小数形式 + 单精度小数:以字母f或字母F结尾。例如:0.0f、1.01f From f16c43c870eeceb7da2a55099bb562df43442622 Mon Sep 17 00:00:00 2001 From: KeyMatter <45301382+keymatter@users.noreply.github.com> Date: Mon, 26 Jun 2023 01:18:35 +0800 Subject: [PATCH 15/20] =?UTF-8?q?Update=2026.=E4=BB=80=E4=B9=88=E6=98=AF?= =?UTF-8?q?=E5=B8=B8=E9=87=8F.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" "b/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" index ea7ff19..bbffdb9 100644 --- "a/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" +++ "b/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" @@ -13,7 +13,7 @@ + 八进制整数,八进制形式的常量都以0开头。例如:0123,也就是十进制的83;-011,也就是十进 制的-9 + 十六进制整数,十六进制的常量都是以0x开头。例如:0x123,也就是十进制的291 + 二进制整数,逢二进一 0b开头。例如: 0b0010,也就是十进制的2 - + 进制转换方法 + + 进制转换方法 - 实型常量 + 小数形式 + 单精度小数:以字母f或字母F结尾。例如:0.0f、1.01f From c20686de7181429d8ea1572ea7f56249d2a6b794 Mon Sep 17 00:00:00 2001 From: KeyMatter <45301382+keymatter@users.noreply.github.com> Date: Mon, 26 Jun 2023 01:19:17 +0800 Subject: [PATCH 16/20] =?UTF-8?q?Update=2026.=E4=BB=80=E4=B9=88=E6=98=AF?= =?UTF-8?q?=E5=B8=B8=E9=87=8F.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" "b/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" index bbffdb9..c158700 100644 --- "a/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" +++ "b/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" @@ -13,7 +13,7 @@ + 八进制整数,八进制形式的常量都以0开头。例如:0123,也就是十进制的83;-011,也就是十进 制的-9 + 十六进制整数,十六进制的常量都是以0x开头。例如:0x123,也就是十进制的291 + 二进制整数,逢二进一 0b开头。例如: 0b0010,也就是十进制的2 - + 进制转换方法 + + [进制转换方法](https://renyuan431.github.io/2019/11/18/basic-knowledge/) - 实型常量 + 小数形式 + 单精度小数:以字母f或字母F结尾。例如:0.0f、1.01f From c80bab351db93159afb06725ce059225e2ba80da Mon Sep 17 00:00:00 2001 From: KeyMatter <45301382+keymatter@users.noreply.github.com> Date: Mon, 26 Jun 2023 01:24:54 +0800 Subject: [PATCH 17/20] =?UTF-8?q?Update=2026.=E4=BB=80=E4=B9=88=E6=98=AF?= =?UTF-8?q?=E5=B8=B8=E9=87=8F.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...00\344\271\210\346\230\257\345\270\270\351\207\217.md" | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git "a/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" "b/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" index c158700..da44b6d 100644 --- "a/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" +++ "b/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" @@ -16,10 +16,10 @@ + [进制转换方法](https://renyuan431.github.io/2019/11/18/basic-knowledge/) - 实型常量 + 小数形式 - + 单精度小数:以字母f或字母F结尾。例如:0.0f、1.01f - + 双精度小数:十进制小数形式。例如:3.14、 6.66 - + 默认就是双精度 - + 可以没有整数位只有小数位。例如: .3、 .6f + + 单精度小数:以字母f或字母F结尾。例如:0.0f、1.01f + + 双精度小数:十进制小数形式。例如:3.14、 6.66 + + 默认就是双精度 + + 可以没有整数位只有小数位。例如: .3、 .6f + 指数形式 + 以幂的形式表示, 以字母e或字母E后跟一个10为底的幂数 + 上过初中的都应该知道科学计数法吧,指数形式的常量就是科学计数法的另一种表 示,比如123000,***用科学计数法表示为1.23×10的5次方*** From b8f104dfa7296be50f43a8782f8fc84e39845ac6 Mon Sep 17 00:00:00 2001 From: KeyMatter <45301382+keymatter@users.noreply.github.com> Date: Mon, 26 Jun 2023 01:26:46 +0800 Subject: [PATCH 18/20] =?UTF-8?q?Update=2026.=E4=BB=80=E4=B9=88=E6=98=AF?= =?UTF-8?q?=E5=B8=B8=E9=87=8F.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...4\271\210\346\230\257\345\270\270\351\207\217.md" | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git "a/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" "b/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" index da44b6d..388ef1e 100644 --- "a/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" +++ "b/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" @@ -21,12 +21,12 @@ + 默认就是双精度 + 可以没有整数位只有小数位。例如: .3、 .6f + 指数形式 - + 以幂的形式表示, 以字母e或字母E后跟一个10为底的幂数 - + 上过初中的都应该知道科学计数法吧,指数形式的常量就是科学计数法的另一种表 示,比如123000,***用科学计数法表示为1.23×10的5次方*** - + ***用C语言表示就是1.23e5或1.23E5*** - + 字母e或字母E后面的指数必须为整数 - + 字母e或字母E前后必须要有数字 - + 字母e或字母E前后不能有空格 + + 以幂的形式表示, 以字母e或字母E后跟一个10为底的幂数 + + 上过初中的都应该知道科学计数法吧,指数形式的常量就是科学计数法的另一种表 示,比如123000,***用科学计数法表示为1.23×10的5次方*** + + ***用C语言表示就是1.23e5或1.23E5*** + + 字母e或字母E后面的指数必须为整数 + + 字母e或字母E前后必须要有数字 + + 字母e或字母E前后不能有空格 - 字符常量 + 字符型常量都是用''(单引号)括起来的。例如:'a'、'b'、'c' + 字符常量的单引号中只能有一个字符 From fb143f7d02db54747bc2fd6431bc7a80746afed0 Mon Sep 17 00:00:00 2001 From: KeyMatter <45301382+keymatter@users.noreply.github.com> Date: Mon, 26 Jun 2023 01:27:52 +0800 Subject: [PATCH 19/20] =?UTF-8?q?Update=2026.=E4=BB=80=E4=B9=88=E6=98=AF?= =?UTF-8?q?=E5=B8=B8=E9=87=8F.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" "b/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" index 388ef1e..662957e 100644 --- "a/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" +++ "b/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" @@ -16,7 +16,7 @@ + [进制转换方法](https://renyuan431.github.io/2019/11/18/basic-knowledge/) - 实型常量 + 小数形式 - + 单精度小数:以字母f或字母F结尾。例如:0.0f、1.01f + + 单精度小数:以字母f或字母F结尾。例如:0.0f、1.01F + 双精度小数:十进制小数形式。例如:3.14、 6.66 + 默认就是双精度 + 可以没有整数位只有小数位。例如: .3、 .6f From ef0ae35407cc6f60cc26901b851af3d7291e3cc5 Mon Sep 17 00:00:00 2001 From: KeyMatter <45301382+keymatter@users.noreply.github.com> Date: Mon, 26 Jun 2023 01:59:27 +0800 Subject: [PATCH 20/20] =?UTF-8?q?Update=2026.=E4=BB=80=E4=B9=88=E6=98=AF?= =?UTF-8?q?=E5=B8=B8=E9=87=8F.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git "a/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" "b/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" index 662957e..e7a2323 100644 --- "a/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" +++ "b/notes/\345\237\272\347\241\200/26.\344\273\200\344\271\210\346\230\257\345\270\270\351\207\217.md" @@ -20,7 +20,7 @@ + 双精度小数:十进制小数形式。例如:3.14、 6.66 + 默认就是双精度 + 可以没有整数位只有小数位。例如: .3、 .6f - + 指数形式 + + 指数形式aEn + 以幂的形式表示, 以字母e或字母E后跟一个10为底的幂数 + 上过初中的都应该知道科学计数法吧,指数形式的常量就是科学计数法的另一种表 示,比如123000,***用科学计数法表示为1.23×10的5次方*** + ***用C语言表示就是1.23e5或1.23E5***