In short, IoT refers to the generation and transmission of data via the Internet from small devices.
The exchange of data, in most cases, is done in real-time in order to provide an accurate and immediate user experience.
Some devices and applications that are related to the IoT world are:
However, it is not always about the bi-directional transmission of data, in some cases that data is also stored in a database to be analyzed at a later time.
Nowadays, IoT makes sense thanks to the technological progress we have reached, the components and…
Recursion is the process in which a function calls itself directly or indirectly is called recursion and the corresponding function is called as recursive function.
One of the common recursive function is “factorial(n)” where n is multiplied by itself and decrease by 1 the times that “factorial(n)” is called until n is zero.
To explain this concept (recursion) we are going to see how works the following function:
To start, I’m going to use the above function with the parameters (x = 2, y =3) and we’ll see it’s behavior.
Since ‘y’ is a positive number, the second…
The C libraries come’s to manage very larger projects where the code becomes too entangled, therefore, if we are working with projects that need several pieces of code that not change trough time (functions) then we can approach the potencial of libraries, making that our functions doesn’t pass by compilation each time.
A library in C language is a file that contains several object files, and this file can be used as a single entity in a linking phase of a program. Since the libraries are indexed, it’s easy to find functions, variables, etc.
To create a library we can…
The hard links associate two files in the same nodo, so each hard link is the exactly copy of the file that hard link points.
We could make a hard link by the following way:
$ ln test enlace-duro-test
$ ls -li
73793 -rw-r--r-- 2 user10 user10 5 2011-04-27 19:09 enlace-duro-test
73793 -rw-r--r-- 2 user10 user10 5 2011-04-27 19:09 test
In the example above we could see that the command to create the hard link is a direct reference to the file.
While hard link points to a file in direct way, a symbolic link can make reference to a…
The compilation process make’s a series of tasks that translate from human readable code to a code that the machine understand (Binary notation).
To make this process possible, we must to type in the terminal or console the gcc command and the C file to compiled:
Once gcc has been invoked, will starting to make the following process:
Via the GNU C preprocessor (cpp.exe), which includes the headers (#include) and expands the macros (#define).
cpp file.c > file.i
the resultant intermediate file “file.i” contains the expanded source code.
This step compiles the pre-processed source code into…