mirror of
https://github.com/ratfactor/ziglings
synced 2024-05-12 08:06:04 +02:00
Compare commits
4 Commits
460609823c
...
859a06b119
Author | SHA1 | Date | |
---|---|---|---|
abdullhakim-sami | 859a06b119 | ||
Dave Gauer | 7417f01d5d | ||
Dave Gauer | d699fc1824 | ||
abdullhakim-sami | 7e70463775 |
12
README.md
12
README.md
|
@ -1,5 +1,13 @@
|
|||
# Ziglings
|
||||
|
||||
## ⚠️ Attention! Ziglings has moved to Codeberg!
|
||||
|
||||
Check out our handy new URL: https://ziglings.org
|
||||
|
||||
Or visit the repo directly at: https://codeberg.org/ziglings/exercises
|
||||
|
||||
***
|
||||
|
||||
Welcome to Ziglings! This project contains a series of tiny
|
||||
broken programs (and one nasty surprise). By fixing them, you'll
|
||||
learn how to read and write [Zig](https://ziglang.org/) code.
|
||||
|
@ -51,8 +59,8 @@ $ zig version
|
|||
Clone this repository with Git:
|
||||
|
||||
```
|
||||
$ git clone https://github.com/ratfactor/ziglings
|
||||
$ cd ziglings
|
||||
$ git clone https://ziglings.org
|
||||
$ cd ziglings.org
|
||||
```
|
||||
|
||||
Then run `zig build` and follow the instructions to begin!
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
const std = @import("std");
|
||||
|
||||
pub fn main() void {
|
||||
var n: u32 = 2;
|
||||
var n: u16 = 2;
|
||||
|
||||
// Please set the continue expression so that we get the desired
|
||||
// results in the print statement below.
|
||||
|
|
Loading…
Reference in New Issue