Tutorials

Genetic Algorithm: Solving the Function Optimization Problem using Java

Submitted by pavel7_7_7 on
In this article you will find a description of basic steps of the genetic Algorithm and an example of function's optimization in Java. There is a variety of problems that can not be solved with a simple algorithms. This problems needs a lot of time and resources to find a solution. Often we don't have a to find an exact solution : we can find a solution that is enough good for the goal. An example of such a kind of algorithm is Genetic Algorithm. Genetic algorithm is inspired by the process of the evolution in nature.

Simple Notepad Application using C# - Part 2

Submitted by pavel7_7_7 on
This is the second part of the article about C# Notepad. In the first part of this tutorial we already created a simple Notepad with possibilities to open, save, save as and print file. Also, you can change now the font and it's size from the menu. The next step is to implement the basic operations in the text redactor: copy, paste and cut. This actions can be performed in a very simple way by using functions of the textBox class.

Calculate Or Auto Sum the Value Using Checkbox with JavaScript and PHP/MySQL

Submitted by argie on
In this tutorial I will teach you on how to calculate or auto sum the total value of the product's price using checkbox with javascript and PHP/MySQL. To understand this, follow the steps bellow.

Creating Our Database

First we are going to create our database which stores our data. To create a database: 1. Open phpmyadmin 2. Then create database and name it as "tutorial". 3.

Simple Notepad Application using C# - Part 1

Submitted by pavel7_7_7 on
In this article you fill find information about how to implement the basic functions of the Notepad using c# Visual Studio provides a good interface for creating different Windows Form Applications. One of the most popular application that is created during the studying is Notepad. In this article I will not pay a lot of attention on the process of building GUI, because it's a simple task. I just give you one important tip on this step: Always give proper names to your GUI elements.

Microsoft Foundation Classes: creating a Sudoku game. Part 2.

Submitted by pavel7_7_7 on
It's the second part of the article about creating a Sudoku game using MFC. In this part you will read about how to create GUI for this game. The MFC applications are closely connected to the document-view architecture. When you create a project two classes are created: document class and view class. The document class contains the data used in your application.

Microsoft Foundation Classes: creating a Sudoku game. Part 1.

Submitted by pavel7_7_7 on
In this article you will read about the rules of the Sudoku game and the algorithm, used to solve the Sudoku puzzle. In the next two articles I'll describe the complete step by step guide about how to implement a Sudoku puzzle game using MFC. The goal of the Sudoku game is to fill the 9x9 grid with numbers from 1 to 9 in the next way:
  • Each row contains all numbers from 1 to 9
  • Each column contains all numbers from 1 to 9
  • Each block of 3x3 cells contains all numbers from 1 to 9
Here is an example of the solved Sudoku:

Create Folder using VB.NET

Submitted by donbermoy on
In VB.Net, sometimes we have require to Create New Folder. This Tutorial Shows How to Create a Folder using VB.NET. To achieve that, first of all we need to include the following statement in the program code: Imports System.IO - This line has to precede the whole program code as it is higher in hierarchy for DirectoryInfo.