# C++ Programming Code Examples

## C++ > Sorting Searching Code Examples

### Find the peak element of an array using Binary Search approach

Convert Strings to UpperCase use Pointers -
C program to 'convert string' from Lowercase to uppercase string using loop. All characters are represented as an integer value known as "ASCII" value. Where A is represented with 65

C++ Program to Implementing Min Heap -
Program display the minimum heap method of arranging elements. "Minimum Heap" is a method of "Arranging Elements" in a Binary search tree where value of the parent node is

Converts Decimal to Hexadecimal Number -
C program input decimal number and convert to Hexadecimal number system. The Decimal number system is a base 10 number system. Decimal number system uses 10 symbols to...

C++ Programming Print Table of Number -
You have to ask to the user to enter a number and start "multiplying" that number from 1 to 10 and display the multiplication result at the time of multiplying on the screen which is the

C++ Multiply two Matrices Passing Matrix -
Learn to "multiply two matrices" and display it using user defined function. This program asks user to enter the size of the matrix (rows and columns). Then, it asks the user to enter

C++ Checking if a Given Graph is Bipartite -
Bipartite Graph is a graph in which the set of 'vertices' can be divided into 2 sets such that all vertex should be present in either set 1 or set 2 but not both, and there should no edge

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 Example to Delete File -
To "delete files" in C++, enter the file name to delete the file using the function remove(). If the file would be deleted successfully, then it ("remove()") will return 0 otherwise it will not