# C++ Programming Code Examples

## C++ > Sorting Searching Code Examples

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

C++ Programing Implement String in STL -
'Insert substring' in a string. 'Erase substring' from a string. 'Append substring' to a string. Replace the string with a substrng. Size of a string. Find substring in a string. Display the

C Programming Code & Logical Operators -
C an expression containing Logical Operator returns either 0 or 1 depending upon whether expression results true or false. C Program to demonstrate working of logical operators...

C Finds Cube of a Number using Function -
C Program code input any number from user and find cube of the a number using function. Lets assign meaningful name to the function, say cube(). Function should accept a number

C Nth Fibonacci Numbers using Recursion -
Prints the Fibonacci of a given number using recursion. In fibonacci series, each number is the sum of the two preceding numbers. 0, 1, 1, 2, 3, 5, 8, ... The following program returns

C Circular Queue implementation through -
C Programming language code for circular queue implementation through Array. Add element to Circular Queue. Delete element from the Circular Queue. Do you want to do

Code Sum of Prime numbers between 1- n -
C program to find sum of all prime numbers between 1 to n using for loop. Prime numbers are positive integers greater than 1 that has only two divisors 1 and the number itself. For

C program code to Find Area of a Triangle -
C Input base and height of a triangle and find area of the given triangle. How to find area of a triangle in C programming. Input base of the triangle. Store in some variable say base.

C Language Sample Add Two Polynomials -
Enrter the elements of the first poly. Unable to create memory. Enter the elements of the second poly. Printing the elements of the lists. The elements of the poly first are. The...