Php Programming Code Examples
Php > Graphics Code Examples
Create thumbnails and ftp em via command line
How to Use Constructors in C++ language -
Read the comments in the following program to understand each part of the program. This is a "default constructor" of the class, you do note that it's name is same as class name and
C Program LCM while loop & if statement -
The LCM of two integers num1 and num2 is the smallest positive integer that is perfectly divisible by both num1 and num2 (without a remainder). For example: the LCM of 72 and
Count Number of Words in the given Text -
Program takes a string as input and count the number of words in the input string. Take the string as input, store it in the array 's[]'. Using for loop search for a space ' ' in the string and
Generate All Possible Combinations of List -
Algorithm takes the input of 'n' data element and prints all 'possible combination'. For that, it maintains a boolean 'Array of Length' "n". If the corresponding boolean value is true, then
C++ Simple Calculator Code for Beginners -
Write a simple C++ program which have four different functions for "basic operations" like addition, subtraction, division, multiplication. It should be menu based asking user to enter
C++ Prim's Algorithm Finds the Minimum -
Find the minimum spanning tree of the given graph using Prims algorihtm. This algorithm is a "greedy algorithm" that finds a minimum spanning tree for a "Connected Undirected"
C++ Programming Write Content to a File -
To 'write' some content in a file in C++, enter the file name with extension to open that file using the function open(), then after opening the desired file, again ask to the user to enter
C Program to Open, Read & Close the File -
C various file opening modes: File is opened using fopen() c function, while opening you can use any of the following mode as per the requirement. Mode "r": It is a read only mode,