Bubble SortMethod is one of the sorting methods which is the simple sorting algorithm that runs by repeatedly swapping the adjacent elements if they are in the wrong order.Bubble sortsometimes referred to assinking sort.
You can use thisbubble_sort()function to sort an integer array in its range as given below.
void bubble_sort(int A[], int n)
{
for ( int…
Tutorial: Easily Learn To Draw Mandelbrot In C++ On Windows
February 9, 2021
Inmathematics, Fractalsare a self-similar subset ofEuclidean space whose fractal dimensions strictly exceeds its topological dimension. So when you draw these functions in their topological height, fractals appear the same at different levels, as…
Tutorial: Learn To Print Mandelbrot In Text Form In C++
February 7, 2021
Inmathematics, fractalsare a self-similar subset ofEuclidean space whose fractal dimensions strictly exceeds its topological dimension. So when you draw these functions in their topological height, fractals appear the same at different levels, as…
Quickly Learn To Count Prime Numbers In GNU C++ On Windows
February 1, 2021
GNU C/C++ Compiler (gcc , g++)
GNU GCC is another powerful C/C++ compiler originally written as the compiler for theUnix, Linux and GNU operating system. The GNU system was developed to be 100% free software, and it is efficient with both 32-bit and 64-bit operations. This compiler can be used on Windows using MinGW or CygWin Linux Simulators. Compiled executable files need a small dll to…
3D Objects are like wrapped papers in 3D form. They consist of points which shape a polygon. It’s very rare to use anything other than triangles, and more complex shapes are decomposed into multiple triangles. Our 3D objects are stored with these points, data that…
Do you want to develop a Paint like application on windows? In this project we will develop a simple paint application in Modern C++ for windows. Before this we would like to recommend you our previous posts about Bitmap Operations In C++ Builder (FireMonkey) and Quickly…
Media Players are good to play sounds or videos. You can easily create your own media player in C++ Builder. MediaPlayer (TMediaPlayer) component is very good to develop your media player application. You can use aTMediaPlayercomponent for easy access to media files.MediaPlayer (TMediaPlayer)is used with TMediaPlayerControl. Set MediaPlayer to link aTMediaPlayerto…
Easily Play Sounds In Modern C++ On Windows With This Snippets
January 21, 2021
Sounds are one of the important part of applications. Basically playing sound is sending signals to audio device / audio card of your computer to generate sounds in its voltage and frequency.
In C++ Builder, simply if you want to warn for something beginning or done we…
Learn How To Easily Record Sound In Powerful Modern C++ On Windows
January 19, 2021
Sounds are in wave format and in digital form sound has its volume change in timeline. In C++ Builder it is easy to use recording devices on Windows. To record a sound in Multi-Device applications we must use FMX.Media.hpp header.
1. Let’s create a new MultiDevice…
Quickly Learn To Draw Powerful Mathematical Functions Dynamically in Modern C++ on Windows
January 17, 2021
Most of engineering applications needs to display data in part of time or in real time. There are many ways to draw mathematical functions or data series. There are also components which makes easy to display, zoom, arrange, save or load data. In this post we will explain what is the best way to draw mathematical functions.Modern way to display drawings in C++ is using these Bitmaps. Bitmaps has…