Php Programming Code Examples

Php > Date Time Code Examples

Example of using the pcCalendar class

Print the Kind of Rotation the AVL Tree is - Program to print the kind of rotation that is performed when an 'Element is inserted' or deleted from tree. In Discrete Mathematics, tree rotation is an operation on a binary tree

Use Local Variables in The C++ Language - Global variables are accessible in full file. But "local variables" are not accessible in full file. And the local variable's scope is between the block of instruction that is defined between

C Finds All Roots of A Quadratic Equation - Step by step descriptive logic to find roots of Quadratic Equation using Switch Case. Input coefficients of quadratic equation. Store it in some variable say a, b, c. Find discriminant of

Converts Hexadecimal to Binary Numbers - Hexadecimal to Binary conversion is divided in 3 steps. Extract each hex digits separately. Find the Binary of each extracted Hex digit. Store the binary equivalent of extracted hex

Postfix Increment Operator Overloadings - Increments ++ & Decrements -- operator are overloaded in best possible way, increase the value of a data member by 1 if "++ operator" operates on an object and decrease value of

C++ Finds All Roots of Quadratic Equation - Program accepts "coefficients" of a quadratic equation from the user and displays the roots (both real and complex roots depending upon the discriminant). 'ax^2+bx+c = 0' (where a, b,

C Code Print ASCII values of all Characters - Program print ASCII values of all characters. ASCII stands for American Standard Code for Information Interchange. It is a set of integer values that represents different printable and

C Program Code Concatenate Two Strings - C programming code concatenate 2 strings in single string. Concatenation of 'two strings' is the process of Joining them together to form a new string. Concatenation appends second