> For the complete documentation index, see [llms.txt](https://v-community.gitbook.io/v-by-example/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://v-community.gitbook.io/v-by-example/cn.md).

# 通过例子学V语言

[Brazilian Portuguese](/v-by-example/pt-br.md) | [Deutsch](/v-by-example/de.md) | [English](https://github.com/v-community/v_by_example/tree/95e90e23e088b2b2c09d23f3408fe01c26bb766a/en/README.md) | [Bahasa Indonesia](/v-by-example/id.md) | [Chinese](/v-by-example/cn.md)

> Learn V by Examples

V by Example是使用带注释的程序示例对V语言的介绍。

* [例子](/v-by-example/cn.md#examples)
* [贡献](/v-by-example/cn.md#contributing)
* [版权](/v-by-example/cn.md#license)

Discord: <https://discord.gg/d3Qk65J>

## Section 1

通过一些基本的例子和练习来介绍V语言。

* [Hello World](/v-by-example/cn/examples/section_1/hello_world.md)
* [V Keywords](/v-by-example/cn/examples/section_1/keywords.md)
* [Primitives](/v-by-example/cn/examples/section_1/primitives.md)
* [Variables](/v-by-example/cn/examples/section_1/variables.md)
* [Strings](/v-by-example/cn/examples/section_1/strings.md)
* [Comment](/v-by-example/cn/examples/section_1/comment.md)

## Section 2

本节讨论V语言中主要的运算和条件语句。

* [Operator](/v-by-example/cn/examples/section_2/operator.md)
* [If-else](/v-by-example/cn/examples/section_2/if-else.md)
* [Match](/v-by-example/cn/examples/section_2/match.md)
* [Loops](/v-by-example/cn/examples/section_2/loops.md)

## Section 3

学习V语言函数和方法以及最重要的数据结构：数组和结构体

* [Functions](/v-by-example/cn/examples/section_3/functions.md)
* [Arrays](/v-by-example/cn/examples/section_3/arrays.md)
* [Struct](/v-by-example/cn/examples/section_3/struct.md)
* [Methods](/v-by-example/cn/examples/section_3/methods.md)

## Section 4

在本节中，我们将深入研究数组对象内部的特征。其他的例子，比如JSON、写/读文件和测试，都会涉及到。

* [Array Functions](/v-by-example/cn/examples/section_4/array-functions.md)
* [Testing](/v-by-example/cn/examples/section_4/testing.md)
* [Files](/v-by-example/cn/examples/section_4/files.md)
* [JSON](/v-by-example/cn/examples/section_4/json.md)

## Team

当前维护者/作者列表：

* [Don Alfons Nisnoni](https://github.com/dhonx)
* [Ivo-Balbaert](https://github.com/ibalbaert)
* [Sven Patrick Meier](https://github.com/SuicideS3ason)
* [Swastik Baranwal](https://github.com/Delta456)
* [Vitor Oliveira](https://github.com/vbrazo)

## Contributing

先阅读 [CONTRIBUTING.md](https://github.com/v-community/v_by_example/tree/95e90e23e088b2b2c09d23f3408fe01c26bb766a/cn/CONTRIBUTING.md) 然后开始贡献. 我们通常根据贡献来选择新的维护者。

## License

[MIT](https://github.com/v-community/v_by_example/tree/95e90e23e088b2b2c09d23f3408fe01c26bb766a/LICENSE/README.md)
