AdventOfCode, C++, Programming

AOC 2022 Day 4: Camp Cleanup

Hi there ! I'm Xavier Jouvenot and today we are continuing with the fourth Advent Of Code puzzle of the year 2022. 🌟 We are going to tackle the problem from the 4th December 2022, named "Camp Cleanup". The solution I will propose in c++, but the reasoning can be applied to other languages. Self… Lire la suite AOC 2022 Day 4: Camp Cleanup

AdventOfCode, C++, Programming

AOC 2022 Day 3: Rucksack Reorganization

Hi there ! I'm Xavier Jouvenot and today we are continuing with the third Advent Of Code puzzle of the year 2022. 🌟 We are going to tackle the problem from the 3rd December 2022 (as you guessed), named "Rucksack Reorganization". The solution I will propose in c++, but the reasoning can be applied to… Lire la suite AOC 2022 Day 3: Rucksack Reorganization

AdventOfCode, C++, Programming

AOC 2022 Day 2: Rock Paper Scissors

Hi there ! I'm Xavier Jouvenot and today we are continuing with the second Advent Of Code puzzle of the year 2022. 🦌 We are going to tackle the problem from the 2nd December 2022 (as expected), named "Rock Paper Scissors". The solution I will propose in c++, but the reasoning can be applied to… Lire la suite AOC 2022 Day 2: Rock Paper Scissors

C++, Programming

The clamp functions are badly designed

Hello ! I'm Xavier Jouvenot and today, we are going to see why the std::clamp and std::ranges::clamp functions of the C++ standard are badly designed and how we can simply improve it. Self promotion: Here are a few social networks where you can follow me and check my work as a programmer and a writer… Lire la suite The clamp functions are badly designed

AdventOfCode, C++

Making my Advent Of Code solution cross-platform (a developer journey)

Hello ! I'm Xavier Jouvenot and today, I want to reflect a little bit on the solution to Advent Of Code 2021 challenges I have done so far, and more precisely on how and why I have made my solution cross-platform. Self promotion: Here are a few social networks where you can follow me and… Lire la suite Making my Advent Of Code solution cross-platform (a developer journey)

AdventOfCode, C++, Programming

Advent Of Code 2021 – Syntax Scoring – Puzzle 10

Hello ! I'm Xavier Jouvenot and here is the 10th part of a long series on Advent Of Code 2021. For this new post, we are going to solve the problem from the 10th December 2021, named "Syntax Scoring". The solution I will propose in C++, but the reasoning can be applied to other languages.… Lire la suite Advent Of Code 2021 – Syntax Scoring – Puzzle 10

AdventOfCode, C++

Advent Of Code 2021 – Smoke Basin – Puzzle 9

Hello ! I'm Xavier Jouvenot and here is the 9th part of a long series on Advent Of Code 2021. For this new post, we are going to solve the problem from the 9th December 2021, named "Smoke Basin". The solution I will propose in C++, but the reasoning can be applied to other languages.… Lire la suite Advent Of Code 2021 – Smoke Basin – Puzzle 9

AdventOfCode, C++, Programming

Advent Of Code 2021 – Seven Segment Search – Puzzle 8

Hello ! I'm Xavier Jouvenot and here is the 8th part of a long series on Advent Of Code 2021. For this new post, we are going to solve the problem from the 8th December 2021, named "Seven Segment Search". The solution I will propose in C++, but the reasoning can be applied to other… Lire la suite Advent Of Code 2021 – Seven Segment Search – Puzzle 8

AdventOfCode, C++, Programming

Advent Of Code 2021 – The Treachery of Whales – Puzzle 7

Hello ! I'm Xavier Jouvenot and here is the 7th part of a long series on Advent Of Code 2021. For this new post, we are going to solve the problem from the 7th December 2021, named "The Treachery of Whales". The solution I will propose in C++, but the reasoning can be applied to… Lire la suite Advent Of Code 2021 – The Treachery of Whales – Puzzle 7