Metaprogramming is another great feature of modern C++ that allows programs to redesign themselves during compilation or run time. In C++17, another new feature of metaprogramming is introduced, logical operation metafunctions. These are variadic metafunctions that are conjunction, disjunction, and negation which can be used for metaprogramming features of applications. In this post, we explain…
Metaprogramming is another great feature of modern C++ that allows programs to redesign themselves during compilation or run time. In C++17, another new feature of metaprogramming is introduced, logical operation metafunctions. These are variadic metafunctions that are…
What Is Multiset (std::multiset) In Modern C++?
March 1, 2024
In C++, containers are powerful data storage arrays and they are very useful to iterate and search. A container is a holder object that stores data elements (a collection of data objects) such as std::array, std::vector, std::map. There is another useful…
What Is Set (std::set) In Modern C++?
February 22, 2024
Modern C++ has a lot of options to add and modify data members with its amazing data holders, arrays, structs, pointers, and containers. Containers are powerful data storage arrays in C++ and they are very useful to iterate and search. A container is a holder object that stores data elements (a collection of data objects). std::array, std::vector, and std::map are these kinds of containers.
What Is Deque (std::deque) In Modern C++?
February 20, 2024
The most powerful data storage arrays inModern C++areContainersand they are very useful to iterate and search members with their amazing methods and properties. A container is a holder object that stores data elements (a collection of data objects).
What Is forward_list (std::forward_list) In Modern C++?
February 15, 2024
The C++ programming language has a lot of options to add and modify data members with their amazing data holders, arrays, structs, pointers and containers. Containers are powerful data storage arrays in C++ and they are very useful to iterate and search. A container is a…
Learn To Create A Torus As A Custom 3D Mesh Object in C++ Builder
February 13, 2024
In a 3D Application Development, 3D objects can be displayed with 2D projection methods by using 2D / 3D mathematical calculations drawings. That may be hard to code and needs much coding skills to display them. We can use OpenGL and DirectX with their 3D functions/commands to display them. We can also use and port a 3D Engine SDK. In C++ Builder, 3D objects can be easily displayed by using…
What Is Multimap (std::multimap) In Modern C++?
February 8, 2024
Modern C++is very powerful with many great features to help you write programs more easily with safer template class objects that have faster algorithms and methods. In C++, Containersare the powerful data storage arrays in modern C++ and they are very useful for…
What Is List (std::list) In Modern C++?
February 6, 2024
Containersare powerful data storage arrays in modern C++ and they are very useful to iterate and search data with their amazing methods and properties. A container is a holder object that stores data elements (a collection of data objects). std::vector, std::array…
Random numbers are widely used in today’s modern applications. In C we use rand(), srand() and in C++ it is std::rand(), std::srand(). Since C++11, we can use the Mersenne Twister random generators; mt19937 (std::mt19937) for 32-bit applications and mt19937_64 (std::mt19937_64) for 64-bit applications. Modern C++ allows us to use both old and new random generators. In this post, we explain…