mirror of
https://codeberg.org/andyscott/exercism.git
synced 2024-11-09 05:10:47 -05:00
2.3 KiB
2.3 KiB
Help
Running the tests
Write your code in <exercise_name>.zig
.
To run the tests for an exercise, run:
zig test test_exercise_name.zig
in the exercise's root directory (replacing exercise_name
with the name of the exercise).
Submitting your solution
You can submit your solution using the exercism submit binary_search.zig
command.
This command will upload your solution to the Exercism website and print the solution page's URL.
It's possible to submit an incomplete solution which allows you to:
- See how others have completed the exercise
- Request help from a mentor
Need to get help?
If you'd like help solving the exercise, check the following pages:
- The Zig track's documentation
- The Zig track's programming category on the forum
- Exercism's programming category on the forum
- The Frequently Asked Questions
Should those resources not suffice, you could submit your (incomplete) solution to request mentoring.
- The Zig Programming Language Documentation is a great overview of all of the language features that Zig provides to those who use it.
- Zig Guide is an excellent primer that explains the language features that Zig has to offer.
- Ziglings is highly recommended. Learn Zig by fixing tiny broken programs.
- The Zig Programming Language Discord is the main Discord. It provides a great way to get in touch with the Zig community at large, and get some quick, direct help for any Zig related problem.
- #zig on irc.freenode.net is the main Zig IRC channel.
- /r/Zig is the main Zig subreddit.
- Stack Overflow can be used to discover code snippets and solutions to problems that may have already asked and maybe solved by others.