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…
Learn C++ With Back to Basics: Pointers and Memory by Ben Saks (CPPCon 2020) Video
December 10, 2020
In modern C++, the common wisdom is to prefer smart pointers over raw pointers. But since they are still so common in C++ code and C++ libraries, many C++ programmers do not stop using them. If that’s the case, then they should learn how to use them efficiently. This…
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…
This video introduces what generic programming is, along with the different kinds of functions, namely: function, class, and method templates. After tackling the basics, this will help you keep in mind that codes should not be all about the templates. This is mostly for the…
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…