summaryrefslogtreecommitdiff
path: root/exercises/110_quiz9.zig
diff options
context:
space:
mode:
authorAlexander Sisco <36649949+devspeare@users.noreply.github.com>2025-02-11 15:11:55 -0800
committerAlexander Sisco <36649949+devspeare@users.noreply.github.com>2025-02-11 15:11:55 -0800
commitb7b3297d067416f0e44b285fdd8d7347165bf6c4 (patch)
treeaf11a1dd61962c7e96191db880dbb69a59312ce0 /exercises/110_quiz9.zig
parent6fbf81d929273b16136afdfccb6ddbe592eb29ac (diff)
added blank lines between sections to make them
easier to find
Diffstat (limited to 'exercises/110_quiz9.zig')
-rw-r--r--exercises/110_quiz9.zig44
1 files changed, 20 insertions, 24 deletions
diff --git a/exercises/110_quiz9.zig b/exercises/110_quiz9.zig
index 2db3230..4412150 100644
--- a/exercises/110_quiz9.zig
+++ b/exercises/110_quiz9.zig
@@ -158,18 +158,17 @@ pub fn main() !void {
// ************************************************************************
// IN-DEPTH EXPLANATIONS BELOW
// ************************************************************************
-
-
-
-
-
-
-
-
-
-
-
-
+//
+//
+//
+//
+//
+//
+//
+//
+//
+//
+//
// ------------------------------------------------------------------------
// Toggling bits with XOR:
// ------------------------------------------------------------------------
@@ -204,12 +203,10 @@ pub fn main() !void {
//
// Now let's take a look at setting bits with the | operator.
//
-
-
-
-
-
-
+//
+//
+//
+//
// ------------------------------------------------------------------------
// Setting bits with OR:
// ------------------------------------------------------------------------
@@ -254,12 +251,11 @@ pub fn main() !void {
// So now we've covered how to toggle and set bits. What about clearing
// them? Well, this is where Zig throws us a curve ball. Don't worry we'll
// go through it step by step.
-
-
-
-
-
-
+//
+//
+//
+//
+//
// ------------------------------------------------------------------------
// Clearing bits with AND and NOT:
// ------------------------------------------------------------------------