Code Craft

How to deal with errors ? – When your program face the hard reality of the world !

Hi dear reader, I'm Xavier Jouvenot and this is the sixth article about Code Craft, by Pete Goodliffe. If you want, you can look at the previous article about 'How to write comments', and you can find book here. Why should I even care about errors ? For a lot of programmers, as long as… Lire la suite How to deal with errors ? – When your program face the hard reality of the world !

How to, Open Source, TipsAndTricks

How to create a multi-platform job on Azure Pipelines

Hello ! I'm Xavier Jouvenot and in this small post, we are going to see how to create a multi-platform job on Azure Pipelines. Self promotion: You can find other articles on my website 😉 Problematic When setting up your continuous integration and delivery environments on Azure Pipelines, or on any CI/CD system, you may… Lire la suite How to create a multi-platform job on Azure Pipelines

Open Source

How to expect a compilation error with Azure Pipelines

Hello ! I'm Xavier Jouvenot and in this small post, we are going to see how to expect a compilation error with Azure Pipelines. Self promotion: You can find other articles on my website Problematic Most of the time, when developers interacts with Azure Pipelines, and CI in general, they want to make sure that… Lire la suite How to expect a compilation error with Azure Pipelines

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

Android Studio, How to, TipsAndTricks

Quick Tip – How to set the visibility of a button

Hello ! I'm Xavier Jouvenot and in this small post, I am going to explain how to set the visibility of a button. Self promotion: You can find other articles on Android development on my website 😉 Statically To specify the visibility of a Button, there are several solutions And the first one we are… Lire la suite Quick Tip – How to set the visibility of a button

Android Studio, TipsAndTricks

Quick Tip – How to convert a Java jintArray to a C++ std::vector

Hello ! I'm Xavier Jouvenot and in this small post, I am going to explain how to convert a Java jintArray to a C++ std::vector. Self promotion: You can find other articles on Android development on my website 😉 Solution For the people who only want the solution, to quickly copy-paste it in there code,… Lire la suite Quick Tip – How to convert a Java jintArray to a C++ std::vector

Android Studio

The Modern Cpp Challenge on Mobile – Abundant numbers

Hello ! I'm Xavier Jouvenot and here is the sixth part of a long series on The Modern C++ Challenge. In this article, I am going to explain how I solved the sixth problem in C++, and how I integrated the solution in an Android project. The objective of this sixth problem is simple. We… Lire la suite The Modern Cpp Challenge on Mobile – Abundant numbers

Android Studio

The Modern Cpp Challenge on Mobile – Sexy prime pairs

Hello ! I'm Xavier Jouvenot and here is the fifth part of a long series on The Modern C++ Challenge. In this article, I am going to explain how I solved the fifth problem in C++, and how I integrated the solution in an Android project. The objective of this fifth problem is simple. We… Lire la suite The Modern Cpp Challenge on Mobile – Sexy prime pairs

Android Studio, How to

Quick Tip – How to specify a variable element in a resource string ?

Hello ! I'm Xavier Jouvenot and in this small post, I am going to explain how to specify a variable element in a resource string. Self promotion: You can find other articles on Android development on my website 😉 Strings resources When crafting you application, you may have encountered some problems when placing your string… Lire la suite Quick Tip – How to specify a variable element in a resource string ?