# C++ Programming Code Examples

## C++ > Sorting Searching Code Examples

### Generate All Possible Combinations Out of a,b,c,d,e

C Implement Binary Tree using Linked List -
Program implements binary tree using linked list. Binary Search tree is binary tree in which each Internal Node x stores an element such that the element stored in the left subtree of

Program to Accept Paragraph using scanf -
Here scanf will accept characters entered with spaces. It also accepts the Words, new line characters. Represent that all characters are accepted except tab(t), whenever t will

Find the Number of Permutations of given -
Prints a total number of permutation possible for a given string. The time complexity of this algorithm is "O(n)". Algorithm takes the input of the string. Then it checks for the repetition

Encode the String Display Encoded Strings -
Read a 'five-letter' Word into the pc, and then encode the word on a letter-by-letter basis by subtracting 30 from the Numerical value that is used to represent each Letter. Thus if ASCII

Use If Else Statements C++ Programming -
In sometimes you have a "condition" and you want to execute a block of code if condition is true and execute another piece of code if the same condition is false. This can be achieved

Program for Beginners: Area of Rectangle -
A plane figure with 4 sides & 4 right angles & having Equal Opposite sides. Adjucent sides makes an Angle of 90 degree. Just compute the area of a Rectangle if you know its length

C Code Find LCM Least Common Multiple -
C Program to Find LCM In C language. L.C.M. or Least Common Multiple of 2 values, is the smallest positive value which the multiple of both values. For example multiples of 3 and 4

C++ Language Using the main() Function -
The "main() function" is called when the c++ program starts after initialization of the non-local objects with static storage duration. It's the primary entry point of any C++ Program