Linux

Lessons and articles about Linux platform

Examples of FOR loop usage in C language

Dear customers, today we would like to draw your attention to the FOR loop definition and it's usage in C programming language.

In software development, term cycle means execution of the same command several times until the condition of the loop is true. From that we can understand that program's code is executed repeatedly in the FOR loop. As you have already noticed, an important element of the loop is the condition that allows to break operations. The program will be repeated continuously until the condition is true. If it is always true, then you will not have an exit point from the loop. Such cycles are called "unconditional".

Instructions and code that are used in the loop are called body of the cycle. A single execution of an instruction is called iteration of a cycle. The number of executions are counted by the iterator, in case if it is used.

How to install MySql and create a database on Linux Ubuntu

Hello everyone, this article provides information about how to install MySql into Linux Ubuntu operating system. In addition, here will be information on what such a useful program, like MySql, represents to the end users. We will review it's main features and functions.

First, we want to explain what is MySql. When we say MySql, we mean relational system that enables easy database management. It can be used for small and medium-sized applications. Oracle company has developed this corporate system. They are still involved in its ongoing support. You can use this database management system as a local server which is accessed by remote users, or as an internal library server. The latest version of MySql is 5.6.

Now, after reading first part of the article, you may proceed with the installation of MySql on your Linux operating system. You can do this in two ways. The first one is by using system package manager, the second - by typing commands console.