# C++ Programming Code Examples

## C++ > Computer Graphics Code Examples

### Perform Edge Coloring to the Line Graph of an Input Graph

C Program Code Finds Reverse of an Array -
C program just print array in reversed order. It does not reverses the array. Here I am writing the first basic logic to reverse an array. It uses above approach to access array element in...

C Code Find Armstrong Numbers in Range -
Logic to find all Armstrong number between 1 to n. Input Upper Limit to print Armstrong number from user. Store it in some variable say end. Run a loop from 1 to end, increment

C++ Language Displaying Fibonacci Series -
The Fibonacci sequence is a series where the next term is the "sum of pervious two terms". The first two terms of the Fibonacci sequence is 0 followed by 1. Fibonacci Numbers: 0, 1, 1,

Paddle Graphic Sample in C Programming -
Sub functions to check the progress of the game, function to create paddle, functions to create bricks, clear a layer, produce various sounds, create a single brick, display symbol

Insertion Sort Algorithm in C++ Language -
Insertion sort is simple sorting algorithm that builds the final sorted array ('or list') one item at a time. It is much less efficient on large lists than more advanced algorithms such as quick

Every Possible Combination of two Strings -
Program display every 'possible combination' of 2 "Words or Strings" from the input strings without repeated combinations. Read strings into 2d character arrays. Concatenate string1

Matrix Multiplications Mutiply 2 Matrices -
Column number of first matrix must be same as the row number of second matrix. Initialize matrix. Print values of the passed matrix and mutiply two matrices and return the resultant

Program Finds Prime Numbers in a Range -
Program should display every prime number between 'range' and at the end total number of "prime numbers" found in range. Separate function which receives "two parameters" for