练习;习题;训练活动;演习;做操 v. 锻炼;练习;使用;使忙碌;使惊恐 复数:exercises 第三人称单数:exercises 现在分词:exercising 过去式:exercised 过去分词:exercised

  • Ziglings Overview: A project with tiny broken programs and one surprise. Helps learn Zig code by fixing them. Inspired by rustlings and related projects.
  • Intended Audience: Suitable for those with no programming experience. No prior systems programming or C language experience required. Encouraged to check Zig language resources.
  • Getting Started: Install a development build of the Zig compiler. Verify installation with zig version. Clone the repository with git clone. Run zig build to start. Output is the unaltered Zig compiler output.
  • Version Notes: Tracks development builds of Zig compiler. Last stable release was 0.14.1. Needs a dev build with at least 0.15.0 and a specific build number. Version changes listed with dates and pull requests.
  • Advanced Usage: Can check a single exercise, run from a specific one, or let Ziglings pick randomly. Can run without checking correctness or interact directly with the compiler. Useful commands for installation, uninstallation, and resetting progress.
  • What's Covered: Covers core Zig language features like hello world, standard library import, various data types and operations. Also includes some standard library features like string formatting and testing. Absent are many string manipulation exercises due to Zig's approach.
  • Contributing: Welcome. Room for improvement in wording, idiomatic usage, and additional exercises. See CONTRIBUTING for details.
阅读 6
0 条评论