Php Programming Code Examples
Php > Graphics Code Examples
Create MRTG Graphic from rrd database (Need MRTG and RRDTool installed)
Calculate Area and Perimeter of Rectangle -
To calculate "area and perimeter" of a square and rectangle in C++ Programming, you have to ask to the user to enter length and breadth of the rectangle and side length of the square
Finds Factorial of Number using Recursion -
This c program prompts user for entering any integer, finds the Factorial of input number & displays the output on screen. Use a recursive user defined function to perform the task. We
Every Possible Combination of two Strings -
Program display every 'possible combination' of 2 "Words or Strings" from the input strings without repeated combinations. Read strings into 2d character arrays. Concatenate string1
C Program Code to Catch pressing Ctrl+C -
Program example catches the Ctrl-C (SIGINT) signal for the first time and prints a output rather but exits on pressing ctrl-c again. You have presses Ctrl-C, please press again to exit
Finds First Occurrence of a Word in String -
How to find the 'first occurrence' of any word in a string in C. Input string from user, store it in a variable "str". Input word 'to be searched' from user, store it in some other variable say
Program to Check Whether Graph is DAG -
This is a C++ Program code to check whether graph is DAG. In mathematics and computer science, a directed acyclic graph, is a directed graph with no directed cycles. It is formed by
C Code Locate Highest Lowest nr in Array -
C Program example Return the largest of the two passed numbers. Return smallest of the two passed numbers. Load some random values into the array. Print set of numbers.
C Language program Print Pascal Triangle -
C program print pascal triangle up to n rows. Pascal triangle is a triangular number pattern named after famous mathematician Pascal. Where n is row number and k is term of that