 # Php Programming Code Examples

## Php > User Management Code Examples

### Smb_auth

Program Solves the Magic Squares Puzzle - Using iteration, finds the Magic Square for a given odd sized number. A magic square is an arrangement of numbers from 1 to N^2 in an [N x N] matrix, with each number occurring...

C++ Sample Codes Implement Merge Sort - Merge-Sort is based on an algorithmic design pattern called Divide & Conquer. It forms tree structure. The height of the tree will be log(n) And we merge n element at every level of the

Code Put Even and Odd elements of array - C program to input elements in an array and put all even and odd elements in 2 separate array. Separate even and odd elements of a given array in 2 separate array containing...

Generating Random Numbers by Multiply - C++ Program to generate Random Numbers using Multiply with 'Carry' method. multiply-with-carry ("MWC") is a method invented by 'George Marsaglia' for generating sequences

Program Add Two Numbers Using Pointer - In program we're going to accept 2 numbers from user using pointer. After accepting Two Numbers we are going to add Two Numbers by using "De-reference Operator" in Pointer.

Function Chaining Calls Using This Pointer - Example of using this 'pointer' is to return the "Reference of current object" so that you can chain "function calls", this way you can call all the functions for the current object in one go.

C++ Code Find Largest of Three Numbers - To find the largest number among the three numbers in C++, enter three numbers, now checking which one is the "largest number". After finding the largest number, we display

Implement Doubly Linked list using Singly - Program implements doubly linked list using singly Linked List. It makes use of 2 pointers, one points at the current node, other points at the head and when user requests to move