Happy Codings - Programming Code Examples
Html Css Web Design Sample Codes CPlusPlus Programming Sample Codes JavaScript Programming Sample Codes C Programming Sample Codes CSharp Programming Sample Codes Java Programming Sample Codes Php Programming Sample Codes Visual Basic Programming Sample Codes

Php Programming Code Examples

Php > Algorithms Code Examples

This algorithem checks if an Israeli ID (9 digits) number is valid

C Program save Array in Memory into file - Get memory in c programming language. Generate 10 random numbers. Write the entire array in one step. Free memory. Get memory again. Read the entire array in one

C++ Code to List Files in Current Directory - To list and "display/print" all the files present inside the current directory in The C++, use a pointer say dir of DIR and the pointer say pdir of dirent to open and "read directory" to print

C Trim Leading White Spaces from Strings - Program Trim leading white space characters from a string. Remove "Leading Whitespace" characters from the string. Find Last index of whitespace character. White space character

C Language Finding the Sum of G.P Series - C Language program is used to Find the Sum of the geometric progression series. Here G.P stands for geometric progression. Geometric progression, or GP, is a sequence where each

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.

Binary Search Tree non-recursive traversal - In this, includes the inserting a node, deleting a node, recursive tree traversal, non-recursive Tree Traversal, finding the minimum and the maximum, leftchild, rightchild, copy a tree to

C Language Coding Compare Two Strings - C program to compare two strings using loop 'Character by Character'. Comparing 2 strings Lexicographically without using string library functions. 'Input two strings' from user. Store

C Program Find Square Root of a Number - C input a number and find square root of the given number. How to find square root of a number in C programming using inbuilt sqrt() function. Using predefined sqrt() function to