Checking all basic development steps
We are not here together to understand the entire details of code compilation. But I want to give you a global explanation that will help you to understand better how it works under the hood. It will also help you to understand how to debug your source code and why something wouldn't work in any random case.
Let's begin by a flowchart showing the entire process.
The following steps are executed to take the code from the source to the executable production stage:
The C and C++ source code is just the type of code you already wrote for the
Blink250ms
project in Chapter 1, Let's Plug Things.Headers are usually included at the beginning of your code, and they refer to other files with the extension
.h
in which there are some definitions and class declarations. This kind of design, in which you have separate files for the source code (the program you are currently writing) and the headers (already made elements...