## Quick Tip – How to find the difference between two numbers

Hello ! I'm Xavier Jouvenot and in this small post, I am going to explain how to find the difference between two numbers. Self promotion: You can find other articles on Android development on my website 😉 Subtracting number isn't enough ? First, let's defines precisely what a difference is and why a subtraction isn't… Lire la suite Quick Tip – How to find the difference between two numbers

## 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 – Largest prime smaller than given number

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

How to

## Magic numbers and how to deal with them in C++

Hi dear reader, I'm Xavier Jouvenot and in this article, we are going to talk about magic numbers. This post was inspired by a rule from the fourth chapter of Code Craft, by Pete Goodliffe, on Defensive programming. What is a Magic number ? A magic number is a raw number in the code. This… Lire la suite Magic numbers and how to deal with them in C++

## 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++ ?