Php Programming Code Examples
Php > File Manipulation Code Examples
C++ Table Show the legal values for Mode -
Open a text file for reading. Create a text file for writing. Append to a text file and Open a binary file for reading. Create a binary file for writing. Append to a binary file. Open a text
Code Find Maximum Between 2 Numbers -
C program code to input two numbers and find maximum between two numbers using conditional/ternary operator ?:. How to find maximum minimum between two numbers
Assignment Operators in The C Language -
C Programming to assignment operators. An Assignment Operator is used for assigning a value to a variable. C code demonstrate the working of assignment operators. The most
C++ Program to Implement Selection Sort -
This C++ program sample sort the given data using Selection Sort. Selection sort algorithm sort data by comparing one element to every other element & decide its position. The time
C Program Codes write data in DMA Mode -
Motor on, command code, cylinder no. Sense Interrupt Command. Reading ST0 in data register. Initialization DMA Mode. Supplying Mode Byte. Supplying channel no. on port 10.
Check a Number can be Expressed as Sum -
Program to check whether a number can be expressed as sum of two prime numbers. To accomplish this task, "checkPrime()" function is created. The "checkPrime()" returns 1 if the
C++ Language & Concatenate Two Strings -
Combined two strings means add both string with each other, perform this operation using 'library function' or without library function. If first string is 'john' and second string is porter
C Calculate the Sum of the Array Elements -
C Program code calculates the sum of array elements using pointer. The program uses the pointer to traverse the array and adds up the element values there. C program to read