How to, Programming

How easily and quickly can you specify arguments for your program in C++

Hello! I'm Xavier Jouvenot and in this small post, we are going to see how easily and quickly can you specify arguments for your program in C++. Self promotion: You can find other articles on my website 😉 Problematic All programs don't have a graphical user interface, and even those whom have one can also… Lire la suite How easily and quickly can you specify arguments for your program in C++

How to, Open Source

How to easily and quickly read/play an audio file in C++

Hello! I'm Xavier Jouvenot and in this small post, we are going to see how to easily and quickly read/play an audio file in C++. Self promotion: You can find other articles on my website 😉 Problematic In C++, there are sadly some operations that require a lot of boilerplate code to do some simple… Lire la suite How to easily and quickly read/play an audio file in C++

How to, Open Source, Programming

How to fix undefined _futimens symbol in LLVM on OSX

Hello ! I'm Xavier Jouvenot and in this blog post, we are going to see how to correctly fix an error with undefined "_futimens" symbol in LLVM on OSX. Self promotion: You can find other articles on my website Problematic When integrating the latest version of LLVM with your OSX project, you may have encountered… Lire la suite How to fix undefined _futimens symbol in LLVM on OSX

How to, Open Source

How to get the version of a program in CMake

I'm Xavier Jouvenot and in this small post, we are going to see how to get the version of a program in CMake. Self promotion: You can find other articles on my website 😉 Problematic When interacting with other programs through the cmake language, you may have encountered some problem when updating those programs, such… Lire la suite How to get the version of a program in CMake

How to, TipsAndTricks

How to use alternative operators in C++ with Visual Studio

I'm Xavier Jouvenot and in this small post, we are going to see how to use alternative operators in C++ with Visual Studio. Self promotion: You can find other articles on my website 😉 Problematic In C++, as you may already know, there are primary operators available to us since the beginning of C++, as… Lire la suite How to use alternative operators in C++ with Visual Studio

How to, TipsAndTricks

How to check every return statement in c++ ?

Hi dear reader, I'm Xavier Jouvenot and in this article, we are going to talk about how to be sure to check every return statement in C++. This post was inspired by a rule from the first chapter of Code Craft, by Pete Goodliffe, on Defensive programming Does it even really matter ? Actually, it… Lire la suite How to check every return statement in c++ ?

TipsAndTricks

Memory Management and RAII

Hi dear reader, I'm Xavier Jouvenot and in this article, we are going to talk about Memory Management, more specifically in C++, even if the concept can be extended to other languages. This post was inspired by a rule from the first chapter of Code Craft, by Pete Goodliffe, on Defensive programming Why should you… Lire la suite Memory Management and RAII

How to

How can you check type limits in C++ ? And create your own limits 😉

Hi dear reader, I'm Xavier Jouvenot and in this article, we are going to talk about how to check type limits in c++. This post was inspired by a rule from the first chapter of Code Craft, by Pete Goodliffe, on Defensive programming. Why check type limits ? Let's start by talking about why and… Lire la suite How can you check type limits in C++ ? And create your own limits 😉

AdventOfCode

Advent Of Code – Some Assembly Required – Puzzle 7

Hello ! I'm Xavier Jouvenot and here is the seventh part of a long series on Advent Of Code. You can find the previous part here For this new post, we are going to solve the problem from the 7th December 2015, named "Some Assembly Required". The solution I will propose in C++, but the… Lire la suite Advent Of Code – Some Assembly Required – Puzzle 7

AdventOfCode

Advent Of Code – Doesn’t He Have Intern-Elves For This ? – Puzzle 5

Hello ! I'm Xavier Jouvenot and here is the third part of a long series on Advent Of Code. You can find the previous part here For this new post, we are going to solve the problem from the 5th December 2015, named "Doesn't He Have Intern-Elves For This?". The solution I will propose in… Lire la suite Advent Of Code – Doesn’t He Have Intern-Elves For This ? – Puzzle 5