C++ Reference > C++ Examples

# C++ Examples

Our C++ Examples section provides beginner and experienced programmers examples of C++ code to solve common problems.

- Calculating the Mean, Median, and Mode of an Array in C++
- Finding the Max, Min, and Average of an Array in C++
- Calculating Fibonacci Numbers in C++
- Calculating Combinations in C++
- Dynamically Allocating Memory in C++
- Area of a Triangle Given by Three Points in C++
- Print out a Diamond in C++
- Calculating the Distance Between Two Points in the Plane in C++
- Fill, Insert, Sort, and Remove Entries in an STL vector in C++
- Temperature Conversions with Fahrenheit and Celsius in C++