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


       

C++ Programming Code Examples

C++ > Computer Graphics Code Examples

This code implements the classic game: Snake & Ladder.





C code to Check and Read Identity Matrix - C program to read elements in a matrix and check whether matrix is an Identity matrix or not. Identity matrix is a special square matrix whose main diagonal elements is equal to 1

C Language Coding Print Alphabets a to z - Internally C represent every character using ASCII character code. ASCII is a fixed integer value for each global printable, non-printable characters. For example ASCII value of a=97,

The C++ language Check Leap Year or Not - To check whether the input year is a leap year or not a "leap year" in C++ Programming, you have to enter the year and start checking for the leap year. To check that the year is a leap

C++ Program Coding Multiply 2 Numbers - In this c++ program, user enter two numbers ('floating point numbers'). Then, the product of those two numbers is 'stored' in a variable and displayed on the screen. The 2 numbers

C Code Finds the Sum of all Nodes in Tree - C Program finds the sum of all nodes in a tree such that any node is sum of values at left and right sub tree. Function to find depth of a tree. Function to modify the tree. Function to

Code fscanf Works Exactly Like the scanf() - C Programming fscanf: works exactly like the scanf() function except that it reads from the stream. Returns the number of arguments actually assigned values or EOF on failure &

C++ Computes Cross Product of 2 Vectors - C++ Program to find the cross product of two vectors. In mathematics, the cross product or vector product is a "Binary Operation" on two vectors in three-dimensional space. It results

Performs Left Rotation on a Binary Search - A tree rotation moves one node up in the tree and one 'node down'. It is used to change the shape of the tree, in particular to decrease its height by moving smaller subtrees down and