Implement Shadok numbers in C++
Find a file
2024-09-18 12:41:10 +01:00
.gitignore Push old code found on my laptop 2024-09-18 12:28:47 +01:00
main.cpp Push old code found on my laptop 2024-09-18 12:28:47 +01:00
README.md Add README 2024-09-18 12:41:10 +01:00

Shadok++

This project has been made as a funny little silly thing. But what is "Shadok"?

Les Shadoks (French: [le ʃadɔk]) is an animated television series created by French cartoonist Jacques Rouxel (26 February 1931 25 April 2004) which caused a sensation in France when it was first broadcast in 19681974.

Although not from my generation, this is a TV show that my parents showed to me and I was fondly in love with it when I was a yee lad. The show tell the story of absurd bird-like creatures looking for a new planet and building their own (absurd) society. In one of the episodes, they develop their own numbering system, which is basically a base 4 numbering system. You can see how it works on this archive video on YouTube.

This program came out of boredom when I found out that you can define your own numbering system in C++. I didn't spend time on it so it is how it is. To build it, just use GCC or Zig:

# Using GCC (Unix)
gcc -o main main.cpp

# Using Zig (any OS)
zig c++ main.cpp -o main

And run it. All it does really is list the numbers, and test a few operations with it. Those aren't tests as I don't assert the results.