Zig程序设计语言中文手册 #36
sxwangzhiwen
started this conversation in
General
Replies: 2 comments 7 replies
-
并且用Zig语言实际开发了1个格式转换单机程序(源代码3000行左右),这个html手册就是用这个小工具格式转换生成的。https://github.com/sxwangzhiwen/progdoc |
Beta Was this translation helpful? Give feedback.
7 replies
-
好奇怪,用中文给你阅读理解制造障碍了? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
我写了Zig程序设计语言中文手册,参考了官方英文手册、标准库和语言源代码,但不是官方手册的全文翻译。其中绝大部分示例程序都实际运行测试过。
章节是主要分为以下几大块:变量、类型、指针、语句等语法结构;类型转换、反射、未定义行为等常用功能;编译期计算、异步函数、编译、测试等Zig特色功能;内存分配器、文件读写、格式化输入输出等常用函数。
手册的网址是:
https://sxwangzhiwen.github.io/zigcndoc/zigcndoc.html
Beta Was this translation helpful? Give feedback.
All reactions