# C++ Programming Code Examples

## C++ > Computer Graphics Code Examples

### C++ Program to Find Hamiltonian Cycle

Performs LU Decomposition of any Matrix -
C++ Program perform LU Decomposition of a matrix. LU decomposition factors a matrix as the product of a Lower Triangular Matrix and an upper 'triangular matrix'. Code sometimes

C Program Codings Concatenate 2 Strings -
Program to Concatenate two strings in single string. Concatenation of two strings is simple copying a string to another. To concatenate 2 strings str1 & str2, you will copy all characters

C Language Codes Sorts the List of Strings -
C program which will accept 'multiple strings' from the user and will sort them in ascending order. Checking each successive strings using strcmp() function. If string is greater than the

Program Sortings an Array of 10 Elements -
"Heapsort" can be thought of as an improved "selection sort": like that algorithm, it divides its input into a sorted and an unsorted region, and it iteratively shrinks the unsorted region

Multiply a Number by 4 Bitwise Operators -
Program to multiply given number by 4 using bitwise operators. C Program code multiplies given number by 4 using "Bitwise Operators". Bitwise Operators: or, and, xor, not, left shift,

C program to Getting the Time as a String -
Returns the time as a string in 12 or 24 hour format. Stores the time as a string. Getting time value. Getting time and date structure. Save the hour value. Adjust if 12 hour format.

Find the Maximum Size Clique in a Graph -
This is a C++ Program to find the 'cliques' of size k in a a graph. An "Undirected Graph" is formed by a finite set of vertices and a set of unordered pairs of vertices, which are called

Check if Given Binary Tree is an AVL Tree -
This is a C++ Program to check if BST is AVL. An AVL tree is a self-balancing binary search tree. It was the first such data structure to be invented. In an "AVL tree", the heights of the