Eclipse - Arduino - Installation

You would like to program with Arduino but you can't do this with the Arduino Software provided.

Instead you would prefer to use your favorite IDE: Eclipse.

That's what we're going to see in this Eclipse and Arduino setup tutorial from scratch.

Android - Installation - On Linux Ubuntu 64-bit with a 32-bit ADT version

You can easily use the following Windows Android setup tutorial to install the Android Development Tools on your Linux system except that you will need the 32-bit libraries and install a JDK.

C++ - Tips'n Tricks - Using interface and abstract classes to compute the shape's area

You're maybe wondering what are interface and abstract classes? That's a good point.

In this tutorial we're going to see how to compute the area of a shape by declaring an array of undefined shapes.

After this, we will be able to use this shape as an object with this kind of Factory design pattern.

UNIX & GNU/Linux - awk - Count number of words in a file and check a name in another

In this awk tutorial we're going to see how to count words in a file and display it.

And in a second time, we will see how to check if a name, inside a file, is present in the first file.

Let's check it.

UNIX & GNU/Linux - awk - Read a file and computing the average of students' marks

The awk user command is made to read a file and check each column, one by one.

We need to computing the average of students' marks and to display the total of their average.

Let's go.

UNIX & GNU/Linux - awk - Using getline to retrieve data

We've already played with awk, passing it a file, but we're going now to see how to retrieve data from the user with the command line.

We would like to know what's the name of the user.

Let's ask him.

UNIX & GNU/Linux - awk - Using matching expressions and operators to find a pattern

The user command awk enables to check if an expression could be found in a file.

It's a kind of regex, with classic operators, such as: ? . *.

Let's do it.

UNIX & GNU/Linux - awk - Using the FILENAME variable

With the awk FILENAME builtin variable, we are able to retrieve the name of the file passed as argument during the execution.

It will avoid us to use a regex command line. Sometimes interesting.

Let's see this.

UNIX & GNU/Linux - awk - Using NR to display line numbers before each line from a file

We have a file with customers inside.

We would like to display all the file with line numbers before each line.

Let's see this in this awk tutorial.

C++ - Tips'n Tricks - Creating an object onto the stack and into the heap

Stack and heap enable data management inside the memory.

But some data are added onto the stack and the other into the heap.

For the stack, there is a stack pointer that enables to catch the last data added onto the stack.


Subscribe to RSS