Php Programming Code Examples
Php > HTML and Php Code Examples
Dynamic form field
C++ Sample Calculate Power of a Number -
Program takes two numbers (a 'base number' and an 'exponent') and Calculates the Power. The technique works only if the exponent is a positive integer. If you need to find the power
Performs Edge Coloring to the Line Graph -
Takes the input of the number of 'vertexes' & the number of edges in the graph. It takes the input of vertex pairs for the given number of edges. It generates a line graph for the given
Program to Store Information of Students -
In this c program code, a structure, student is created. This structure has three members: name (string), roll (integer) and marks (float). Then, we created a structure array of size 10
Aho-Corasick Algorithm String Matchings -
"Aho-Corasick" string matching algorithm is a 'searching algorithm', it is a kind of dictionary matching Algorithm that locates elements of a finite set of strings (the "Dictionary") within
Code print all unique elements in an array -
C Program to read elements in an array and print all unique element present in array. C program to find unique/distinct elements in an array. Logic to print all unique elements...
Use The KMP Pattern Searching Algorithm -
Program performs a Pattern Searching using "KMP" 'Pattern Searching Algorithm'. Pattern searching is used for Finding the Existence of a Substring in a String. The pattern searching
Perform Particular Operation two Number -
To perform 'addition', 'subtraction', 'division' and 'multiplication' of any 2 numbers in C++, enter the 2 number and enter the operator to perform the particular math operation (+, -, *
Arithmetic, Assignment, Logical, Bitwise -
Arithmetic operators: +, -, *, /, %, addition, subtraction, multiplication, division, modulo. Assignments operators in C++ are: =, +=, -=, *=, /=, %=. Auto increment and decrement