

Check if the current node is empty / null Traverse the left subtree by recursively calling the post-order function. Traverse…
Read More
Check if the current node is empty / null Display the data part of the root (or current node). Traverse…
Read More
Check if the current node is empty / null Traverse the left subtree by recursively calling the in-order function. Display…
Read More
Greedy algorithm is an algorithmic paradigm that follows the problem solving heuristic of making the locally optimal choice at each…
Read More
In mathematics, and more specifically in graph theory, a tree is an undirected graph in which any two vertices are…
Read More
In the simplest case, shown in the first picture, we are given a finite set of points {p1, …, pn}…
Read More
//Calculul determinantilor cu metoda condensarii pivotale #include <conio.h> #include <iostream> #include <math.h> #include <stdlib.h> using namespace std; double a,b,c; int…
Read More
Bubble sort, sometimes referred to as sinking sort, is a simple sorting algorithm that repeatedly steps through the list to…
Read More
Towers of Hanoi problem – Method Divide et impera BRIEF three rods A, B, C being located in the rod…
Read More
EURO INFORMATICA – Corel Draw: Use 2 Point Line and Shape Tool 9,593 total views, 1 views today
Read More
DirectX engine for support version 9, 10, 11 libraries Microsoft SDK. Features: camera view, lighting, load mesh, animation, skinning, hierarchy…
Read More
List with students: #include <stdio.h> #include <string.h> #include <malloc.h> #include <ctype.h> #include <conio.h> typedef struct elev{ char* nume; char* prenume;…
Read More
// Afisarea a doua multimi #include<stdio.h> #include<conio.h> void main(void) { int a,b,i,j,n,m ; char c='f'; clrscr(); printf("Nr de elemente din…
Read More
An algortithm with apartments persons repartisation: #define _CRT_SECURE_NO_DEPRECATE #include<stdio.h> #include<values.h> #define MAX_APART 20 int n; //nr persoane int pref;//preferinta pers…
Read More
Whenever you allow your users to submit text to your website, you need to be careful that you don’t leave…
Read More
Prior to PHP 6 there was a feature called magic quotes that was created to help protect newbie programmers from…
Read More
Recall from the PHP Forms Lesson where we used an HTML form and sent it to a PHP web page…
Read More
A “do while” loop is a slightly modified version of the while loop. If you recal from one of the…
Read More
While a For Loop and While Loop will continue until some condition fails, the For Each loop will continue until…
Read More
The for loop is simply a while loop with a bit more code added to it. The common tasks that…
Read More
Repetitive tasks are always a burden to us. Deleting spam email, sealing 50 envelopes, and going to work are all…
Read More
An array is a data structure that stores one or more values in a single value. For experienced programmers it…
Read More
Creating Your First PHP Function When you create a function, you first need to give it a name, like myCompanyMotto.…
Read More
Creating the HTML Form If you need a refresher on how to properly make an HTML form, check out the…
Read More
PHP Switch Statement: Speedy Checking With the use of the switch statement you can check for all these conditions at…
Read More
An if/else statement is great if you only need to check for one condition. However, what would you do if…
Read More
Using these conditional statements can add a new layers of “cool” to your website. Here’s the basic form of an…
Read More
The if statement is necessary for most programming, thus it is important in PHP. Imagine that on January 1st you…
Read More
16,628 total views, 2 views today
Read More
Require vs Include When you include a file with the include command and PHP cannot find it you will see…
Read More
Without understanding much about the details of PHP, you can save yourself a great deal of time with the use…
Read More
Comments in PHP are similar to comments that are used in HTML. The PHP comment syntax always begins with a…
Read More
In all programming languages, operators are used to manipulate or perform operations on variables and values. You have already seen…
Read More
PHP – String Creation Before you can use a string you have to create it! A string can be used…
Read More
As you saw in the previous lesson, the PHP command echo is a means of outputting text to the web…
Read More
A variable is a means of storing a value, such as text string “Hello World!” or the integer value 4.…
Read More
When we consider a Java program it can be defined as a collection of objects that communicate via invoking each…
Read More
PHP’s syntax and semantics are similar to most other programming languages (C, Java, Perl) with the addition that all PHP…
Read More
PHP – What is it? Taken directly from PHP’s home, PHP.net, “PHP is an HTML-embedded scripting language. Much of its…
Read More
A namespace is a section of code that is identified with a specific name. The name could be anything such…
Read More
In the previous two lessons, to use a variable, we were declaring it using either var or a known and…
Read More
A double-word is a group of two consecutive Words. This means that a double-word combines 4 bytes or 32 bits.…
Read More
JavaScript is a sequence of statements to be executed by the browser. JavaScript Statements JavaScript statements are “commands” to the…
Read More
HTML5 has support for inline SVG. SVG What is SVG? SVG stands for Scalable Vector Graphics SVG is used to…
Read More
The <canvas> element is used to draw graphics, on the fly, on a web page. The example at the left…
Read More
JavaScript is typically used to manipulate HTML elements. Manipulating HTML Elements To access an HTML element from JavaScript, you can…
Read More
HTML5 New Form Attributes HTML5 has several new attributes for <form> and <input>. New attributes for <form>: autocomplete novalidate New…
Read More
JavaScript is the world’s most popular programming language. It is the language for HTML, for the web, for servers, PCs,…
Read More
HTML5 New Form Elements HTML5 has the following new form elements: <datalist> <keygen> <output> Not all browsers support all the…
Read More
HTML5 New Input Types HTML5 has several new input types for forms. These new features allow better input control and…
Read More