Merge pull request #7 from VulperVoid/patch-3

一个数组的表示形式为 [n]T。n 表示数组中元素的数量,T 代表每个元素的类型。元素的数量 n 也是该类型的一部分
pull/8/head
ShaoBo Wan(无极) 7 years ago committed by GitHub
commit 4c0a36e59a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -12,7 +12,7 @@
## 申明
数组的类型为` n[T]`,其中 `n` 表示数组中元素的个数,`T` 表示数组中元素的类型。元素的个数 `n`也是数组类型的一部分(我们将在稍后详细讨论)。
数组的类型为` [n]T`,其中 `n` 表示数组中元素的个数,`T` 表示数组中元素的类型。元素的个数 `n`也是数组类型的一部分(我们将在稍后详细讨论)。
有很多声明数组的方式,让我们一个一个地介绍。

Loading…
Cancel
Save