TComboBox
ComboBox is used to select list of texts (i.e. Categories). Gets the item that is currently selected in the combo box. Selectedreturns the selected item in the combo box as…
How To Analyze Video Camera Images In C++ Builder On Windows
December 9, 2020
C++ is a strong and faster programming language, this feature really important on dynamic operations running less than in milliseconds of intervals. C++ is one of the best to analyze video camera images, it is good to analyze video image operations by using very modern…
Learn Basic Components in C++ Builder (QuickLook Part 1)
December 8, 2020
In this article we will add some quick methods to show how to use basic components in C++ Builder. Most of component properties and methods are same in VCL and FMX projects. If you are a beginner we highly recommend you to watch this Introduction To C++ Windows Development…
Insert Iterators Adapters in C++
December 6, 2020
Let’s slightly modify the example from The Move Iterator Adapter in C++ post:
#include <algorithm>
#include <list>
#include <string>
#include <vector>
/// @warning BUG! PLEASE, DON'T USE!
auto deep_copy_to_list(const std::vector<std::string>& src)
{
std::list<std::string> dst; // constructs the empty list
copy(cbegin(src), cend(src)…
The Move Iterator Adapter in C++
December 6, 2020
The dereference prefix operator * being applied to iterator returns the lvalue reference to the element pointed by the iterator. Therefore, algorithms such as std::copy or std::transform calls copying constructors of processed elements, for example:
#include…
Reverse Iterators in C++
December 6, 2020
By using bidirectional iterator or random access iterator (see Iterator Categories in C++) it’s possible to traverse the sequence in backward direction by using operator -- or by using the special adapter template class std::reverse_iterator. But why to bother with…
Categories of Iterators in C++
December 5, 2020
Conceptually, iterators are consists of five categories:
input iterator is intended to traverse sequences in the forward direction and provides the read access to the pointed sequence element;output iterator is intended to traverse sequences in the forward direction and provides the write access to the pointed sequence element;forward iterator is intended to traverse sequences in the forward…
Introduction to C++ Iterators
December 5, 2020
Iterator abstracts the concept of pointer to the sequence in range [begin, end), and thus provides the following basic operations:
dereference to obtain the current element;movement to point the next element;comparison to determine at least the end of…
Windows File Operations in Modern C++
December 5, 2020
There are a lot ways to operate on files in C and C++. In C programming is enough to use FILE, fopen(), fclose() operations. In C++ FileOpen().was enough to operate before. In Modern C++ because of multiplatform operating systems, global languages and for the other benefits…
Unicode Strings in C++ On Windows
December 1, 2020
Unicode standard for UnicodeString provides a unique number for every character (8, 16 or 32 bits) more than ASCII (8 bits) characters. UnicodeStrings are being used widely because of support to languages world wide and emojis. In modern C++ nowadays there are two types of strings used; array of chars (char strings) and UnicodeStrings (WideStrings and AnsiStrings are older, not compatible with…