Skip to content

Commit 7d47e57

Browse files
committed
update README
1 parent 9bd8ac5 commit 7d47e57

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,19 @@
22

33
[Zig](https://ziglang.org/) 是一個很新的通用程式語言,是靜態強型別的程序式編程語言。它在保留了 C 語言使用者最喜歡且熟悉的低階操作的同時,又藉鑒並加入了不少類似 Rust 的現代語法。主打強健、最佳化和重複利用。
44

5-
這是我參加 2024 iThome 鐵人賽的文章:[Zig 語言入門指南——聽説你是現代化的 C](https://ithelp.ithome.com.tw/users/20151756/ironman/7460) 的程式碼庫。該系列文也同時發佈在我的 Blog:[Zig 入門指南(鐵人 24)](https://ziteh.github.io/categories/Zig-%E5%85%A5%E9%96%80%E6%8C%87%E5%8D%97%EF%BC%88%E9%90%B5%E4%BA%BA-24%EF%BC%89/)
5+
> 這是我參加 2024 iThome 鐵人賽的文章:[Zig 語言入門指南——聽説你是現代化的 C](https://ithelp.ithome.com.tw/users/20151756/ironman/7460) 的程式碼庫。該系列文也同時發佈在我的 Blog:[Zig 入門指南(鐵人 24)](https://ziteh.github.io/categories/Zig-%E5%85%A5%E9%96%80%E6%8C%87%E5%8D%97%EF%BC%88%E9%90%B5%E4%BA%BA-24%EF%BC%89/)
66
7-
可查看 [Action: Run Zig](https://github.com/ziteh/zig-learn-it24/actions/workflows/zig.yml),瞭解這些程式會輸出什麼樣的結果。
7+
## 用法
88

9-
> [!NOTE]
9+
在本地執行這些程式([安裝好 Zig 後](https://ziglang.org/download/)):
10+
11+
```sh
12+
git clone https://github.com/ziteh/zig-learn-it24.git
13+
cd zig-learn-it24
14+
bash run_all.sh
15+
```
16+
17+
如果你不想自己執行的話,可以查看 [Action: Run Zig](https://github.com/ziteh/zig-learn-it24/actions/workflows/zig.yml),瞭解這些程式會輸出什麼樣的結果
18+
19+
> [!NOTE]
1020
> Zig version: `0.13.0`

0 commit comments

Comments
 (0)