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




Encoding a Message Matrix Multiplication
This C++ Program perform 'encoding matrix' using a hidden-key. "Encoding" is performed using "matrix multiplication" between given matrix and 'key matrix'. Enter the number of

Find the Sum of All Nodes in a Binary Tree
Program code to find the sum of all nodes in a binary tree. Structure to create the binary tree. Inserting elements in the binary tree. C Code to dynamically create new nodes. Code

C Specifies the buffer that Stream will use
Send to a buffered stream to filep1 and send to an unbuffered stream to filep2. Set buf to null to turn off buffering. The buffer must be BUFSIZ characters long. BUFSIZ is defined in

Program Checks if Number is Even or Odd
If a number is exactly divisible by 2 then its an even number else it is an odd number. In this we have shared 2 ways to check whether the input number is even or odd. Using Modulus

C Read a Grade and Display the Equivalent
C language program take the letter as input and store it in the variable grade. Convert the input letter into its uppercase using function toupper(). Using switch statement, verify the

C Code Copy One String to Another String
C program code to copy one string to another without using inbuilt library function 'strcpy()' Input string and 'store it' to some variable say text1. Declare another variable to 'store copy'

Program to Create Your Own Header File
Program to create your own header file in c programming. Write only function definition as you write in c program. Save above code with extension. Let name of our header file

Displaying the Inventory of Items in Store
C Program display the inventory of items in a store. accepts the value of item name, item code, price, quantity & manufacture date. Then display those value in a structured way.