 # C++ Programming Code Examples

## C++ > Algorithms Code Examples

### Regular exp to nfa

2D-Drawing Circles, Arcs, Rectangle, Lines - This 2D-Drawing Program is used for drawing circles, arcs, rectangle, lines and many more. Controls for the two-dimensional drawing. Enter radius of circle, enter radius, starting...

C Program Converts Strings to LowerCase - Program code to 'convert' uppercase string to lowercase using for loop. First check whether the given character is 'uppercase' alphabet or not. If it is Uppercase Alphabet just add 32 to

Code Put Even and Odd elements of array - C program to input elements in an array and put all even and odd elements in 2 separate array. Separate even and odd elements of a given array in 2 separate array containing...

Find Sum of First & Last digit of a number - C program to input a number and find sum of first & last digit of the number using for loop. Input a number from user and store it in some variable say j. Find last digit of given number

C Program code to Print Number in words - C program to input a number from user and print it into words using for loop. The above logic is correct however it print the words in reverse order. For example, suppose number

Removing First Occurrence of a Character - C program to "read any string" from user and Remove first Occurrence of a given character from the string. The program should also use the concept of functions to remove the given

Code Find the Biggest Number in an Array - C Program to find the 'Biggest Number' in an array of numbers using recursion. C Program example printing the "Largest Number" in an unsorted array of elements 'Using Recursion'.

C Coding to Perform Matrix Multiplication - C program, using recursion, performs Matrix multiplication of two matrices and displays the result. Use 2D array to represent a matrix and resulting matrix is stored in a different...