# C++ Programming Code Examples

## C++ > Conversions Code Examples

### Convert Octal number to Binary number

Perform to a 2D FFT Inplace a Complex 2D -
A fast Fourier transform (FFT) is an algorithm to computing the discrete 'Fourier transform' and its inverse. Fourier analysis converts time (or space) to frequency and vice versa; an FFT

C Program Code Performing Binary Search -
C program, Using Recursion, performs binary search. In this C program, an array of random number is generated. User is asked to enter a key. The array of random numbers are sorted

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 Language Calculation Divide Product PI -
C Calculations on a table, the radius of table, the diameter of the table, the circumference of the table, the area of a circle, calculate the radius, calculate the circumference, calculate

C Language A Puzzle Finding the Number -
The main logic lies in displaying the numbers in the screen. The X & Y coordinate of each function is calculated with respect to mx "maximum of x value" & my "maximum of y

C Language Code find First and Last Digit -
C Language program code to find first & last digit. Input a number from user & store it in some variable say num. Find last digit using modulo division by 10 lastDigit = num % 10.

Program Code Search an Element in a Tree -
Program search element in a tree recursively. Program searches for a given Node in a Tree. The Tree we have used is the "Binary Search Tree". A Binary search tree follows a concept

Code Checks a String is Palindrome or Not -
C Program to check Whether a given string is palindrome or not 'using recursion'. Program, with recursion, determines the entered string is a 'palindrome' or not. Palindrome is a word,