Generated by All in One SEO Pro v4.9.9, this is an llms.txt file, used by LLMs to index the site. # Learn C++ C++ Syntax, Resources, Tutorials, And Code Snippets ## Sitemaps - [XML Sitemap](https://learncplusplus.org/sitemap.xml): Contains all public & indexable URLs for this website. ## Posts - [How To Convert u32string To A wstring In C++](https://learncplusplus.org/how-to-convert-u32string-to-a-wstring-in-c/) - While C++ is one of the most modern programming languages in the world, in 2024, it still has problems with strings and conversions. One of the problems is new std::basic_string types, it is hard to display and convert them. For example, there are no perfect conversion methods between basic_strings, especially, from higher character type strings - [Learn Copy Constructors in C++ Classes](https://learncplusplus.org/learn-copy-constructors-in-c-classes/) - In C++, constructors are one of the important parts of class types. There are different constructor types in C++ classes and the Copy Constructor is one of these. Copy Constructors are not only used in classes but also used with struct and union data types. In this post, we will try to explain the types - [Learn Copy Constructors in C++ Classes](https://learncplusplus.org/learn-copy-constructors-in-c-classes/) - In C++, constructors are one of the important parts of class types. There are different constructor types in C++ classes and the Copy Constructor is one of these. Copy Constructors are not only used in classes but also used with struct and union data types. In this post, we will try to explain the types - [Learn How To Use Types Of Destructors In C++?](https://learncplusplus.org/learn-how-to-use-types-of-destructors-in-c/) - When we are developing modern applications, we construct many objects by using our classes, they normally deconstruct themself when they are out of scope, sometimes we need operations to deconstruct them which means we need to define destructors. Destructors are not only used in classes but also used with struct and union data types. In - [Learn How To Use Types Of Destructors In C++?](https://learncplusplus.org/learn-how-to-use-types-of-destructors-in-c/) - When we are developing modern applications, we construct many objects by using our classes, they normally deconstruct themself when they are out of scope, sometimes we need operations to deconstruct them which means we need to define destructors. Destructors are not only used in classes but also used with struct and union data types. In - [How To Convert Char Array String To Unicode String Correctly In C++?](https://learncplusplus.org/how-to-convert-char-array-string-to-unicode-string-correctly-in-c/) - I think one of the biggest problems in C++ today is there's no perfect library to do conversions between strings in a global locale distribution. There are most problems when displaying or converting some characters in most languages. Moreover, there are more conversion problems between UTF8, UTF16, and UTF32 strings. There are solutions but I - [How To Convert Char Array String To Unicode String Correctly In C++?](https://learncplusplus.org/how-to-convert-char-array-string-to-unicode-string-correctly-in-c/) - I think one of the biggest problems in C++ today is there's no perfect library to do conversions between strings in a global locale distribution. There are most problems when displaying or converting some characters in most languages. Moreover, there are more conversion problems between UTF8, UTF16, and UTF32 strings. There are solutions but I - [How To Learn The Move Constructors In Modern C++?](https://learncplusplus.org/how-to-learn-the-move-constructors-in-modern-c/) - Object Oriented Programming in C++ is greatly strengthened by the new standards of modern C++. One of the features of modern C++ is the move constructor that allows you to move the resources from one object to another object without copying them. In this post, we list the move constructor types that we are using - [How To Learn The Move Constructors In Modern C++?](https://learncplusplus.org/how-to-learn-the-move-constructors-in-modern-c/) - Object Oriented Programming in C++ is greatly strengthened by the new standards of modern C++. One of the features of modern C++ is the move constructor that allows you to move the resources from one object to another object without copying them. In this post, we list the move constructor types that we are using - [How To Develop A Simple Hopfield Network In C++](https://learncplusplus.org/how-to-develop-a-simple-hopfield-network-in-c/) - In the history of AI development, one of the greatest AI technologies was the pattern recognition models, especially to read texts from pixel images. One of them was the Hopfield network (or Ising model of a neural network or Ising–Lenz–Little model), which is a form of recurrent neural network, it was invented by Dr. John J. Hopfield - [How To Develop A Simple Hopfield Network In C++](https://learncplusplus.org/how-to-develop-a-simple-hopfield-network-in-c/) - In the history of AI development, one of the greatest AI technologies was the pattern recognition models, especially to read texts from pixel images. One of them was the Hopfield network (or Ising model of a neural network or Ising–Lenz–Little model), which is a form of recurrent neural network, it was invented by Dr. John J. Hopfield - [How To Develop Special AI Activation Functions In C++?](https://learncplusplus.org/how-to-develop-special-ai-activation-functions-in-c/) - Artificial Intelligence models in today's AI development are rapidly increasing. These models execute and learn using mathematical functions that optimize the best result when it propagates or chooses the best solutions when it back propagates between artificial neurons. One of these functions is the Activation Function. Also called a transfer function, or threshold function it - [Learn Default Constructors Of Classes In Modern C++](https://learncplusplus.org/learn-default-constructors-of-classes-in-modern-c/) - Classes in C++ are the main building blocks of Object Oriented Programming Tools. They have a special function known as a constructor which is automatically called when an object of a class is created. There is a default constructor type in classes that is called when a class is defined with no arguments, or it - [Learn Default Constructors Of Classes In Modern C++](https://learncplusplus.org/learn-default-constructors-of-classes-in-modern-c/) - Classes in C++ are the main building blocks of Object Oriented Programming Tools. They have a special function known as a constructor which is automatically called when an object of a class is created. There is a default constructor type in classes that is called when a class is defined with no arguments, or it - [Learn How To Read The WAV Waveform Audio File Format In C++](https://learncplusplus.org/learn-how-to-read-the-wav-waveform-audio-file-format-in-c/) - Sound is one of the important parts of computer science and programming. The correct use of sound can add excitement to recreational apps such as games or it can act to alert the user to an important event or state change in a utility or business-focused program. We have many different sound formats to play sound files in our - [What Is Assignment Operator Overloading?](https://learncplusplus.org/what-is-assignment-operator-overloading/) - One of the most commonly used features of C++ software, in common with many programming languages, is the "=" assignment operator. These take the form of copy assignment and move assignment operators. In C++, we can overload the "=" assignment operator by creating a new assignment operator, this is called assignment operator overloading. In this post, we - [Full List Of Features In C++ 11](https://learncplusplus.org/full-list-of-features-in-c-11/) - C++ is one of the most powerful programming languages available today and it is being improved by every new C++ standard. The “Modern C++” term started with the release of the C++11 standards, and then the C++14, C++17, and C++20 standards followed. In the future C++23 is already on the horizon. Modern C++ consists of - [How To Use Basic Methods Of Strings In C++?](https://learncplusplus.org/how-to-use-basic-methods-of-strings-in-c/) - In C++, one of the most used variable types are text strings, also known as alfa-numeric variables, and they are really important when storing and retrieving valuable data. It is important to store your data safely in its language and localization. In modern C++, strings are std::basic_string types such as std::string, and std::wstring. In this post, we explain some - [How To Use Basic Methods Of Strings In C++?](https://learncplusplus.org/how-to-use-basic-methods-of-strings-in-c/) - In C++, one of the most used variable types are text strings, also known as alfa-numeric variables, and they are really important when storing and retrieving valuable data. It is important to store your data safely in its language and localization. In modern C++, strings are std::basic_string types such as std::string, and std::wstring. In this post, we explain some - [How To Use Basic Methods Of Wide Strings In C++?](https://learncplusplus.org/how-to-use-basic-methods-of-wide-strings-in-c/) - In C++, one of the most used variable types are text strings, also known as alphanumeric variables, and they are really important when storing and retrieving valuable data. It is important to store your data safely in its language and localization. In modern C++, strings are std::basic_string types such as std::string, and std::wstring. In this post, - [How To Use std::make_from_tuple in C++ 17](https://learncplusplus.org/how-to-use-stdmake_from_tuple-in-c-17/) - The C++ 17 standard was one of the major standards in the history of modern C++. One of the new library features in C++17 was std::make_from_tuple which is a new function template that initializes a value of type T from the elements of a given tuple. In this post, we explain how to apply with std::tuple in C++ examples. - [How To Use std::apply With Tuple In C++ 17 And Beyond?](https://learncplusplus.org/how-to-use-stdapply-with-tuple-in-c-17-and-beyond/) - The C++17 standard was one of the major standards in the history of modern C++. One of the new library features in C++17 was std::apply which is designed to be used with std::tuple class template. In this post, we explain how to use apply with std::tuple in C++ examples. What is std::tuple in C++? The tuple ( std::tuple) is - [How To Compute The Greatest Common Divisor And Least Common Multiple in C++?](https://learncplusplus.org/how-to-compute-the-greatest-common-divisor-and-least-common-multiple-in-c/) - The C++ 17 standard brings us a lot of useful methods, templates, numerics, and algorithms. Two of the great numeric functions are std::gcm and std::lcm which are defined in the header that computes the greatest common divisor and least common multiple of two integers. In this post, we learn what std::gcm and std::lcm are, and how - [How To Use Skia Shader SkSL Shading Language Code in C++ Builder?](https://learncplusplus.org/how-to-use-skia-shader-sksl-shading-language-code-in-c-builder/) - The latest RAD Studio / C++ Builder 12 comes with a lot of new features, one of which is Skia graphics library support in C++. Skia is an open-source graphic library that provides to support a variety of hardware and software platforms. One of Skia's amazing features is its support for the shader graphics SkSL Shading Language. - [How To Create Simple Generative AI Code In C++](https://learncplusplus.org/how-to-create-simple-generative-ai-code-in-c/) - In the short space of just over a year we have had very important developments happening in AI technologies. One of the biggest leaps was by ChatGPT-3 which is a Generative Pre-trained Transformer model in AI technology. Now we have GPT-4 and GPT-5 is on the way. In public tests on text and Images, it is well known that - [How To Use The SVG Image Format With Skia In C++ Builder](https://learncplusplus.org/how-to-use-the-svg-image-format-with-skia-in-c-builder/) - The latest RAD Studio / C++ Builder 12 comes with a lot of new features, one of them is Skia graphics library support in C++. Skia is an open-source graphic library that provides support for a variety of hardware and software platforms. Skia provides smooth 2D graphics that uses GPU efficiently. Skia supports a lot of new - [How To Use Skia Images in C++ Builder?](https://learncplusplus.org/how-to-use-skia-images-in-c-builder/) - The latest RAD Studio / C++ Builder 12 comes with a lot of new features, one of which is Skia graphics library support in C++. Skia is an open-source graphic library that provides to support a variety of hardware and software platforms. Skia provides smooth 2D graphics that uses GPU efficiently. Skia supports a lot of new - [What Is Skia In Modern C++?](https://learncplusplus.org/what-is-skia-in-modern-c/) - The latest RAD Studio / C++ Builder 12 comes with Skia graphics library support for C++. Skia is an open-source graphic library that provides to support a variety of hardware and software platforms. Google sponsor the Skia project but the library available for use by anyone under the BSD Free Software License. Projects which include Skia find - [How To Use Skia in C++ Builder 12?](https://learncplusplus.org/how-to-use-skia-in-c-builder-12/) - The latest RAD Studio / C++ Builder 12 comes with fully integrated Skia graphics library support in C++ and throughout the IDE. Skia is an open-source graphic library that provides support for a wide variety of hardware and software platforms. Skia is sponsored and managed by Google but is available for use by anyone under the BSD - [Learn How To Use Clamp (std::clamp) In Modern C++ 17 and Beyond](https://learncplusplus.org/learn-how-to-use-clamp-stdclamp-in-modern-c-17-and-beyond/) - The C++17 brings a lot of features to the modern programming. The Parallelism Technical Specification adds several new algorithms to the standard C++ library. These are modernized in the header in the standard library. In this library there is a very less know useful algorithm std::clamp, which is an algorithm that returns value in its range. - [What Is The Priority Queue (std::priority_queue) In Modern C++?](https://learncplusplus.org/what-is-the-priority-queue-stdpriority_queue-in-modern-c/) - The most powerful data storage arrays in Modern C++ are Containers and 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). std::vector, std::array, std::list are these kinds of containers. There is another useful container std::priority_queue that allows you to add - [What Is The Stack (std::stack) In Modern C++?](https://learncplusplus.org/what-is-the-stack-stdstack-in-modern-c/) - Modern C++ defines four container categories, and one of these is known as Container Adapters. There is a very useful container adapter implemented by the std::stack. In this post, we explain what std::stack is, and how can we add, delete, and print out them. Before that let's remind ourselves what containers are in C++ programming and - [What Is The Stack (std::stack) In Modern C++?](https://learncplusplus.org/what-is-the-stack-stdstack-in-modern-c/) - Modern C++ defines four container categories, and one of these is known as Container Adapters. There is a very useful container adapter implemented by the std::stack. In this post, we explain what std::stack is, and how can we add, delete, and print out them. Before that let's remind ourselves what containers are in C++ programming and - [What Is The Queue (std::queue) In Modern C++?](https://learncplusplus.org/what-is-the-queue-stdqueue-in-modern-c/) - The most powerful data storage arrays in Modern C++ are Containers and 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). std::vector, std::array, std::list are these kinds of containers. There is another useful container std::queue that allows you to add - [What Are The Logical Operation Metafunctions In Modern C++?](https://learncplusplus.org/what-are-the-logical-operation-metafunctions-in-modern-c/) - Metaprogramming is another great feature of modern C++ that allows programs to redesign itself during compilation or run time. In C++17, another new feature about 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 what logical - [What Is Deque (std::deque) In Modern C++?](https://learncplusplus.org/what-is-deque-stddeque-in-modern-c/) - The most powerful data storage arrays in Modern C++ are Containers and 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). std::vector, std::array, std::list are these kinds of containers. There is another useful container std::deque that allows you to add - [What Are The Deprecated C++14 Features In C++17?](https://learncplusplus.org/what-are-the-deprecated-c14-features-in-c17/) - C++ programming language has a lot of useful new classes, methods, templates, and keywords coming with the new C++ standards. Mostly they are new or enhanced versions of previous ones from the older standard. Because of new modern technologies and software requirements, some of these features are being deprecated and some are being removed. In - [What Are The C++14 Features Removed From C++17?](https://learncplusplus.org/what-are-the-c14-features-removed-from-c17/) - Modern C++ has a lot of useful new classes, methods, templates, and keywords introduced with the new C++ standards. Mostly they are new or enhanced versions of previous ones. Because of new modern technologies and software requirements, some of these features are being deprecated and some are being removed. In this post, we will list - [What is the conjunction (std::conjunction) metafunction in C++?](https://learncplusplus.org/what-is-the-conjunction-stdconjunction-metafunction-in-c/) - 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 what the - [What Is The disjunction (std::disjunction) Metafunction In C++?](https://learncplusplus.org/what-is-the-disjunction-stddisjunction-metafunction-in-c/) - 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 what the - [What is the negation (std::negation) metafunction in C++?](https://learncplusplus.org/what-is-the-negation-stdnegation-metafunction-in-c/) - 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 what the negation - [What Is Multiset (std::multiset) In Modern C++?](https://learncplusplus.org/what-is-multiset-stdmultiset-in-modern-c/) - 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 container std::multiset, in this post, we explain what std::multiset is. Before that let's remind ourselves what containers are - [What Is Set (std::set) In Modern C++?](https://learncplusplus.org/what-is-set-stdset-in-modern-c/) - 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 - [What Are The Amazing Containers In Modern C++?](https://learncplusplus.org/what-are-the-amazing-containers-in-modern-c/) - Containers are powerful data storage arrays in modern C++ and they are very useful to iterate and search data with their amazing methods and properties. The C++ Standards library defines 4 container types. In this post, we explain containers in modern C++. What is a container in modern C++? Containers are modern data storage arrays in modern - [What Is forward_list (std::forward_list) In Modern C++?](https://learncplusplus.org/what-is-forward_list-stdforward_list-in-modern-c/) - 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 holder object that stores data elements (a collection of data - [This Is How To Use std::map In Modern C++](https://learncplusplus.org/this-is-how-to-use-stdmap-in-modern-c/) - Modern C++ is amazingly powerful with many great features to help you write programs more easily with fewer errors. In C++, the Standard Template Library or STL has many algorithms for operations like searching, counting, and manipulation of ranges and their elements. In this Learn C++ post we show you a feature called std::map that - [How To Use Insert In std::map In Modern C++](https://learncplusplus.org/how-to-use-insert-in-stdmap-in-modern-c/) - Modern C++ is amazing with many great features. In C++, STL Standard Template Library has many algorithms for some operations like searching, counting, and manipulation of ranges and their elements. In this post you can learn C++ feature called std::map that you can map pair elements with an appropriate C++ IDE and compiler. One of - [What Is List (std::list) In Modern C++?](https://learncplusplus.org/what-is-list-stdlist-in-modern-c/) - Containers are 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, std::set are these kinds of containers. There is another useful container, in this post, - [What Is Multimap (std::multimap) In Modern C++?](https://learncplusplus.org/what-is-multimap-stdmultimap-in-modern-c/) - 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++, Containers are the powerful data storage arrays in modern C++ and they are very useful for iterating and searching data with their amazing methods, algorithms, and properties. A - [What Is Multimap (std::multimap) In Modern C++?](https://learncplusplus.org/what-is-multimap-stdmultimap-in-modern-c/) - 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++, Containers are the powerful data storage arrays in modern C++ and they are very useful for iterating and searching data with their amazing methods, algorithms, and properties. A - [What Are The Differences Between std::rand() And std::mt19937 In Modern C++?](https://learncplusplus.org/what-are-the-differences-between-stdrand-and-stdmt19937-in-modern-c/) - 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. - [Learn To Create A Torus As A Custom 3D Mesh Object in C++ Builder](https://learncplusplus.org/learn-to-create-a-torus-as-a-custom-3d-mesh-object-in-c-builder/) - 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 - [Learn To Quickly Create Specific 3D Objects In Modern C++ Applications For Windows](https://learncplusplus.org/learn-to-quickly-create-specific-3d-objects-in-modern-c-applications-for-windows/) - 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 which points are shaping polygons. In modern application development most - [What Is The mt19937 Random Generator In Modern C++?](https://learncplusplus.org/what-is-the-mt19937-random-generator-in-modern-c/) - Random numbers are one of the most important parts of today's modern programming technologies. They are used in mathematics, physics, in many engineering fields, and in programming such as generating random data for testing, random maps in levels, random trees on a planet - the list is endless. Since C++11, mt19937 (std::mt19937) is implemented as - [How To Use std::invoke In C++ 17?](https://learncplusplus.org/how-to-use-stdinvoke-in-c-17/) - There is a new library feature in the C++17 standard, it is std::invoke which is a useful feature to uniformly invoke callable entities. In this post, we explain what std::invoke is and how we can use it in examples. First, let's remind ourselves about what is a callable object and what is a functor in - [How To Use void_t Alias Template in C++ 17?](https://learncplusplus.org/how-to-use-void_t-alias-template-in-c-17/) - In C++ 17, there is a very useful alias template for metaprogramming that can be used to simplify use of SFINAE. The void_t is a meta-function that is used to map any types ( or types) to type void. In this post, we explain what is void_t, how you can use it in different examples. What is - [How To Use void_t Alias Template in C++ 17?](https://learncplusplus.org/how-to-use-void_t-alias-template-in-c-17/) - In C++ 17, there is a very useful alias template for metaprogramming that can be used to simplify use of SFINAE. The void_t is a meta-function that is used to map any types ( or types) to type void. In this post, we explain what is void_t, how you can use it in different examples. What is - [Learn C++ Optimization With A Genetic Algorithms Example](https://learncplusplus.org/learn-c-optimization-with-a-genetic-algorithms-example/) - Solving C++ optimization problems are one of the areas of all quantitative disciplines from social science, economics to engineering fields such as computer science. Genetic Algorithm (GA) is a kind of machine learning process that is used to generate high-quality solutions to optimization and search problems by relying on biologically inspired operators such as mutation, crossover, and selection. - [What Are The Elementary String Conversions That Come With C++ 17?](https://learncplusplus.org/what-are-the-elementary-string-conversions-that-come-with-c-17/) - In addition to many beneficial features of C++ 17, there are elementary string conversions introduced in that specification. The std::to_chars() and std::from_chars() are defined in header to do conversions between numeric values to strings or strings to numeric values without considering locale-specific conversions. In this post, we explain the std::to_chars() and std::from_chars() that come with - [What Is The New std::sample Algorithm In C++ 17?](https://learncplusplus.org/what-is-the-new-stdsample-algorithm-in-c-17/) - The C++ 17 standard bring us a lot of useful methods, templates and algorithms. One of the great algorithms is std::sample defined in the header that samples at most n elements uniformly from a given range. In this post, we explain the std::sample algorithm and how we can use it with an mt19937 random generator. What - [What Is The Class Template Variant (std::variant) in C++ 17?](https://learncplusplus.org/what-is-the-class-template-variant-stdvariant-in-c-17/) - In C++ Builder 12, and modern C++ the std::variant is one of the powerful features that comes with C++17. The std::variant is a discriminated union that we can work with multiple data types. It represents a type-safe union and holds one of its types in definition. What is the class template std::variant in C++ 17? - [Everything You Need To Know About The Copy Assignment Operator In C++ Classes](https://learncplusplus.org/everything-you-need-to-know-about-the-copy-assignment-operator-in-c-classes/) - Classes and Objects are part of object-oriented methods and typically provide features such as properties and methods. One of the great features of an object orientated language like C++ is a copy assignment operator that is used with operator= to create a new object from an existing one. In this post, we explain what a - [What Is The New Optional Class Template In C++ 17?](https://learncplusplus.org/what-is-the-new-optional-class-template-in-c-17/) - The C++17 standard came with a lot of great features and std::optional was one of the main features of today's modern C++. std::optional is a class template that is defined in the header and represents either a T value or no value. In this post, we explain, what is optional in modern C++ and how we - [How To Use Alias Templates For Traits In C++ 17 and Beyond](https://learncplusplus.org/how-to-use-alias-templates-for-traits-in-c-17-and-beyond/) - One of the great features of C++ is templates, they are parameterized by alias templates in C++11. Then, In C++14 and C++17, they improved C++11’s feature with a number of template aliases whose use simplifies the traits. This feature is called "Alias Templates For Traits" and in this post, we explain what is and alias template and how - [What Is Std::any In C++ 17 And How We Can Use It?](https://learncplusplus.org/what-is-stdany-in-c-17-and-how-we-can-use-it/) - C++17 standard is amazing with a lot of new features, and one of the interesting features was the new type std::any. std::any is a type-safe container to store a single value of any variable type. In this post, we explain std::any in modern C++. What is std::any in C++ 17 ? The any class (std::any) is a new class defined - [What Is Std::any In C++ 17 And How We Can Use It?](https://learncplusplus.org/what-is-stdany-in-c-17-and-how-we-can-use-it/) - C++17 standard is amazing with a lot of new features, and one of the interesting features was the new type std::any. std::any is a type-safe container to store a single value of any variable type. In this post, we explain std::any in modern C++. What is std::any in C++ 17 ? The any class (std::any) is a new class defined - [What Is basic_string_view And string_view In Modern C++](https://learncplusplus.org/what-is-basic_string_view-and-string_view-in-modern-c/) - C++17 had enormous changes in C++ features. One of them was basic_string_view (std::basic_string_view) which is a constant string container that can be used for multiple string declarations. The basic_string_view is a modern way of read-only text definition. It can be used by iterators and other methods of the basic_string_view class. In this post, we explain basic_string_view and - [What Are The New Algorithms That Come With C++ 17?](https://learncplusplus.org/what-are-the-new-algorithms-that-come-with-c-17/) - The C++17 standard came with a lot of new features and improvements. One of the features was the math.h library which modernized math operations with the cmath library. The Parallelism Technical Specification adds several new algorithms to the standard C++ library that we can use in C++ Builder 12. These are modernized in the header - [What Are The Parallelism Features That Come With C++ 17?](https://learncplusplus.org/what-are-the-parallelism-features-that-come-with-c-17/) - With the C++17 standard, the contents of the Parallelism Technical Specification are added to modern C++, and as a result, make their way into many C++ compilers and IDEs, such as the latest C++ Builder 12. This feature adds new overloads, taking an additional execution policy argument, to many algorithms, as well as entirely new algorithms. Three execution - [What Is The Filesystem Library In Modern C++ 17](https://learncplusplus.org/what-is-the-filesystem-library-in-modern-c-17/) - In modern C++, the filesystem library allows portable interaction with directories and directory-like structures providing functions such as listing directory contents and moving files. After the C++17 standard, the contents of the Filesystems Technical Specification are now part of modern C++ and are implemented in the filesystem library. What Is the filesystems library in C++ - [How to Use Basic String and Unicode String in Modern C++](https://learncplusplus.org/how-to-use-basic-string-and-unicode-string-in-modern-c/) - In programming, one of the most used variable types are text strings, and they are sometimes really important when storing and retrieving valuable data. It is important to store your data safely in its language and localization. Most programming languages have issues when storing texts and letters. In C++, there is very old well-known string - [What Are The New Fold Expressions In C++ 17](https://learncplusplus.org/what-are-the-new-fold-expressions-in-c-17/) - C++17 is another big milestone in the history of C++, it comes with a lot of new features. In C++17, the fold expressions feature is a powerful feature that allows us to fold a parameter pack over a binary operator. Folding Expressions are very useful with variadic templates, and this feature makes template arguments more readable and concise. - [What Are The CMath Mathematical Functions in Modern C++?](https://learncplusplus.org/what-are-the-cmath-mathematical-functions-in-modern-c/) - In C++11 and C++14, we were able to use this math.h library in C++ applications. After the C++17 standard, this library is modernized in the cmath library, and functions are declared in header for compatibility reasons in modern C++, and the is an optional header to support legacy code. In this post, we list most of - [Unicode Strings in C++ On Windows](https://learncplusplus.org/unicode-strings-in-c-on-windows/) - In programming, one of the most used variables is text strings, and they are sometimes really important when storing and retrieving valuable data. It is important to store your data safely in its language and localization. Most programming languages have issues when storing texts and letters. In C++, there is very old well-known string type - [Unicode Strings in C++ On Windows](https://learncplusplus.org/unicode-strings-in-c-on-windows/) - In programming, one of the most used variables is text strings, and they are sometimes really important when storing and retrieving valuable data. It is important to store your data safely in its language and localization. Most programming languages have issues when storing texts and letters. In C++, there is very old well-known string type - [When Is The CMath Mathematical Special Functions Header Used in Modern C++?](https://learncplusplus.org/when-is-the-cmath-mathematical-special-functions-header-used-in-modern-c/) - The math library in C language is designed to be used in mathematical operations. From the first C language to the latest C++ Builder 12, there have been many changes and improvements in both hardware and software. We were able to use this math.h library in C++ applications. After the C++17 standard, this library is modernized in the - [What Are The CMath Mathematical Special Functions in Modern C++?](https://learncplusplus.org/what-are-the-cmath-mathematical-special-functions-in-modern-c/) - In C++11 and C++14, we were able to use this math.h library in C++ applications. After the C++17 standard, this library modernized math operations with the cmath library. Functions are declared in header. For compatibility reasons the is an optional alternative to support older code. In this post, we list most of these mathematical functions - [What Are The New Rules For Auto Deduction In C++ 17?](https://learncplusplus.org/what-are-the-new-rules-for-auto-deduction-in-c-17/) - The features of C++17 were a big step in the history of C++ and brought a lot of new features. In C++17, there are new auto rules for direct-list-initialization. This feature in C++, changes the rules for auto deduction from a braced-init-list. In this post, we explain what these new rules for auto deduction with - [What Are The New Overloads For Ranges In C++ 14?](https://learncplusplus.org/what-are-the-new-overloads-for-ranges-in-c-14/) - In C++14, there are pretty good new overloads of std::equal, std::mismatch, and std::is_permutation that can be used to take a pair of iterators for the second range. They can be used with the new C++ Builder 12 along with the 11.x, or 10.x versions too. In this post, we explain these new overloads that we use ranges of iterations. - [What Is The Integer Sequence (std::integer_sequence) In C++ 14](https://learncplusplus.org/what-is-the-integer-sequence-stdinteger_sequence-in-c-14/) - In modern programming sometimes we want to use a sequence of integers that are created at compile-time. In C++14, the std::integer_sequence is a class template for the sequence of integers that is generated at compile-time. In this post, we explain what integer sequence (std::integer_sequence) is in modern programming. What is the integer sequence (std::integer_sequence) in - [What Are The Member Initializers And Aggregates Features in C++14?](https://learncplusplus.org/what-are-the-member-initializers-and-aggregates-features-in-c14/) - C++14 brought us a lot of useful things that we use today. One of the great features of C++14 was the member initializers and aggregates feature that a class with default member initializers may now be an aggregate. In this post, we explain how can use member initializers and aggregates with examples. What are the - [What Are The New Begin End Iterators In C++14?](https://learncplusplus.org/what-are-the-new-begin-end-iterators-in-c14/) - Iterators are one of the most useful features of containers in modern C++. Mostly we use them with vectors, maps, strings, and other containers of C++. In C++11, the begin() and end() iterators are used to define the start of iteration and the end of the iteration, mostly used in the for loops. In C++14, there - [How Can We Use The is_final Type Trait In C++ 14?](https://learncplusplus.org/how-can-we-use-the-is_final-type-trait-in-c-14/) - In C++11, the final specifier is used for a function or for a class that cannot be overridden by derived classes, and there was no way to check if that class or method is the final. In C++14, there is a std::is_final type trait that can be used to detect if a class or a method is marked as a - [What Are Integral_constant And () Operator In C++?](https://learncplusplus.org/what-are-integral_constant-and-operator-in-c/) - Modern C++ has base class features that can be used with other modern features of C++. The std::integral_constant is the base class for the C++ type traits in C++11, and in C++14, std::integral_constant gained an operator () overload to return the constant value. In this post, we explain what integral_constant and () operator are in C++14. - [What Are The Standard User-Defined Literals In C++14?](https://learncplusplus.org/what-are-the-standard-user-defined-literals-in-c14/) - C++11 introduced new forms of literals using modified syntax and semantics to provide User-Defined Literals (UDL) also known as Extensible Literals. While there was the ability to use them the standard library did not use any of them. In C++14, the commission added some standard literals. In this post, we explain user-defined literals operators and we explain some of - [What Is Heterogeneous Lookup In Associative Containers In C++?](https://learncplusplus.org/what-is-heterogeneous-lookup-in-associative-containers-in-c/) - Containers are data storage arrays in modern C++ and they are very useful to iterate and search data with their amazing methods and properties. The C++ Standard Library defines four different main container types and one of them is associative containers such as std::map, and std::set. These class types allow us to use the look-up method "find()" by a - [How To Use Tuple Addressing Via Type In C++14 And Beyond](https://learncplusplus.org/how-to-use-tuple-addressing-via-type-in-c14-and-beyond/) - The tuple ( std::tuple ) is a class template that stores the different types of elements, it also supports empty lists in modern C++. This template was introduced in C++11 and improved in C++14. In this post, we explain tuple addressing via type features that come with the C++14 standard. What is std::tuple in C++? The - [How To Use Tuple Addressing Via Type In C++14 And Beyond](https://learncplusplus.org/how-to-use-tuple-addressing-via-type-in-c14-and-beyond/) - The tuple ( std::tuple ) is a class template that stores the different types of elements, it also supports empty lists in modern C++. This template was introduced in C++11 and improved in C++14. In this post, we explain tuple addressing via type features that come with the C++14 standard. What is std::tuple in C++? The - [Learn About Useful Shared Mutexes Locking In Modern C++](https://learncplusplus.org/learn-about-useful-shared-mutexes-locking-in-modern-c/) - A concurrency support library is designed to solve problems in modern C++ that arise with multi-thread development. This library includes built-in support for threads (std::thread), atomic operations (std::atomic), mutual exclusion (std::mutex), condition variables (std::condition_variable), and many other features. In C++14, in addition to mutex, there is a shared_mutex which is an instance of the class located in - [What Are The Differences Between Mutex And Shared Mutex In C++?](https://learncplusplus.org/what-are-the-differences-between-mutex-and-shared-mutex-in-c/) - The concurrency support library in modern C++ is designed to solve read and write data securely in thread operations that allow us to develop faster multi-thread apps. This library includes built-in support for threads (std::thread), atomic operations (std::atomic), mutual exclusion (std::mutex), condition variables (std::condition_variable), and many other features. In C++14, in addition to mutex, there is a - [What Are The Differences Between Mutex And Shared Mutex In C++?](https://learncplusplus.org/what-are-the-differences-between-mutex-and-shared-mutex-in-c/) - The concurrency support library in modern C++ is designed to solve read and write data securely in thread operations that allow us to develop faster multi-thread apps. This library includes built-in support for threads (std::thread), atomic operations (std::atomic), mutual exclusion (std::mutex), condition variables (std::condition_variable), and many other features. In C++14, in addition to mutex, there is a - [What Is std::quoted Quoted String In Modern C++?](https://learncplusplus.org/what-is-stdquoted-quoted-string-in-modern-c/) - Sometimes we want to preserve the string format especially when we use string in a string with /". In C++14 and above, there is a std::quoted template that allows handling strings safely where they may contain spaces and special characters and it keeps their formatting intact. In this post, we explain std::quoted quoted strings in - [What Is std::quoted Quoted String In Modern C++?](https://learncplusplus.org/what-is-stdquoted-quoted-string-in-modern-c/) - Sometimes we want to preserve the string format especially when we use string in a string with /". In C++14 and above, there is a std::quoted template that allows handling strings safely where they may contain spaces and special characters and it keeps their formatting intact. In this post, we explain std::quoted quoted strings in - [What Is Decltype (auto) In Modern C++ And How To Use It?](https://learncplusplus.org/what-is-decltype-auto-in-modern-c-and-how-to-use-it/) - The auto keyword arrives with the new features of the C++11 and the standards above. In C++14, there is a new decltype that is used with auto keyword. In modern C++, the decltype(auto) type-specifier deduces return types while keeping their references and cv-qualifiers, while auto does not. In this post, we explain what decltype (auto) is in - [What Are The Relaxed Constexpr Restrictions In C++?](https://learncplusplus.org/what-are-the-relaxed-constexpr-restrictions-in-c/) - In C++, the constexpr specifier is used to declare a function or variable to evaluate the value of at compile time, which speeds up code during runtime. This useful property had some restrictions in C++11, these are relaxed in C++14 and this feature is known as Relaxed Constexpr Restrictions. In this post, we explain what are - [Learn How to Use New And Delete Elisions In C++](https://learncplusplus.org/learn-how-to-use-new-and-delete-elisions-in-c/) - The C++14 standard (and later), brings a lot of useful smart pointers and improvements on them. They help us to avoid the mistake of incorrectly freeing the memory addressed by pointers. In modern C++, we have the new and delete operators that are used to allocate and free objects from memory, and in this post, - [How To Use std::exchange In C++](https://learncplusplus.org/how-to-use-stdexchange-in-c/) - C++ is a very precise programming language that allows you to use memory operations in a wide variety of ways. Mastering efficient memory handling will improve your app performance at run time and can result in faster applications that have optimal memory usage. One of the many useful features that come with the C++14 standard is the - [What Is make_unique And How To Use With unique_ptr In C++](https://learncplusplus.org/what-is-make_unique-and-how-to-use-with-unique_ptr-in-c/) - Allocating memory and freeing it safely is hard if you are programming a very big application. In Modern C++ there are smart pointers that help avoid the mistake of incorrectly freeing the memory addressed by pointers. Smart pointers make it easier to define and manage pointers, they came with C++11. The most used types of - [How To Use Variable Templates In Modern C++](https://learncplusplus.org/how-to-use-variable-templates-in-modern-c/) - The template is one of the great features of modern C++. They are a simple and very powerful statement in C++ that defines the operations of a class or function. The C++14 standard and above allows the creation of variables that are templated. In this article, we will explain variable templates in C++ with examples that can be used in a - [What Is Aggregate Member Initialization In C++?](https://learncplusplus.org/what-is-aggregate-member-initialization-in-c/) - The Aggregate Member Initialization is one of the features of C++. This feature is improved and modernized with C++11, C++14 and C++20. With this feature, objects can initialize an aggregate member from braced-init-list. In this post, we explain what the aggregate member initialization is and what were the changes to it in modern C++ standards. - [What Is Auto Return Type Deduction In C++?](https://learncplusplus.org/what-is-auto-return-type-deduction-in-c/) - C++11 allowed lambda functions to deduce the return type based on the type of the expression given to the return statement. The C++14 standard provides return type deduction in all functions, templates, and lambdas. C++14 allows return type deduction for functions that are not of the form return expressions. In this post, we explain the auto keyword, - [Learn To Use Generalized Lambda Captures In C++](https://learncplusplus.org/learn-to-use-generalized-lambda-captures-in-c/) - The Lambda Expression construct is introduced in C++ 11 and further developed in the C++14, C++17, and C++20 standards. C++14 standard introduced the generalized lambda capture (init capture) that allows you to specify generalized captures, it allows to use move capture in lambdas. In C++14, lambda expressions are improved by the generalized lambda (generic lambda) and - [Learn The Useful Integer Literals In Modern C++](https://learncplusplus.org/learn-the-useful-integer-literals-in-modern-c/) - A programming language consists of a lot of expressions in our source code. One of elements of expressions in C++ are literals. A more specific type of literal is Integer Literals. Integer literals are primary expressions that allow values of integer types (i.e., decimal, octal, hexadecimal) to be used in expressions directly. They are further - [Learn How To Use Generic Lambdas In Modern C++](https://learncplusplus.org/learn-how-to-use-generic-lambdas-in-modern-c/) - Lambda Expressions allow users to write an inline expression that can be used for short snippets of code in your C++ app which are not going to be reused and don’t require naming. The Lambda Expression construct is introduced in C++ 11 and further developed in the C++14, C++17, and C++20 standards. In C++14, lambda expressions are - [Why Was The Gets Function Removed In C++14?](https://learncplusplus.org/why-was-the-gets-function-removed-in-c14/) - Modern C++ has a lot of useful functions coming from C. One of them was the gets() function that we use to get string inputs and that we were able to use in C++11 or earlier. In C++14, the gets function was removed, while fgets or other input functions remain there. If you have older - [Learn To Use Digit Separators In Modern C++](https://learncplusplus.org/learn-to-use-digit-separators-in-modern-c/) - In the history of modern C++, the C++14 standard brings us some very useful features. C++14 comes with the digit seperators feature. In C++14 and above, we can use the digit separator to separate integer numbers. In this post, we explain, how to use digit separators in examples, How can I use use digit separators in modern - [What Does Deprecated Mean And How To Use Deprecated Attribute In C++?](https://learncplusplus.org/what-does-deprecated-mean-and-how-to-use-deprecated-attribute-in-c/) - C++ is very strong in every aspect of modern programming and evolves and refines itself even further with the release of each new C++ standard. While there are many new additions there are some features that are found not useful or dangerous in programming, thus the community offers its deprecation in the next standard and - [Learn How To Use Binary Literals In Modern C++](https://learncplusplus.org/learn-how-to-use-binary-literals-in-modern-c/) - C++14 brings us fewer but useful features to modern C++ than the standards preceding it. The creator of C++, Bjarne Stroustrup says that improvements in C++14 were deliberately lower in quantity compared to C++11. One of the small but useful features is the introduction of "Binary Literals". C++14 comes with the Binary Literals feature, and in - [How To Allow Atomics Use In C++ Signal Handlers](https://learncplusplus.org/how-to-allow-atomics-use-in-c-signal-handlers/) - C++11 allows the use of atomics in signal handlers, and with the advent of C++ 17 the signal handler feature was again improved. The std::atomic_flag is an atomic boolean type that is guaranteed to be lock-free and can be used in signal handlers. Moreover, the header in C++ has an integer type std::sig_atomic_t that can be accessed as an atomic - [How to Use Atomic_flag In Modern C++?](https://learncplusplus.org/how-to-use-atomic_flag-in-modern-c/) - C++11 allows the use of atomics in signal handlers. In C++17 the signal handler feature is further improved. The std::atomic_flag is an atomic boolean type that is guaranteed to be lock-free and can be used in signal handlers. Moreover, the header in C++ has an integer type std::sig_atomic_t that can be accessed as an atomic entity even in the presence of - [How To Use Propagating Exceptions In Modern C++?](https://learncplusplus.org/how-to-use-propagating-exceptions-in-modern-c/) - Modern C++ has many features to aid multi-thread programming that allow applications to be faster and more responsive. The C++11 standard offers the possibility of moving an exception from one thread to another. This type of movement is called propagating exceptions, exception propagation; also known as rethrow exception in multi-threading. To do that, some modifications have been made to the - [What Is The Volatile Keyword In C++?](https://learncplusplus.org/what-is-the-volatile-keyword-in-c/) - C++ is very strong in every aspect of modern programming. Volatile types are used with the volatile keyword. It is a lesser known type qualifier that is important to read types or objects whose value can be modified at any time. The volatile keyword is useful in memory-mapped applications, generally these are from a hardware - [What Is Weak Compare and Exchange In Modern C++?](https://learncplusplus.org/what-is-weak-compare-and-exchange-in-modern-c/) - Since the C++11 standard, the Concurrency Support Library includes built-in support for threads (std::thread) with atomic operations (std::atomic). C++11 provides both weak and strong compare-and-exchange operations in multi-threading applications. Since C++11, weak compare and exchange are used in modern C++ standards such as C++14, C++17, C++20, and in other new standards. In this post, we explain weak - [Learn Strong Compare and Exchange In Modern C++](https://learncplusplus.org/learn-strong-compare-and-exchange-in-modern-c/) - Since the C++11 standard, the Concurrency Support Library includes built-in support for threads (std::thread) with atomic operations (std::atomic). C++11 provides both weak and strong compare-and-exchange operations in multi-threading applications. Since C++11, strong compare and exchange are used in modern C++ standards such as C++14, C++17, C++20, and in other new standards. In this post, we explain what - [How To Solve Data Race Problems In Modern C++?](https://learncplusplus.org/how-to-solve-data-race-problems-in-modern-c/) - In multi-thread programming, data races are a common problem in threads. Data races occur when multiple tasks or threads access a shared resource without sufficient protection, leading to undefined or unpredictable behavior on runtime. In C++, the concurrency support library is designed to solve these kinds of data race problems. In this post, we explain how - [What Is A Data Race In Multi-threading C++ Apps And How To Avoid It](https://learncplusplus.org/what-is-a-data-race-in-multi-threading-c-apps-and-how-to-avoid-it/) - In modern programming, if you are developing multithreaded applications, data races are a common problem in threads. Data races occur when multiple tasks or threads access a shared resource without sufficient protection, leading to undefined or unpredictable behavior on runtime. You can imagine two or more task threads in cores trying to reach the same data - [Learn Useful Bidirectional Fences In Modern Multi-threading C++ Apps](https://learncplusplus.org/learn-useful-bidirectional-fences-in-modern-multi-threading-c-apps/) - C++11 improved the support for bidirectional fences in multi-thread applications. In modern C++ development, Fences are synchronization primitives in multi-threading operations, they are memory barriers in threads, and they can acquire semantics, release semantics, or both. In this post, we explain what are fences and how we can use them. What are bidirectional fences in C++? A fence - [Important To Learn std::memory_order In C++ Atomic Operations](https://learncplusplus.org/important-to-learn-stdmemory_order-in-c-atomic-operations/) - Using multi-threading development skills on the CPU, GPU, and memory operations is important in programming, but it can give rise to problems in synchronization of multi-thread operations and reaching data for reading and writing. The concurrency support library in modern C++ is designed to solve problems in multi-thread operations. Since the C++11 standard, this library includes built-in - [What Are Atomic Add And Sub Operations In C++?](https://learncplusplus.org/what-are-atomic-add-and-sub-operations-in-c/) - The concurrency support library in modern C++ is designed to solve problems in multi-thread operations. Since the C++11 standard, this library includes built-in support for threads (std::thread) with atomic operations (std::atomic). In this post, we explain two atomic operations that can be used with std::atomic types, we explain what are atomic addition and subtraction operations. What - [What Are Atomic Logic Operations In Modern C++?](https://learncplusplus.org/what-are-atomic-logic-operations-in-modern-c/) - Since the C++11 standard, the concurrency support library in Modern C++ is designed to solve problems in multi-thread operations and is updated in every new standard. This library includes built-in support for threads (std::thread) with atomic operations (std::atomic). In this post, we explain atomic logic operations that can be used with std::atomic types. What is atomic (std::atomic) in - [What Are Useful Atomic Load And Store Operations In C++?](https://learncplusplus.org/what-are-useful-atomic-load-and-store-operations-in-c/) - The concurrency support library in modern C++ is designed to solve problems in multi-thread operations. Since the C++11 standard, this library includes built-in support for threads (std::thread) with atomic operations (std::atomic). In this post, we explain what two atomic operations that can be used with std::atomic types, we explain what are atomic load and store operations. - [What Is Atomic (std::atomic) In Modern C++?](https://learncplusplus.org/what-is-atomic-stdatomic-in-modern-c/) - In modern C++, the concurrency support library is designed to solve problems in multi-thread operations. This library includes built-in support for threads (std::thread), atomic operations (std::atomic), mutual exclusion (std::mutex), condition variables (std::condition_variable), and many other features of a modern C++ compiler. In this post, we explain what is std::atomic and how we can use atomic types efficiently - [What Is A Function Object Functor In C++?](https://learncplusplus.org/what-is-a-function-object-functor-in-c/) - In modern C++ programming we can use many different ways to call functions. One of the features from C11 is functor, an early function object in C++. The functor function objects are callable objects. A functor or function object is any object for which the function call operator is defined. Let's learn what a functor is and how - [How To Use Lambda Expression With std::thread In C++?](https://learncplusplus.org/how-to-use-lambda-expression-with-stdthread-in-c/) - Lambda Expressions allow users to write an inline expression that can be used for short snippets of code that are not going to be reused and don't require naming in your C++ app. The lambda expressions construct is introduced in C++ 11 and further developed in the C++17 and C++20 standards. In modern C++ development, they - [Learn To Use Predefined Identifier __func__ In C++](https://learncplusplus.org/learn-to-use-predefined-identifier-__func__-in-c/) - Modern C++ has a lot of features that can be used in professional programming. C++11 standard improved the previous C99 standard feature __func__ which is a predefined identifier for functions or methods. The predefined identifier __func__ returns as a string that contains the name of the enclosing function or method. In this post, we explain how we can use predefined identifier __func__ in modern - [Learn How To Use User Defined Literal Operators In Modern C++](https://learncplusplus.org/learn-how-to-use-user-defined-literal-operators-in-modern-c/) - C++11 introduced new forms of literals using modified syntax and semantics in order to provide User-Defined Literals (UDL) also known as Extensible Literals. Using user-defined literals, user-defined classes can provide new literal syntax and they can be used with the operator "" to combine values with conversion operators. In this post, we explain how to - [How To Use std::thread In Modern C++?](https://learncplusplus.org/how-to-use-stdthread-in-modern-c/) - In modern mathematics, physics, and computer science; optimized and faster app development in programming is very important to speed up computations. CPUs and GPUs are highly evolved by the number of cores and transistors to give more computational power to today's servers and computers. Thus, we can use more cores and threads in our applications by using - [How To Use std::thread With std::vector In Multi-Thread C++ Operations](https://learncplusplus.org/how-to-use-stdthread-with-stdvector-in-multi-thread-c-operations/) - In C++, vectors are a modern and very flexible form of array in modern C++. Maybe we can say they are like modern linked lists. We can use vectors with std::thread classes for multi-thread operations. In this post, we have a very good example that shows how you can use std::thread and std::vector together. First, let's - [How To Use Functor Object With std::thread In C++?](https://learncplusplus.org/how-to-use-functor-object-with-stdthread-in-c/) - In modern C++ development we can use multi-thread operations and parallel programming features in our applications in different ways of modern programming features. The std::thread class is a special class defined in header in the concurrency support library that comes with C++11. We can use the std::thread class in multi-thread operations with functor objects, and in this post, we explain how - [Allowing move constructors to throw with std::move_if_noexcept](https://learncplusplus.org/allowing-move-constructors-to-throw-with-stdmove_if_noexcept/) - In a modern C++ code compiler, there are many features that help you learn, master, and remember the various features and functions of the C++ language. One such feature of modern C++ is the move constructor that allows you to move the resources from one object to another without copying them. The C++11 standard provides an alternative - [Allowing move constructors to throw with std::move_if_noexcept](https://learncplusplus.org/allowing-move-constructors-to-throw-with-stdmove_if_noexcept/) - In a modern C++ code compiler, there are many features that help you learn, master, and remember the various features and functions of the C++ language. One such feature of modern C++ is the move constructor that allows you to move the resources from one object to another without copying them. The C++11 standard provides an alternative - [What Is A Mutex Mutual Exclusion In Modern C++](https://learncplusplus.org/what-is-a-mutex-mutual-exclusion-in-modern-c/) - CPUs and GPUs have evolved year on year to feature a greater number of cores and transistors to give more computational power for today's servers and computers. With the advent of multiple cores, it is common now for programs to make use of multiple simultaneous threads. In modern C++, multi-thread operations are amazingly evolved since - [What Is The Unrestricted Unions Feature In Modern C++?](https://learncplusplus.org/what-is-the-unrestricted-unions-feature-in-modern-c/) - Unions are rarely used but are another important data type alternative to structs and classes in modern C++ development. Unions are used to define variables that share storage space. The C++11 standard loosens up the restriction regarding members of unions, and in this post, we explain the unrestricted unions feature that came with C++11. What is a union in - [Learn How To Eliminate Unnecessary Copying In C++](https://learncplusplus.org/learn-how-to-eliminate-unnecessary-copying-in-c/) - In modern C++, rvalue references are a compound type like standard C++ references, which are referred to as lvalue references. New rvalue reference rules were set by the C++11 specifications. In many cases, data is copied that simply needs to be moved, that is, the original data holder need not retain the data. The rvalue reference - [Learn How To Use Non-Copyable Movable Types in C++ Templates](https://learncplusplus.org/learn-how-to-use-non-copyable-movable-types-in-c-templates/) - In C++, memory and CPU/GPU management are very important and the compiler is amazingly using them well in templates, classes, and objects. Every declaration and usage of any bits may cause a lot of heavy calculations, memory usage, and high CPU/GPU usage. Using copy and move types in templates is very important when you develop - [What Is An Explicit Conversion Operator In Modern C++?](https://learncplusplus.org/what-is-an-explicit-conversion-operator-in-modern-c/) - In modern C++, explicit-qualified conversion functions work in the same context as explicit-qualified constructors and produce diagnostics in the same contexts as constructors do. C++11, C++17, and C++20 standards have improvements in this explicit specifier. This is done to avoid situations when the compiler uncomplainingly accepts code that is not semantically correct. In this post, - [What Is The Explicit Specifier In Modern C++?](https://learncplusplus.org/what-is-the-explicit-specifier-in-modern-c/) - In modern C++, explicit-qualified conversion functions work in the same context as explicit-qualified constructors and produce diagnostics in the same contexts as constructors do. C++11, C++17, and C++20 standards have improvements in this explicit specifier. This is done in order to avoid situations when the compiler uncomplainingly accepts code that is not semantically correct. In - [What Is A Deleted Function In Modern C++?](https://learncplusplus.org/what-is-a-deleted-function-in-modern-c/) - In programming, some of the most important parts are the functions that we create. They are like Lego parts that we can use in all places of the application. In modern C++ development, a function declaration is really important, and these functions gained some additional abilities after the C++11 standards. C++11 introduced two new features: defaulted and deleted functions. These are very - [What Is A Virtual Function Specifier In Modern C++?](https://learncplusplus.org/what-is-a-virtual-function-specifier-in-modern-c/) - In modern C++ software, a virtual function is a function in a base class or struct that can be redefined in derived classes or structs. They are member functions whose behavior can be overridden in derived classes. The virtual function specifier is the 'virtual' specifier to declare a virtual function in a base class. In this post, we - [What Is An Explicit Virtual Override in Modern C++?](https://learncplusplus.org/what-is-an-explicit-virtual-override-in-modern-c/) - Modern C++ has many additions compared to the original C++ standard. Regarding virtual overrides, C++11 tends to tighten the rules, to detect some problems that often arise. To achieve this goal C++11 introduces two new contextual keywords, the final and the override specifiers. The override specifier is used to redefine the base class function in a derived - [Learn How To Use The Override Specifier In Modern C++](https://learncplusplus.org/learn-how-to-use-the-override-specifier-in-modern-c/) - Modern C++ has many additions compared to the original C++ standard. Regarding virtual overrides, C++11 tends to tighten the rules, to detect some problems that often arise. To achieve this goal C++11 introduces two new contextual keywords, the final and the override specifiers. The override specifier is used to redefine the base class function in a derived - [What is a range-based for loop in modern C++?](https://learncplusplus.org/what-is-a-range-based-for-loop-in-modern-c/) - In C++, the for loops are one of the great features of C and C++ language that has many options to break, continue, or iterate in a loop. In modern C++, there is a range-based for loop that makes it simple to iterate through a variable type that has members (i.e. strings, lists, arrays, vectors, maps, etc.). The range-based - [Learn How To Use The Final Specifier In Modern C++](https://learncplusplus.org/learn-how-to-use-the-final-specifier-in-modern-c/) - Modern C++ has many additions compared to the original C++ standard. Regarding virtual overrides, C++11 tends to tighten the rules, to detect some problems that often arise. To achieve this goal C++11 introduces two new contextual keywords, the final and the override. The final specifier (keyword) is used for a function or for a class - [Five Simple Examples Of C++ FMX Applications](https://learncplusplus.org/five-simple-examples-of-c-fmx-applications/) - The C++ Builder CE Community Edition is a free version of professional C++ Builder that you can develop GUI based desktop and mobile applications in C++. In this post, we will give you five simple C++ FMX applications as examples that you can compile with C++ Builder 11 CE. The latest C++ Builder 11 CE was released in - [Five Simple Examples Of C++ VCL Applications](https://learncplusplus.org/five-simple-examples-of-c-vcl-applications/) - The C++ Builder CE Community Edition is a free version of professional C++ Builder that you can develop GUI based desktop and mobile applications in C++. In this post, we will give you five simple C++ console examples to help you understand how C++ Builder 11 CE runs applications. The latest C++ Builder 11 CE was released in - [Five Simple C++ Console Examples for Beginners](https://learncplusplus.org/five-simple-c-console-examples-for-beginners/) - The C++ Builder CE Community Edition is a free version of professional C++ Builder that you can develop GUI based desktop and mobile applications in C++. In this post, we will give you five simple C++ console examples for beginners you can run using C++ Builder 11 CE. The latest C++ Builder 11 CE was released in April - [How To Start Learning C++ With C++ Builder CE](https://learncplusplus.org/how-to-start-learning-c-with-c-builder-ce/) - The C++ Builder CE Community Edition is a free version of professional C++ Builder that you can develop GUI based desktop and mobile applications in C++. The latest C++ Builder 11 CE was released in April 2023. If you are a start-up developer, student, hobbyist or just interested in learning to code then C++ Builder Community Edition may - [What Is An Extended Friend Declaration in Modern C++?](https://learncplusplus.org/what-is-an-extended-friend-declaration-in-modern-c/) - In modern C++ the standards have a wonderfully named extended friend declaration feature to address the class declarations which is a template parameter as a friend. This extended friend declaration is available with the C++ compiler that has C++11 and above standards. In this post, we explain a friend and extended friend declaration in modern C++. What - [What Is The Inline Namespace Feature In Modern C++?](https://learncplusplus.org/what-is-the-inline-namespace-feature-in-modern-c/) - In modern C++, namespaces are a kind of library or framework. They are useful to hold the same name of classes, methods, and other entities in different namespaces. C++11 standard and other standards above, allow the inline keyword in a namespace definition and in this post, we explain how to use inline namespaces in modern C++. - [What Is An Extended sizeof In Modern C++?](https://learncplusplus.org/what-is-an-extended-sizeof-in-modern-c/) - In modern programming, the size of any data is very important, while the programmers are trying to minimize data types or stream packages, global data transfer is increasing by the requests of new technologies. Thus, we need to know each data type in programming. The sizeof() function is very useful to get the size of - [What Are The Rules Of Zero, Three, Five, And Six In C++?](https://learncplusplus.org/what-are-the-rules-of-zero-three-five-and-six-in-c/) - In C++, classes and structs are one of the most important parts of modern software development. In modern C++, there are some rules to support the principles of programming, in class definitions there are a few rules to be considered, these are the Rule of Zero, the Rule of Three, the Rule of Five, and the Rule of Six. In this - [What Is An Assignment Operator In C++?](https://learncplusplus.org/what-is-an-assignment-operator-in-c/) - One of the most commonly used features of C++ software, in common with many programming languages, are assignment operators. These take the form of copy assignment and move assignment operators. In C++, a copy assignment operator can be used with "operator=" to create a new object from an existing one. In this post, we explain - [Learn How To Draw Charts With Simple TeeChart (TChart) Examples in C++](https://learncplusplus.org/learn-how-to-draw-charts-with-simple-teechart-tchart-examples-in-c/) - The RAD Studio, C++ Builder 11 and C++ Builder CE Community Editions have a lot of amazing visual and nonvisual components that you can use in your modern applications for Windows and mobile. One of these is the free chart component for the VCL and FMX frameworks called TeeChart (TChart). TChart comes with RAD Studio - [How To Make Visually Stunning Windows Charts In C++](https://learncplusplus.org/how-to-make-visually-stunning-windows-charts-in-c/) - RAD Studio, C++ Builder has a free VCL chart component which is called TeeChart standard, and FMX version which is called TeeChart Lite that comes with the RAD Studio officially, including RAD Studio 10.4.x and 11. x versions. For more professional applications, there is TeeChart Pro by Steema has an affordable 2021 pricing list on - [What Is The Rule Of Six In Modern C++?](https://learncplusplus.org/what-is-the-rule-of-six-in-modern-c/) - In C++, classes and structs are one of the most important parts of modern application development. In modern C++, there are some rules to support the principles of programming, one of which is the Rule of Six in C++ (also known as the Rule of Five, excluding the constructor). In this post, we explain the Rule of - [What Is The Long Long Int Type In C++?](https://learncplusplus.org/what-is-the-long-long-int-type-in-c/) - In the early days of C++ there were few data types such as char, float, and int. Over time these types improved with new additions. Modern C++ is really amazing, it allows you to define your data type in accordance with the limits of your variable values. One of the largest integer types is the - [What is The Move Assignment Operator In Modern C++?](https://learncplusplus.org/what-is-the-move-assignment-operator-in-modern-c/) - The Move Assignment Operator is one of the great features of Object-Oriented Programming in professional development. It complements features like the copy assignment operator, copy constructor, move constructor, and destructor. Since the C++11 standards, the move assignment operator is declared by using "operator=" and it allows you to move one object to another object. In this post, - [What Is The Rule Of Five In Modern C++?](https://learncplusplus.org/what-is-the-rule-of-five-in-modern-c/) - In C++, classes and structs are one of the most important parts of modern app development. In modern C++, there are some rules to support the principles of programming, one of which is the Rule of Five in C++ (also known as the Rule of Six, including constructor). In this post, we explain What is the Rule - [What Is An Implicitly-defined Move Constructor in Modern C++?](https://learncplusplus.org/what-is-an-implicitly-defined-move-constructor-in-modern-c/) - The Move Constructor is one of the great features of Object Oriented Programming in C++, such as other features like; copy assignment operator constructors, copy constructors, move assignment operators, destructors, etc. Since the C++11 standards, in modern development, the move constructor allows you to move the resources from one object to another object without copying them. One - [What Is A Trivial Move Constructor In Modern C++?](https://learncplusplus.org/what-is-a-trivial-move-constructor-in-modern-c/) - C++ is a wonderful programming language with its object-oriented programming features, such as Classes, Objects, constructors, move constructors, copy constructors, destructors, etc. Since the C++11 standards, in modern C++, one of the features is the move constructor that allows you to move the resources from one object to another object without copying them. One of - [What Is An Eligible Move Constructor In Modern C++?](https://learncplusplus.org/what-is-an-eligible-move-constructor-in-modern-c/) - The object-oriented programming features of modern C++ is really enhanced with many features, such as Classes, Objects, constructors, move constructors, copy constructors, destructors, etc. Since the C++11 standard was released one of the modern programming features is the move constructor that allows you to move the resources from one object to another object without copying - [How To Install C++ Builder CE Community Edition For Your First Project](https://learncplusplus.org/how-to-install-c-builder-ce-community-edition-for-your-first-project/) - The C++ Builder CE Community Edition is a free version of professional C++ Builder that you can use to develop GUI based desktop and mobile applications in C++. The latest C++ Builder 11 CE is released on April 2023. If you are a start-up developer, student, hobbyist or just interested in learning to code then C++ Builder Community - [What Is A Deleted Implicitly-declared Move Constructor In Modern C++?](https://learncplusplus.org/what-is-a-deleted-implicitly-declared-move-constructor-in-modern-c/) - C++ is packed with Object Oriented Programming features, such as Classes, Objects, constructors, move constructors, destructors, etc. Since the C++11 standard, in a modern C++ compiler, one of the features is the move constructor that allows you to move the resources from one object to another object without copying them. One of the move constructors - [Quickly Learn About Data Types And Size Of Variables In The C++ Programming Language](https://learncplusplus.org/quickly-learn-about-data-types-and-size-of-variables-in-the-c-programming-language/) - In C++ Programming Language, the information is stored with the various data types like character, wide character, integer, floating point, double floating point, boolean etc.When coding in any programming language, we need to use various variables to store various information. Each variable reserves a location in memory, reading a variable from this memory location or - [What Is An Implicitly-declared Move Constructor In Modern C++?](https://learncplusplus.org/what-is-an-implicitly-declared-move-constructor-in-modern-c/) - Since the C++11 standards, in modern C++ Programming, one of the features is the move constructor that allows you to move the resources from one object to another object without copying them. One of the move constructors is the implicitly-declared move constructor, which is declared in a base class. In this post we explain the - [What is A Default (Forced) Move Constructor in Modern C++](https://learncplusplus.org/what-is-a-default-forced-move-constructor-in-modern-c/) - Since the C++11 standards, one of the features of modern C++ is the move constructor that allows you to move the resources from one object to another object without copying them. One of the move constructors is forcing a move constructor to be generated by the compiler, and in this post, we explain Forced (Default) - [What Is A Typical Declaration Of A Move Constructor?](https://learncplusplus.org/what-is-a-typical-declaration-of-a-move-constructor/) - Using a good quality C++ Editor actively helps you write better code and prompt you with tips on how to use the various capabilities of the C++ standards. One of the features of modern C++ is the move constructor that allows you to move the resources from one object to another object without copying them. - [What Is A Move Constructor In Modern C++?](https://learncplusplus.org/what-is-a-move-constructor-in-modern-c/) - In a modern C++ code editor, there are a number of features which help you learn, master, and remember the various features and functions of the C++ language. One such feature of modern C++ is the move constructor that allows you to move the resources from one object to another without copying them. In this - [What is Rule of Three in C++?](https://learncplusplus.org/what-is-rule-of-three-in-c/) - C++ is an Object-Oriented Programming (OOP) language, and OOP is a way to integrate with objects which can contain data in the form (attributes or properties of objects), and code blocks in the form of procedures (methods, functions of objects). Most developers find that using OOP techniques help them to map real-world behavior and bring an organizational structure to data. These attributes and methods - [What is Assignment Operator In C++ Classes?](https://learncplusplus.org/what-is-assignment-operator-in-c-classes/) - In C++, Classes and Objects are part of object-oriented methods and typically provide features such as properties and methods. One of the features of a C++ Editor are assignment operators such as copy assignment and move assignment operators. In C++, a copy assignment operator is used with "operator=" to create a new object from an - [What is Implicitly-declared Copy Assignment Operator In C++?](https://learncplusplus.org/what-is-implicitly-declared-copy-assignment-operator-in-c/) - In C++ programming language, Object-Oriented Programming (OOP) is a good way to represent and manipulate data, and work with functions in memory. Classes and Objects are the best way to work on properties and methods. In a modern C++ Compiler, one of the OOP features is the copy assignment operator that is used with "operator=" - [What Is Deleted Implicitly-declared Copy Assignment Operator In C++?](https://learncplusplus.org/what-is-deleted-implicitly-declared-copy-assignment-operator-in-c/) - In the C++ programming language, Object-Oriented Programming (OOP) is a good way to represent and manipulate data and work with functions. Classes and Objects are the best way to work on properties and methods. In a professional C++ Compiler, one of the OOP features is the copy assignment operator that is used with "operator=" to - [What Is An Eligible Copy Assignment Operator In C++?](https://learncplusplus.org/what-is-an-eligible-copy-assignment-operator-in-c/) - In a modern C++ IDE, one of the features of its modern is the copy assignment operator that is used with "operator=" to create a new object from an existing one. In this post, we explain an eligible copy assignment operator in C++. What are classes and objects in C++? Classes are defined in C++ using - [What Is A Trivial Copy Assignment Operator In C++?](https://learncplusplus.org/what-is-a-trivial-copy-assignment-operator-in-c/) - In the C++ language, one of the features of object-oriented programming (OOP) is the copy assignment operator that is used with "operator=" to create a new object from an existing one. In this post, we explain answer the question "what is a trivial copy assignment operator in C++". What are classes and objects in C++? - [What Is Uppercase T in C++ Syntax?](https://learncplusplus.org/what-is-uppercase-t-in-c-syntax/) - Knowing the correct syntax for any command, function or method is really important in C++ before you can write code effectively. Generally, we need to learn what kind of return type or parameters are used. We can use the helpful features of our IDE such as auto completion to make things easier, or we check - [What Is An Implicitly-defined Copy Assignment Operator In C++?](https://learncplusplus.org/what-is-an-implicitly-defined-copy-assignment-operator-in-c/) - In C++ programming language, Object-Oriented Programming (OOP) is very widely used as a way to work on data functions in a way that helps represent the real world in an abstract manner. Classes and Objects are the best way to work on properties and methods. In a modern C++ Compiler, one of the OOP features - [What Is A Forced (Default) Copy Assignment Operator In Modern C++](https://learncplusplus.org/what-is-a-forced-default-copy-assignment-operator-in-modern-c/) - In the C++ programming language, Object-Oriented Programming (OOP) is a good way to represent data and organize the functionality of your code into logical groups. Classes and Objects are the best way to work on properties and methods. One of the features of OOP IDE is copy assignment operator that is used with "operator=" to - [What is Avoiding Implicit Copy Assignment In C++?](https://learncplusplus.org/what-is-avoiding-implicit-copy-assignment-in-c/) - Object-Oriented Programming (OOP) is a method of mapping real-world objects and data to computer functions and data structures. Classes and Objects are part of object-oriented methods and typically provide features such as properties and methods. In Modern C++, one of the features of OOP is copy assignment operator that is used with "operator=" to create - [Typical Declaration Of A Copy Assignment Operator Without std::swap](https://learncplusplus.org/typical-declaration-of-a-copy-assignment-operator-without-stdswap/) - Object-Oriented Programming (OOP) is a method of mapping real-world objects and data to computer functions and data structures. Classes and Objects are part of object-oriented methods and typically provide features such as properties and methods. One of the features of an OOP IDE is the copy assignment operator that is used with "operator=" to create - [What Is A Copy Assignment Operator in C++?](https://learncplusplus.org/what-is-a-copy-assignment-operator-in-c/) - Object-Oriented Programming (OOP) is a method of mapping real-world objects and data to computer functions and data structures. Classes and Objects are part of object-oriented methods and typically provide features such as properties and methods. One of the features of an OOP Editor is a copy assignment operator that is used with "operator=" to create - [Typical Declaration Of A Copy Assignment Operator With std::swap](https://learncplusplus.org/typical-declaration-of-a-copy-assignment-operator-with-stdswap/) - Object-Oriented Programming (OOP) is a method of mapping real-world objects and data to computer functions and data structures. Classes and Objects are part of object-oriented methods and typically provide features such as properties and methods. One of the features of an OOP tool is the copy assignment operator that is used with "operator=" to create - [What Is The Rule of Zero in C++?](https://learncplusplus.org/what-is-the-rule-of-zero-in-c/) - Object Oriented Programming (OOP) is a way to integrate with objects which can contain data in the form (attributes or properties of objects), and code blocks in the form of procedures (methods, functions of objects). These attributes and methods are variables and functions that belong to the class - part of the class's code and they are generally referred to as class members. Classes and structs are very useful - [How To: Develop A Fun 3D Game Like Minecraft In C++](https://learncplusplus.org/how-to-develop-a-fun-3d-game-like-minecraft-in-c/) - Minecraft is one of the most popular game in the world, it is a good game to improve creativity of kids. It has very basic graphics with very useful game mechanism. Developing a 3D gamemight be little bit hard for all developers, requires good math skills, higher programming logics, requires optimization techniques, understanding 3D digital - [How To Change Background Color Of A Component In An FMX C++ App](https://learncplusplus.org/how-to-change-background-color-of-a-component-in-an-fmx-c-app/) - C++ Builder is the easiest and fastest C++ IDE for building professional applications with powerful GUI components like Memo, Edit, ListBox, StringGrid and many more. Each component can be 'skinned' with Styles to change their visual appearance. Styles are very powerful and because of this it can sometimes take a little to get used to how - [How To Change Background Color Of A Component In An FMX C++ App](https://learncplusplus.org/how-to-change-background-color-of-a-component-in-an-fmx-c-app/) - C++ Builder is the easiest and fastest C++ IDE for building professional applications with powerful GUI components like Memo, Edit, ListBox, StringGrid and many more. Each component can be 'skinned' with Styles to change their visual appearance. Styles are very powerful and because of this it can sometimes take a little to get used to how - [How To Use Gamepad Or Joystick Controller In A C++ Builder FMX App?](https://learncplusplus.org/how-to-use-gamepad-or-joystick-controller-in-a-c-builder-fmx-app/) - C++ is one of the most powerful programming languages that we can use to create games that are playable with mouse, keyboard and gamepads or joysticks. We also use C++ in commerce, industry, in robotics, and in the control of IoT devices. Despite competition from other programming languages the games market is still very much - [How To Use Gamepad Or Joystick Controller In A C++ Builder FMX App?](https://learncplusplus.org/how-to-use-gamepad-or-joystick-controller-in-a-c-builder-fmx-app/) - C++ is one of the most powerful programming languages that we can use to create games that are playable with mouse, keyboard and gamepads or joysticks. We also use C++ in commerce, industry, in robotics, and in the control of IoT devices. Despite competition from other programming languages the games market is still very much - [How To Use Gamepad Or Joystick Controller In A C++ Builder VCL App?](https://learncplusplus.org/how-to-use-gamepad-or-joystick-controller-in-a-c-builder-vcl-app/) - C++ is one of the most powerful programming languages that we can use to create games that are playable with mouse, keyboard and gamepads or joysticks. We use C++ not just in games but also in almost every kind of industry, in robotics, and in the control of IoT devices. Games frequently have better playability - [How To Change Background Color Of An Edit In An FMX C++ App](https://learncplusplus.org/how-to-change-background-color-of-an-edit-in-an-fmx-c-app/) - C++ Builder is the easiest and fastest C++ IDE for building everything from simple to professional applications using visually amazing GUI controls and forms. Each form and component can be skinned with Styles which allow your application to have its own professionally designed attractive look and feel. The Style systems of the VCL and FMX (FireMonkey) - [How To Use A Game Pad Or Joystick Controller In C++ On Windows](https://learncplusplus.org/how-to-use-a-game-pad-or-joystick-controller-in-c-on-windows/) - C++ is one of the most powerful programming languages that we use for all sorts of purposes, from regular applications, games, business, industrial infrastructure, robotics, and in the control of IoT devices. The most well-known controllers for those areas where human and computer interaction are important and stretches beyond simple keyboard input are joysticks or - [How To Use C++ Standards In C++ Compiler Options](https://learncplusplus.org/how-to-use-c-standards-in-c-compiler-options/) - C++ is a very decent programming language that has a very strong compiler supported by a big community on a range of different platforms. The C++ language definitions, syntax, and functionality are organized into different standards. Those standards are usually named after the year the standard was adopted such as 1998 for C++98, 2011 for4 - [How To Change The Background Color Of A Memo In An FMX C++ App](https://learncplusplus.org/how-to-change-the-background-color-of-a-memo-in-an-fmx-c-app/) - C++ Builder is the easiest and fastest C++ IDE for building professional applications with powerful GUI components like Memo, Edit, ListBox, StringGrid and many more. Each component can be skinned with Styles to change their visual appearance. Styles are very powerful and because of this it can sometimes take a little to get used to how - [How To Use Base-8 (Octal) Numbers In Modern C++?](https://learncplusplus.org/how-to-use-base-8-octal-numbers-in-modern-c/) - In general, in nearly all programming languages, including Modern C++, we use base-10 numbers, while our computer hardware uses the binary base-2 system (bits). I personally believe that base-10 is because we typically have 10 fingers and since we learn to counting on our fingers we use base-10 primarily. However, due to the way binary - [How To Run A C Or C++ Program On iOS](https://learncplusplus.org/how-to-run-a-c-or-c-program-on-ios/) - A fast and reliable C and C++ Compiler and IDE for app development software for iOS is very important for beginners and professionals alike, whether they are developing C++ for iOS or for any of the other operating systems and targets. The C and C++ programming languages are subjectively the World’s most powerful programming languages and - [Advantages and Disadvantages of The C++ Programming Language](https://learncplusplus.org/advantages-and-disadvantages-of-the-c-programming-language/) - In the last 40 years C++ has earned, and maintained, a reputation as one of the most efficient programming languages. C++ is still hugely popular, often in the top 3 of any lists of popular programming languages and is used widely across a wide array of operating systems. Choosing the right programming language and IDE - [What Are Declared True Constants In Modern C++?](https://learncplusplus.org/what-are-declared-true-constants-in-modern-c/) - C++ has many different variable types to develop modern applications with modern C++ IDE's and compilers. Several different language constructs are referred to as 'constants'. There are numeric constants and string constants. Every enumerated type defines constants that represent the values of that type. Declared constants are either true constants or typed constants. In this post, we will - [What Is The '>>' Right-Angle Bracket Support In C++?](https://learncplusplus.org/what-is-the-right-angle-bracket-support-in-c/) - C++11 brings a lot of improvements over C++98. In C++98, two consecutive right-angle brackets (>>) give an error, and these constructions are treated according to the C++11 standard which means CLANG compilers no longer generate an error about right angle brackets. In this post, we explain this and how to solve the right-angle bracket problem - [Learn Unicode Character Types and Literals in Modern C++](https://learncplusplus.org/learn-unicode-character-types-and-literals-in-modern-c/) - C++11 brings a lot of improvements and I think one of the most important features were the Unicode Character Types and Literals that allow more support for strings in different languages globally. C++11 introduced a new character type to manipulate Unicode character strings. This can be used in C++11, C++14, C++17, and above. This feature improved interactions in next generation - [What Is Defaulted Function or Method In Modern C++ Now?](https://learncplusplus.org/what-is-defaulted-function-or-method-in-modern-c-now/) - Modern C++ is really amazing with a lot of great features of programming. One of the features of Modern C++ is a Defaulted Function or in another term Defaulted Method of classes that is a function that contains =default; in its prototype. Defaulted functions are a feature of C++11 and above. In this post, we explain what - [Where To Find The C++ Standards In 2023?](https://learncplusplus.org/where-to-find-the-c-standards-in-2023/) - C++ is a well-established programming language that is supported by a big community for many different computing hardware platforms. The language has a set of standards generally named after the approximate year the standard was adopted, such as C++98, C++11, C++14, C++17, and so on. Basically, these standards are an international agreement for C++ compiler technology. - [What Are The Macros For The Integer Constants In Modern C++](https://learncplusplus.org/what-are-the-macros-for-the-integer-constants-in-modern-c/) - In C++ programming, there are macros for the fixed-width integer type that allow you to obtain minimum and maximum possible values. In this post, we explain these macros for integer constants in modern C++. What are the macros for minimum signed integer constants in modern C++? Here are the macros for minimum signed integer constants - [What Are Fixed Width Integer Types In Modern C++](https://learncplusplus.org/what-are-fixed-width-integer-types-in-modern-c/) - In C++ development, integer variables can be decimal (base 10), octal (base 8) or hexadecimal (base 16). In addition to int, short int, long int, and long long int, there are fixed width integer types. Fixed-width integers are defined types with a fixed number of bits. In this post we will list them. What are fixed width integer - [What Are Function Macros For Integer Constants?](https://learncplusplus.org/what-are-function-macros-for-integer-constants/) - In C++ coding, there are function macros for the fixed-width integer type that expands to an integer constant expression having the value specified by its argument. Their type is the promoted type of std::int_least8_t, std::int_least16_t, std::int_least32_t, and std::int_least64_t and unsigned versions of these types respectively. In this post, we explain these function macros for integer constants - [What is _t (underscore-t) in C++? Why some types followed by _t?](https://learncplusplus.org/what-is-_t-underscore-t-in-c-why-some-types-followed-by-_t/) - The C++ Programming Language is huge, it may have millions and millions of keywords, and commands with every new library or feature addition. In programming, it is hard to memorize all of these keywords. Sometimes when we are using some keywords, we may have some questions about them, because we want to learn and memorize them - [How To Execute A Command And Get The Output In C++ Builder](https://learncplusplus.org/how-to-execute-a-command-and-get-the-output-in-c-builder/) - Operating Systems consist of a lot of system commands, and In C++, we can run system commands by using the std::system() command. In C++ Builder, we can retrieve the output of these commands into components, for example into a Memo (TMemo), or into a ListView (TList). This allows you to use the benefits of operating system commands - [How To Learn C Programming](https://learncplusplus.org/how-to-learn-c-programming-2/) - C and C++ are arguably the most powerful programming languages that can be used to develop native C++ iOS apps for the ARM based Apple mobile devices. Most C++ compilers support the C language, that means you can code in C language in a C++ IDE. C and C++ have many pre-defined functions, and libraries - [How To Use The Python Language In A C++ App?](https://learncplusplus.org/how-to-use-the-python-language-in-a-c-app/) - Python is hugely popular and has some really useful libraries. Python is particularly strong in the field of AI and machine learning (ML). If you are C++ developer, you might want your users to be able to analyze data with AI modules or frameworks written in the Python language in your applications. Let's imagine you - [How To Exit From A Program In C and C++](https://learncplusplus.org/how-to-exit-from-a-program-in-c-and-c/) - If you like to develop apps, then C++ programming in Windows with full, modern attractive graphical user interface and the full functionalities of all the available UI elements is very important since Windows users still represent a HUGE market. Despite all the support from the operating system and powerful compilers which spot errors and 'not responding' loops, - [How To Run A C Program](https://learncplusplus.org/how-to-run-a-c-program-2/) - C and C++ are two of the most powerful programming languages and they can be run by free C++ IDE and compiler for the different operating systems like Windows and mobile. Using a fast and reliable C++ compiler for Windows is very important for beginners and professionals since it helps C++ developers in remembering which - [What Is The C Programming Language](https://learncplusplus.org/what-is-the-c-programming-language-3/) - C++ Windows development as well as the C programming language, is a well-paid and popular skill to have. Even though C and C++ is very popular on other operating systems like iOS, Android, MacOS, and Linux development, Windows is still in great demand. Using a fast and reliable C++ compiler for Windows is very important - [How To Exit A Program In C++ and C](https://learncplusplus.org/how-to-exit-a-program-in-c-and-c/) - C++ and C are two of the World's most powerful programming languages. You use and Windows C++ IDE and compiler to create and build C and C++ programs. Using a fast and reliable C++ compiler for Windows is very important for beginners and professionals since it helps software developers in remembering which language features exist, how - [How To Learn C Programming](https://learncplusplus.org/how-to-learn-c-programming/) - C and C++ are arguably the most powerful programming languages that can be used to develop native apps with C++ build tools. Most C++ compilers support C language, that means you can code by using a C++ IDE and a compiler. C and C++ have many pre-defined functions, and libraries which make writing modern, robust - [How To Execute A C Program In Terminal](https://learncplusplus.org/how-to-execute-a-c-program-in-terminal/) - C is one of the most powerful programming languages. You can create simple programs written in C using free C build tools and compilers that are available for the different operating systems like Windows, iOS, and Android. It has many pre-defined variables, functions, and libraries. Using a fast and reliable C++ compiler for Windows is - [What Are Delegating Constructors In Modern C++?](https://learncplusplus.org/what-are-delegating-constructors-in-modern-c/) - C++11 introduces the possibility of Delegating Constructors (aka Constructor Delegation) that can be used by C++ in 2023. In the Constructor Delegation feature, class constructors can be invoked within other constructors of the same class. This is a very useful feature that helps programmers to write less and more expressive code. Constructor Delegation reduce the - [What Is aligned_alloc In Modern C++?](https://learncplusplus.org/what-is-aligned_alloc-in-modern-c/) - The C++11 standard introduced a new alignment feature as one of the many features of the C++ programming language that can be used with the newest C++ compilers today. This new feature was a new keyword align std::aligned_alloc that is used to provide a nested type that can be used as an uninitialized storage for any - [How To Create TCP/IP Server and Client Connections in C++ Builder?](https://learncplusplus.org/how-to-create-tcp-ip-server-and-client-connections-in-c-builder/) - The speed of communications is rapidly increasing and new advances in the underlying technology happen with increasing frequency. One of the oldest and maybe one of the most used types of connections in the world is the TCP/IP (Transmission Control Protocol/Internet Protocol) connection. This protocol is used to enable end-to-end data connections. It is a standard - [What is aligned_storage in Modern C++](https://learncplusplus.org/what-is-aligned_storage-in-modern-c/) - The C++11 standard introduced alignment support as one of the many features of the C++ programming language that can be used with the newest C++ compilers today. One of the new features of this support was a new keyword align std::aligned_storage that is used to provide the nested type which can be used as an uninitialized - [What is aligned_union in Modern C++](https://learncplusplus.org/what-is-aligned_union-in-modern-c/) - The C++11 standard introduced alignment support as one of the many features of the C++ programming language that can be used with the latest C++ compilers today. One of the new features of this support was a new keyword align std::aligned_union that is used to provide a nested type which can be used as an uninitialized - [How To Use std::align In Modern C++](https://learncplusplus.org/how-to-use-stdalign-in-modern-c/) - The C++11 standard introduced alignment support as one of the many features of a Modern compiler for the C++ programming language. One of the new features of this support is a new keyword align std::align which is used to get a pointer aligned by the specified alignment for a size in bytes in consider with size of the buffer. - [What Is The alignof Expression In Modern C++?](https://learncplusplus.org/what-is-the-alignof-expression-in-modern-c/) - Alignment support comes with the C++11 standard and it is one of the recent features of Modern C++ compilers. One part of this support is a new keyword alignof which is used for the alignment requirement of a type. In this post, we explain how we can use alignof in Modern C++. What is alignment support - [What is a Forward Declaration enum Enumeration in C++?](https://learncplusplus.org/what-is-a-forward-declaration-enum-enumeration-in-c/) - Understanding how to correct declare variables is important in programming, especially in a modern C++ Application. There is an enumeration method that allows you to easily enumerate (count or determine their place in an order) values in variables. In C++, enumeration is very important and widely used. In C++, enumeration can be done with an enum keyword - [What Are Generalized Constant Expressions (constexpr) In C++?](https://learncplusplus.org/what-are-generalized-constant-expressions-constexpr-in-c/) - C++ is really awesome programming language that has many options to use variables in a way which can make your C++ App use less memory and app size. In this post, we explain what are a constant, a constant expression and generalized constant expressions in modern C++. What is the const constant keyword in modern - [What Is The alignas Alignment Specifier In Modern C++?](https://learncplusplus.org/what-is-the-alignas-alignment-specifier-in-modern-c/) - One of the features of Modern C++ is Alignment Support which comes with the C++11 standard. One of the new features of this support is a new keyword alignas which is the alignment specifier. For example, we can apply the alignas alignment specifier to define the minimum block size of data types such as the size of - [How To Learn Limits Of A Variable Type In C++](https://learncplusplus.org/how-to-learn-limits-of-a-variable-type-in-c/) - When there is a numerical value in an application's development code, a professional programmer needs to understand which type of a variable should be used how big it could be in terms of capacity and memory usage. The developer must take into account what the minimum and maximum ranges could be. In most operations, the - [What Is Static Assertion And How To Use static_assert In C++?](https://learncplusplus.org/what-is-static-assertion-and-how-to-use-static_assert-in-c/) - In C++, as with any programming language, it's important to ensure that the logic of your program is correct even when the compiler thinks the syntax is valid. This is true no matter how good your C++ dev tool may be. Logical errors - where something in the program code should be true or false, - [How To Learn initializer_list (std::initializer_list) In Modern C++](https://learncplusplus.org/how-to-learn-initializer_list-stdinitializer_list-in-modern-c/) - C++ has some really great features for being able to define different types of variables and structure. One of the most used and very useful arrays in C++ is the std::vector. If you know arrays in C and C++, then containers are a modern and very flexible form of arrays in C++. If you want - [Learn How To Use enum In Unscoped Enumeration In C++](https://learncplusplus.org/learn-how-to-use-enum-in-unscoped-enumeration-in-c/) - In C++, enumeration is very important and widely used in different scenarios. In C++, enumeration can be done with the enum keyword which can be used in unscoped and scoped enumerations. C++ is a great programming language that has many options to enumerate variables in a way which can make your code easier to read and - [Everything You Need To Know About Strongly Typed Enums In Modern C++](https://learncplusplus.org/everything-you-need-to-know-about-strongly-typed-enums-in-modern-c/) - Variable declaration is important in programming and there is an enumeration method that allows you to numerate/count variables easily. In C++, enumeration is very important and widely used in different syntaxes. Enumeration in C++ can be done with the enum keyword which can be used to create unscoped and scoped enumerations. C++11 and above has modern - [What's The BIG Difference Between Enum And Strongly Typed Enum In Modern C++?](https://learncplusplus.org/whats-the-big-difference-between-enum-and-strongly-typed-enum-in-modern-c/) - Variable declaration is important in programming and there is enumeration method that allows you to easily enumerate values in variables. In C++, enumeration is very important and widely used in different syntaxes. In C++, enumeration can be done with enum keyword which can be used as in unscoped and scoped enumerations. C++ is a great programming - [Learn What A Null Pointer Constant (nullptr) Is In Modern C++](https://learncplusplus.org/learn-what-a-null-pointer-constant-nullptr-is-in-modern-c/) - C++ is an amazing programming language. Variables and memory usage are important in programming, and how we handle these are improved in every C++ standard. One of the great features is null pointer constants in modern C++ which was introduced with the C++11 standard. In this post, we explain what a null pointer constant (nullptr - [Learn What auto And Auto-Typed Variables Are In Modern C++](https://learncplusplus.org/learn-what-auto-and-auto-typed-variables-are-in-modern-c/) - C++ is a highly evolved and mature programming language. The C++ language has a great set of choices of modern C++ Editor and compilers all of which come with a lot of tools, GUI components, and libraries. C++11 was a big step for functional programming and it brought many other very useful features like automatic type deduction (auto), lambda - [What Does The decltype Type Specifier Mean In C++?](https://learncplusplus.org/what-does-the-decltype-type-specifier-mean-in-c/) - C++ is a highly evolved and mature programming language. The C++ language has a great set of choices of modern C++ tool sets and compilers all of which come with a lot of utilities, GUI components, and libraries. C++11 was a big step for functional programming with C++. It has brought many other features like automatic type deduction (auto), - [What Are The Type Template Parameters In C++](https://learncplusplus.org/what-are-the-type-template-parameters-in-c/) - Template feature in C++ is one of the great features of modern C++. One of the great features of modern C++ is the ability to define templates. Templates are one of the most important techniques for you to learn, since it's really only with knowledge of templates that you can claim to understand C++. So much of C++, including the - [Learn How To Use Key Events In C++ VCL Applications On Windows](https://learncplusplus.org/learn-how-to-use-key-events-in-c-vcl-applications-on-windows/) - C++ is one of the best programming languages to develop games and simulations. One of the important elements of developing a C++ Game is handling key events. Understanding how key and keyboard events work means you can get your program to react to the user's key presses in the game to control the action.In this - [Learn How To Use Key Events In C++ FMX Applications on Windows](https://learncplusplus.org/learn-how-to-use-key-events-in-c-fmx-applications-on-windows/) - C++ is one of the best programming language to develop games and simulations. One of the key things to master when learning to write a game in C++ is how to handle key events. This is the ability to perform actions inside the game in accordance with key events such as a key being held - [Learn How To Work With Very Large Real Numbers In C++](https://learncplusplus.org/learn-how-to-work-with-very-large-real-numbers-in-c/) - C++ is a superb programming language that has rich collection of very useful libraries. One of the most common problems in programming is limitations of the types of numbers that we use. If you are about to calculate very big, large real numbers (i.e. factorial 100!) the Boost C++ Libraries can be very useful in - [Learn What Is Typename Or Type Name In C++](https://learncplusplus.org/learn-what-is-typename-or-type-name-in-c/) - The template feature in C++ is one of the great features of modern C++. A template is a simple and very powerful statement in C++ that defines the operations of a class or function. In this article, we will explain what is typename and how you can use them with templates in C++ that you can use - [Learn How To Work With Very Large Integer Numbers In C++](https://learncplusplus.org/learn-how-to-work-with-very-large-integer-numbers-in-c/) - C++ is a great programming language that has many useful libraries which help developers write all sorts of programs. One of the most common scientific problems in programming is the limitation of numbers that we use. If you are about to calculate very large numbers (i.e. factorial 100!) there are the Boost C++ Libraries which - [Learn About Extern Templates In Modern C++](https://learncplusplus.org/learn-about-extern-templates-in-modern-c/) - The template feature in C++ is one of the great capabilities of modern C++. A template is a simple and very powerful statement in C++ that defines the operations of a class or function. In this article, we will show how extern templates can be used in a modern C++ app based on recent C++ standards. First of - [What Is typedef In C++](https://learncplusplus.org/what-is-typedef-in-c/) - C++ language is an evolved version of the C language. In development, the most commonly used features and functions in C++ come, at least in part, from the C language. One of these C-based features is the typedef specifier. While there is a type alias in C++ typedef is still a strong feature which allows - [Learn How to Integrate GPT-3 API in C++](https://learncplusplus.org/learn-how-to-integrate-gpt-3-api-in-c/) - AI based software and hardware technology is rapidly increasing. Every day we see new developments. One of the great leap is we have more logical AI chat applications which are based on NLP and DL mechanisms. There are many AI Tools that can be used to develop an AI powered by a programming language like - [Learn How To Use Keyboard Arrows In C++ On Windows](https://learncplusplus.org/learn-how-to-use-keyboard-arrows-in-c-on-windows/) - If you want to develop console applications and you need to perform some actions in accordance with key presses such as those you find in games, you need to handle these inputs in your applications. Many game engines are based on C++ and while it's a lot more complicated to create a full C++ Game - [Learn How To Detect And Use Key Presses In C++ On Windows](https://learncplusplus.org/learn-how-to-detect-and-use-key-presses-in-c-on-windows/) - In C++, when you develop console applications, sometimes you may need to perform an action in response to key events or key presses such as gameplay actions in games. C++ supports many game engines, and some professional C++ IDEs provide features suitable for a C++ Game Engine so it can support event handling along with - [Learn To Use Type Template Parameter Pack In C++](https://learncplusplus.org/learn-to-use-type-template-parameter-pack-in-c/) - In modern C++, a template is a simple and very powerful statement that defines the operations of a class or function. Templates are parameterized features of C++ and they let us use a different number of parameters. In this article, we will explain how you can use a type template parameter pack in C++. The - [Learn What Is A Variadic Template in C++](https://learncplusplus.org/learn-what-is-a-variadic-template-in-c/) - In modern C++, a template is a simple and very powerful statement that defines the operations of a class or function. Templates are parameterized features of C++. In this article, we will explain what a variadic template is and how you can use parameter pack in the templates of modern C++. You can download C++ and follow - [Learn Type Parameters For Templates In C++](https://learncplusplus.org/learn-type-parameters-for-templates-in-c/) - One of the great features of modern C++ is the ability to define templates. A template is a simple and very powerful statement in C++ that defines the operations of a class or function. In this article, we will explain type parameters for the template in C++. You can download C++ here and use a professional C++ IDE - [Learn Type Template Parameter Without A Default In C++](https://learncplusplus.org/learn-type-template-parameter-without-a-default-in-c/) - One of the great features of modern C++ is the ability to define templates. A template is a simple and very powerful statement in C++ that defines the operations of a class or function. In this article, we explain how to use type template parameter without a default in C++. You can download C++ here and use a - [Learn What Is A Parameter Pack In C++](https://learncplusplus.org/learn-what-is-a-parameter-pack-in-c/) - One of the great features of modern C++ is the ability to define templates. A template is a simple and very powerful statement in C++ that defines the operations of a class or function. In this article, we will explain what we mean by parameter pack in C++. You can download C++ here and use a professional C++ - [Learn Type Template Parameter With A Default In C++](https://learncplusplus.org/learn-type-template-parameter-with-a-default-in-c/) - One of the great features of modern C++ is the ability to define templates. A template is a simple and very powerful statement in C++ that defines the operations of a class or function. In this article, we will explain type parameters with a default for templates in C++. You can download C++ here and use a professional - [Learn Non-Type Parameters For Templates In C++](https://learncplusplus.org/learn-non-type-parameters-for-templates-in-c/) - One of the great features of modern C++ is templates. A template is a simple and very powerful statement in C++ that defines the operations of a class or function. Templates are parameterized features of C++. In this article, we will explain non-type parameters for the template in C++ which can be used by a professional C++ IDE that - [Learn What Is Implicit Instantiation Of A Template In C++](https://learncplusplus.org/learn-what-is-implicit-instantiation-of-a-template-in-c/) - One of the great features of modern C++ is templates. A template is a simple and very powerful statement in C++ that defines the operations of a class or function, and Template Instantiation is to create a new definition of a function, class, or member of a class from a template declaration with template argument types. In this article, - [Learn What Is A Variable Template in C++](https://learncplusplus.org/learn-what-is-a-variable-template-in-c/) - One of the great features of modern C++ is templates. A template is a simple and very powerful statement in C++ that defines the operations of a class or function. In this article, we will explain Variable Template in C++ examples that can be used by a professional C++ Code Editor and compiler that supports C++14, C++17, and over. First of all, - [Learn How To Use Type Alias In C++](https://learncplusplus.org/learn-how-to-use-type-alias-in-c/) - C++ language is a very strong programming language for all aspects of professional and modern programming techniques. One of the great features of modern C++ is templates. With the increased use of parameterized types in C++, the need for parameterized type alias was added since C++11. In this article, we will explain how to use type alias - [Learn How To Use Alias Template In C++](https://learncplusplus.org/learn-how-to-use-alias-template-in-c/) - C++ language is a very strong programming language from all aspects of professional and modern programming techniques. One of the great features of modern C++ is templates. With the increased use of parameterized types in C++, the need for parameterized alias template has been added since C++11. In this article, we will explain how to use alias - [Learn What is Template Specialization in C++](https://learncplusplus.org/learn-what-is-template-specialization-in-c/) - One of the great features of modern C++ is templates. A template is a simple and very powerful statement in C++ that defines the operations of a class or function. Template Specialization is used to get a special behavior from a template declaration for a particular data type. In this article, we will explain Template Specialization with C++ examples - [Learn What Is Template Instantiation in C++](https://learncplusplus.org/learn-what-is-template-instantiation-in-c/) - One of the great features of modern C++ is templates. A template is a simple and very powerful statement in C++ that defines the operations of a class or function, and Template Instantiation is to create a new definition of a function, class, or member of a class from a template declaration with template argument types. In this article, - [Learn What Is Explicit Instantiation of a Template in C++](https://learncplusplus.org/learn-what-is-explicit-instantiation-of-a-template-in-c/) - One of the great features of modern C++ is templates. A template is a simple and very powerful statement in C++ that defines the operations of a class or function, and Template Instantiation is to create a new definition of a function, class, or member of a class from template declaration with template argument types. In this article, we - [Learn How To Eliminate Pointers In Templates in C++](https://learncplusplus.org/learn-how-to-eliminate-pointers-in-templates-in-c/) - The C++ language is a very rich and flexible programming language packed full of features designed to help you create modern, robust applications of all types. One of the great features of modern C++ is templates. In some cases, we need to eliminate pointers in templates. In this article, we will explain how to eliminate pointers in - [Learn To Export And Import Template Members From A DLL Or A Package In C++](https://learncplusplus.org/learn-to-export-and-import-template-members-from-a-dll-or-a-package-in-c/) - The ability to create and use Templates is one of the great features of modern C++. The declaration of a template function or template class needs to be sufficiently flexible to allow it to be used in either a dynamic link library (shared library) or an executable file. In this article, we will explain how to export - [What Is A Class Template In C++?](https://learncplusplus.org/what-is-a-class-template-in-c/) - C++ language is a very powerful programming language and is suitable for almost any software development task. One of the great features of modern C++ is templates. A template is a simple and a very powerful statement in C++ which defines the operations of a class or function and lets the user apply the same - [What Is A Function Template In C++?](https://learncplusplus.org/what-is-a-function-template-in-c/) - One of the great features of modern C++ is templates. A template is a simple and a very powerful statement in C++ which defines the operations of a class or function and lets the user apply the same template on different types in those operations. In this post we will explain function templates in C++ - [What Is A Template In C++?](https://learncplusplus.org/what-is-a-template-in-c/) - The C++ language is a very strong choice for all aspects of professional and modern programming. One of the great features of modern C++ are templates. A template is a simple and very powerful statement in C++ which defines the operations of a class or function in a generic way and then lets the user - [What Are The Boost C++ Libraries?](https://learncplusplus.org/what-are-the-boost-c-libraries/) - C++ is a great programming language that has many useful libraries. One of the most useful libraries are packed in Boost C++ Libraries. which is a set of C++ libraries that contains 164 individual libraries (as of version 1.76) that significantly expand the C++ programming language using template metaprogramming. You can use boost libraries with the most - [What Are The Boost C++ Libraries?](https://learncplusplus.org/what-are-the-boost-c-libraries/) - C++ is a great programming language that has many useful libraries. One of the most useful libraries are packed in Boost C++ Libraries. which is a set of C++ libraries that contains 164 individual libraries (as of version 1.76) that significantly expand the C++ programming language using template metaprogramming. You can use boost libraries with the most - [Learn Bits and How To Use std::bitset In C++](https://learncplusplus.org/learn-bits-and-how-to-use-stdbitset-in-c/) - In computer hardware and software, bit is the smallest unit of data, and as programmers we use them in every single character of our code lines and more. A std::bitset is a modern feature to use set of bits in C++. C++ is great programming language to use every part of hardware of a device and - [What Are The Differences Between Vector And Array In C++?](https://learncplusplus.org/what-are-the-differences-between-vector-and-array-in-c/) - C++ has really great features that come with its modern libraries. One of the most used and very useful things is std::vector. If you know arrays in C and C++, vectors are a modern and very flexible form of arrays in C++, maybe we can say they are like modern linked lists. If you want to - [How To Use std::sort With A Lambda Expression In C++](https://learncplusplus.org/how-to-use-stdsort-with-a-lambda-expression-in-c/) - In C++, the Standard Template Library or STL has many algorithms for operations like searching, counting, and manipulation of ranges and their elements. C++17 has a new feature that you can sort with std::sort parallel STL algorithm. Lambda Expressions are another great feature of C++ and they can be used to sort data by std::sort - [How To Sort With The STL Compare Function Objects In C++](https://learncplusplus.org/how-to-sort-with-the-stl-compare-function-objects-in-c/) - Modern C++ has a great deal of features and functions designed to make the process of writing apps easier and less labor-intensive. In C++, STL Standard Template Library has many algorithms for some operations like searching, counting, and manipulation of ranges and their elements. C++ has a new feature that you can sort with std::sort - [Everything You Need To Use String Literals in Modern C++](https://learncplusplus.org/everything-you-need-to-use-string-literals-in-modern-c/) - One of the main data types of programming is the string. Strings are important in every step of programming. They should be used carefully so they are displayed and function correctly which is especially important if you are developing global applications that use different languages. Using a professional C++ Dev Tool will help you with things - [This Is How To Use Character Literals in Modern C++](https://learncplusplus.org/this-is-how-to-use-character-literals-in-modern-c/) - One of the basic data types of programming is characters, one, two or four bytes of data elements. Characters are the part of strings and strings are important in every step of programming and they should be used carefully and displayed carefully they should be as global as possible if you are developing global applications - [How To Sort C++ Vectors With std::sort Parallel Sorting](https://learncplusplus.org/how-to-sort-c-vectors-with-stdsort-parallel-sorting/) - Modern C++ is an amazing programming language with many powerful features. In C++, the Standard Template Library or STL has many algorithms for operations like searching, counting, and manipulation of ranges and their elements. C++17 has a new feature in the STL which allows you to sort vectors with the std::sort Parallel Sorting Algorithm. Both - [How To Display An Image In A C++ Program and in A C Program](https://learncplusplus.org/how-to-display-an-image-in-a-c-program-and-in-a-c-program/) - The C/C++ programming language is one of the most popular programming languages in the world. C is a procedural computer programming language supporting structured programming, lexical variable scope, and recursion, with a static type system. C is one of the fastest languages to operate on images, we can use text forms and we can print - [Learn To Sort std::array With std::sort Parallel STL Sorting Algorithm In C++](https://learncplusplus.org/learn-to-sort-stdarray-with-stdsort-parallel-stl-sorting-algorithm-in-c/) - C++ has really great features that comes with its modern libraries. In C++, STL Standard Template Library has many algorithms for some operations like searching, counting, and manipulation of ranges and their elements. C++17 has a new feature that you can sort vectors with std::sort Parallel STL Algorithm. Vectors and arrays can be used and - [Learn To Use argc argv in C++](https://learncplusplus.org/learn-to-use-argc-argv-in-c/) - When we run an application, we can directly run the executable file or we can run this executable file with arguments. Arguments are very useful for many reasons. This feature allows the user to define their arguments on the command line or from file info and the executable file can then use the arguments in - [Learn #pragma Pragma Directive In C++](https://learncplusplus.org/learn-pragma-pragma-directive-in-c/) - In C++, any line with a leading # is taken as a Preprocessing Directive, unless the # is within a string literal, in a character constant, or embedded in a comment. The initial # can be preceded or followed by whitespace (excluding new lines). If you use the preprocessing directive #pragma, you can set compiler directives in your source code, without - [A Simple Example Program of Constructor In C++](https://learncplusplus.org/a-simple-example-program-of-constructor-in-c/) - Constructors are distinguished from all other member functions by having the same name as the class they belong to. When an object of that class is created or is being copied, the appropriate constructor is called implicitly. If you are developing a C++ app of course using Object Oriented methods, Classes and Objects - the - [What C Programming Is Used For](https://learncplusplus.org/what-c-programming-is-used-for/) - The C programming language is one of the most popular programming languages. But what is C programming used for? Did you know that the C programming language is still very popular and can be used for all sorts of app development, on Windows, iOS, Android, Linux / Unix operating systems and can be used for other - [How To Build A C++ Program?](https://learncplusplus.org/how-to-build-a-c-program-2/) - The C++ programming language is easy and very simple to build native programs in different operating systems. If you want to start programming in C++ but don't know where to start, we have a simple post for you. In this post, we explain simply how you can download a free C++ Code Editor and compiler - [How To Run C++ Program in Terminal](https://learncplusplus.org/how-to-run-c-program-in-terminal/) - The C++ programming language is great - it's very popular and extremely powerful for all sorts of programming. It one of the most popular programming languages and often features among the two three languages on any lists. Perhaps now you want to start programming in C++ but don't know where to start? In this post, - [How To Terminate C++ Program](https://learncplusplus.org/how-to-terminate-c-program/) - C++ is one of the most powerful programming languages and it's suitable for a wide variety of uses. The RAD Studio, C++ Builder IDE is a powerful yet easy to use development tool for those who want to develop C++ applications. Using a fast and reliable C++ IDE is very important for beginners and professionals - [How To Write A Function In C Programming](https://learncplusplus.org/how-to-write-a-function-in-c-programming/) - C is one of the most popular and powerful programming languages. Did you know that C code can be edited and run by a C++ IDE and compiler? The C language has many pre-defined variables, functions, and libraries - and while this makes it very powerful it can also be a steep learning curve for - [What Does C Stand For In Programming?](https://learncplusplus.org/what-does-c-stand-for-in-programming/) - The C programming language is one of the most popular programming languages. C++ is the highly evolved and modernized Object-Oriented version of the C language. In LearnCPlusPlus.org, you can learn C++ but we also make it easy for you to learn some C language programming too. You can develop amazing C and C++ apps for - [What Is Int In C++ Programming?](https://learncplusplus.org/what-is-int-in-c-programming-2/) - C++ is one of the most powerful programming languages in the World and it's suitable for a wide variety of uses as in C++. Integer variables are one of the important data types that use mostly. The RAD Studio and C++ Builder IDEs are extremely powerful development tools for those who want to develop applications - [What Is A Float In C Programming?](https://learncplusplus.org/what-is-a-float-in-c-programming/) - C is one of the most powerful programming languages in the World and it's suitable for a wide variety of uses and C++ too. Floating point variables are one of the important data types that use mostly. For example, you can allow this in different integer and string types, or you can convert string to - [What Is Int In C Programming?](https://learncplusplus.org/what-is-int-in-c-programming/) - C is one of the most powerful programming languages in the World and it's suitable for a wide variety of uses. Integer variables are one of the important data types that we end up using frequently in our programs. The RAD Studio and C++ Builder IDEs, while primarily intended for creating C++ programs are extremely - [What is type casting in C programming?](https://learncplusplus.org/what-is-type-casting-in-c-programming/) - C and C++ are one of the top 3 programming languages worldwide. Type casting is one of the most used methods to convert similar variable types to different types in C and C++. Type casting in C or in C++ can be done by using data type in parenthesis in the code lines in a - [How To Build A C++ Program](https://learncplusplus.org/how-to-build-a-c-program/) - The C++ programming language is generally familiar to most programmers. Generally, the greatest concentration of hardcore C++ programmers tends to be among those with a background in computer science and similar fields. However, C++ is not an elitist language - it's one of the most popular programming languages worldwide and often features among the top - [What C Programming Is Used For Memory Allocations?](https://learncplusplus.org/what-c-programming-is-used-for-memory-allocations/) - Memory usage is really important in C and C++ programming. In the C language malloc, calloc, realloc functions comes from the header and C++ language allows you to use malloc in C++ also calloc and realloc too. These memory allocations are fairly old and mostly used in C and require great caution if you - [How To Use Pointers In C Programming and C++](https://learncplusplus.org/how-to-use-pointers-in-c-programming-and-c/) - Pointers are variables that hold addresses and the asterisk character '*' is used to define pointers, it is used before the variable name. This variable can be an integer, float, string, or any data block like structs, object arrays, bitmaps coming from a camera, or a signal or sound wave coming from an input, any data - [Is C++ A Functional Programming Language?](https://learncplusplus.org/is-c-a-functional-programming-language/) - C++ is highly evolved and mature programming language. The C++ language has a great set of choices of modern C++ IDE and compilers all of which come with a lot of tools, GUI components and libraries. By using C++, you can create functional programs to solve complex engineering problems, you can simulate and analyze with 2D/3D graphics, - [Is C Programming Case Sensitive And C++ Too?](https://learncplusplus.org/is-c-programming-case-sensitive-and-c-too/) - C is one of the most powerful programming languages and it's suitable for a wide variety of uses. You can compile C code with a number of different C++ and C compiler types. The RAD Studio and C++ Builder IDEs are extremely powerful development tools for those who want to develop C and C++ applications - [How To Run A C Program From The Command Prompt](https://learncplusplus.org/how-to-run-a-c-program-from-the-command-prompt/) - Using a fast and reliable C or C++ compiler for Windows is very important for beginners and professionals since it helps C/C++ developers in remembering which language features exist, how to use them, and even detect errors when we get them wrong. The C language still extremely popular among developers. Today, we explain how to - [What is An Array in Programming C++?](https://learncplusplus.org/what-is-an-array-in-programming-c/) - Arrays are one of the important variable types when we are programming C++ apps. An array is a group of similar elements, data types, that are stored in a memory location. Array elements are defined by the data type and the variable then its size in brackets. If you are developing C++ apps with a - [What C Programming Is Used For Memory Operations?](https://learncplusplus.org/what-c-programming-is-used-for-memory-operations/) - In all programs, not just in C programming, all data and operations during runtime are stored in the memory of our computers, including IoT or other microdevices. This memory is generally a RAM (Random Access Memory) that allows data items to be read or written in almost the same amount of time irrespective of the - [Who Invented The C++ Programming Language?](https://learncplusplus.org/who-invented-the-c-programming-language/) - The C++ programming language and C are hugely popular despite having been around for 40 years. Behind that popularity are thousands of developers working together to bring out the best C and C++ compiler solutions which incorporate the very latest enhancements and improvements. Today we have C++ CLANG standards with names like C++17 and C++20. - [What Is Count In C Programming?](https://learncplusplus.org/what-is-count-in-c-programming/) - If you want to develop a native C app for an operating system you need a powerful C or C++ compiler and IDE to develop your software. In the C language we can count anything in our runtime variables, memory, files, anything from the database, etc. For example, we can count similar names, the number of birds - [Why Is C The Most Popular Programming Language?](https://learncplusplus.org/why-is-c-the-most-popular-programming-language/) - While Python and many other programming languages are widely spread around the programming world, the C programming language still holds the crown as one of the World's most popular programming languages. Today, you can learn how to write C and C++ code to easily develop desktop, mobile and IoT applications for the different operating systems. - [How To Use Switch In C++ And C Programming?](https://learncplusplus.org/how-to-use-switch-in-c-and-c-programming/) - C and C++ are consistently listed at the top of lists of popular programming languages. C++ is one of the most powerful programming languages which is suitable for a wide variety of uses. It shares a history with C and as a result many C constructs and code also work in C++. You can generally - [What Are Header Files In C++ and C Programming?](https://learncplusplus.org/what-are-header-files-in-c-and-c-programming/) - C and C++ languages are highly evolved and modern app-building software comes with a lot of libraries and with header files to define functions in these libraries. Header files and their libraries are one of the main important parts of the C and C++ languages. A header file can be added to code lines by - [How To Write A C program](https://learncplusplus.org/how-to-write-a-c-program/) - Before you start C programming, you should know what modern tools you need to write a C app. You need a professional C/C++ IDE and a C/C++ compiler to compile and run your applications. The RAD Studio and C++ Builder IDEs are extremely powerful development tools for those who want to develop C and C++ - [How To Run A C++ Program In The Linux Terminal](https://learncplusplus.org/how-to-run-a-c-program-in-the-linux-terminal-2/) - Linux is a great operating system, and the C++ Language is the one of the most powerful programming languages. You can compile your C++ app code with the latest C++ version of most C++ build tools as well as a number of C/C++ IDEs with compilers in all sorts of different operating systems like Windows, - [How To Program A Game In C++](https://learncplusplus.org/how-to-program-a-game-in-c/) - C++ is a great programming language to develop games. In fact, I think C++ is the best language to develop games - it is the most popular language in game development industry. You can use several free C++ compilers to create some small games as a console app. In games, mostly we use do-while loops - [What Is C++ Programming Used For?](https://learncplusplus.org/what-is-c-programming-used-for/) - C++ Programming language requires many pre-defined variables, functions, and libraries for the different operating systems which means you need a professional IDE. The C++ programming language uses compiler to generate executable apps and libs that makes it one of the most popular programming languages. A C++ compiler can compile C and C++ codes that has - [How To Run A C++ Program](https://learncplusplus.org/how-to-run-a-c-program/) - The C++ programming language is one of the most popular programming languages and often features among the two three languages on any lists. Perhaps now you want to start programming in C++ but don't know where to start? In this post, we explain simply how you can download a free C++ IDE and compiler and - [How Do I Learn The C++ Programming Language?](https://learncplusplus.org/how-do-i-learn-the-c-programming-language/) - C++ is one of the most powerful programming languages as well as being one of the world’s most popular. C++ is a compiled language that produces machine codes as a native application. Some professional versions come with specialized code editors known as an IDE (integrated development environment). Using a fast and reliable C++ IDE is very important - [Is C Programming Hard?](https://learncplusplus.org/is-c-programming-hard/) - In comparison with some of programming languages available today new developers may find the C language hard to learn. Is C programming really hard? If you learn the basics of the C language and if you have a good C editor it is easy to code, compile and run applications. The C programming language is - [What Do I Need To Program In C++?](https://learncplusplus.org/what-do-i-need-to-program-in-c/) - If you want to create amazing programs in C++, first you need a computer with a recent, supported operating system like Windows, macOS, or Linux. Second, you can't really program in C++ without a C++ compiler that is compatible with the chosen operating system. Third, you need a C++ IDE. Using a fast and reliable - [How To Start Programming In C++](https://learncplusplus.org/how-to-start-programming-in-c/) - I think you heard, the C++ programming language is one of the most popular programming languages and often features among the top two or three languages on any lists. Now you want to start programming in C++ but don't know where to start? In this post, we explain simply how you can download a free - [How To Learn Game Programming In C++](https://learncplusplus.org/how-to-learn-game-programming-in-c/) - C++ and Delphi are great programming languages to develop everything from simple to very professional level modern applications on Windows, iOS, Android and more. If you are new to programming in C++ generally a small amount of code with some logic is really good introduction into developing a love of coding. In this article we - [What Is The C++ Programming Language?](https://learncplusplus.org/what-is-the-c-programming-language-2/) - C++ is one of the most powerful programming languages as well as being one of the world’s most popular. C++ is a compiler language that produces machine codes as a native application. Some professional versions come with code editors known as an IDE. Using a fast and reliable C++ code editor or IDE is very important for - [How To End A C++ Program](https://learncplusplus.org/how-to-end-a-c-program/) - C++ is one of the most powerful programming languages and it's suitable for a wide variety of uses. The RAD Studio, C++ Builder IDE is a simple development tool for those who want to develop C++ applications. Using a fast and reliable C++ IDE is very important for beginners and professionals it is also important - [How To Execute A Program In C](https://learncplusplus.org/how-to-execute-a-program-in-c/) - C is one of the most powerful programming languages and it's suitable for a wide variety of uses. You can compile C code with a number of different C and C++ compilers. The RAD Studio and C++ Builder IDEs are extremely powerful development tools for those who want to develop C and C++ applications of - [How To Exit A Program In C](https://learncplusplus.org/how-to-exit-a-program-in-c/) - Developing a C program is more than just the skill of getting the app to run in the first place. It's important to know how to make the app behave properly within the environment of the computer or device on which it is running. Proper behavior isn't just about how and where we read and - [What Is A B In C Programming?](https://learncplusplus.org/what-is-a-b-in-c-programming/) - C is a procedural computer programming language supporting structured programming, lexical variable scope, and recursion, with a static type system. How should we start C programming? C is one of the fastest languages form manipulating bits, numbers, and string arrays. It is also fast and safe on when operating on a string in C++. The - [How To Create A C Program](https://learncplusplus.org/how-to-create-a-c-program/) - C is one of the most powerful programming languages and it’s suitable for a wide variety of uses. You can create a C program and compile it with several different C and C++ compilers and IDEs. The RAD Studio and C++ Builder IDEs are extremely powerful development tools for those who want to develop C - [What Is A Flowchart In C Programming And C++](https://learncplusplus.org/what-is-a-flowchart-in-c-programming-and-c/) - Programming needs a lot of effort to make great applications. You need to know what you want to see in your app, how your app will work, what you should do visually to make the actions work. Before you even sit down and start coding in your favorite C++ IDE you have to combine all - [How To Program Arduino With C++](https://learncplusplus.org/how-to-program-arduino-with-c/) - Arduino is an extremely popular low-cost electronic board to build simple IoT devices running with a software similar to a C++ code editor. It is an open-source electronics platform based on easy-to-use hardware and software. Arduino boards are able to read inputs and turn output ports on and off. In Arduino programming you can use C++ classes - [How To Program Arduino With C++](https://learncplusplus.org/how-to-program-arduino-with-c/) - Arduino is an extremely popular low-cost electronic board to build simple IoT devices running with a software similar to a C++ code editor. It is an open-source electronics platform based on easy-to-use hardware and software. Arduino boards are able to read inputs and turn output ports on and off. In Arduino programming you can use C++ classes - [How To Program A Robot Using C++](https://learncplusplus.org/how-to-program-a-robot-using-c/) - C++ is one of the most powerful programming languages and it's suitable for a wide variety of uses. The RAD Studio, C++ Builder IDE is a simple development tool for those who want to develop C++ applications. Developing robots with a reliable C++ IDE is very important for beginners and professionals it is also important - [Learn to Use Pointers and Memory Address of a Variable in C++](https://learncplusplus.org/learn-to-use-pointers-and-memory-address-of-a-variable-in-c/) - 1. Memory Address of a Variable The RAM (Random Access Memory) is the memory of a computer that can be read and changed in any order, typically used to store working data and machine codes. In some operations, we use ROM (Read Only Memory), In our applications, we have a lot of variables and every variable stored in the - [How To Do C Programming In Windows 10?](https://learncplusplus.org/how-to-do-c-programming-in-windows-10/) - C is one of the most powerful programming languages and it's suitable for a wide variety of uses. You can compile C code with a number of different C and C++ compilers. The RAD Studio and C++ Builder IDEs are extremely powerful development tools for those who want to develop C and C++ applications of - [How To Do C Programming In Windows 10?](https://learncplusplus.org/how-to-do-c-programming-in-windows-10/) - C is one of the most powerful programming languages and it's suitable for a wide variety of uses. You can compile C code with a number of different C and C++ compilers. The RAD Studio and C++ Builder IDEs are extremely powerful development tools for those who want to develop C and C++ applications of - [How To Run A Program In C](https://learncplusplus.org/how-to-run-a-program-in-c/) - C is one of the most powerful programming languages and it's suitable for a wide variety of uses. You can compile C code with a number of different C and C++ compilers. The RAD Studio and C++ Builder IDEs are extremely powerful development tools for those who want to develop C and C++ applications of - [How To Make A Program Repeat Itself In C++](https://learncplusplus.org/how-to-make-a-program-repeat-itself-in-c/) - The C++ and C programming languages are the two most popular programming languages in the software development world. Their raw speed and versatility have made them consistently at the top of ‘league tables’ of software development languages. You can learn C++ and the C language easily from our website. In this article we will teach you how you - [How To End The Program In C++](https://learncplusplus.org/how-to-end-the-program-in-c/) - C++ is one of the most powerful programming languages and it's suitable for a wide variety of uses. The RAD Studio, C++ Builder IDE is a powerful yet easy to use development tool for those who want to develop C++ applications. Using a fast and reliable C++ IDE is very important for beginners and professionals - [How To Debug A C++ Program?](https://learncplusplus.org/how-to-debug-a-c-program/) - A C++ IDE and compiler are development tools for coding, preprocessing, compiling, assembly, linking, loading and running C/C++ programs. A C++ program building process involves these stages and on runtime there is also debugging option. So, what is this debugging? What is a bug? How can I debug my codes in C++ Builder? In this - [How To Compile A C Program On Windows?](https://learncplusplus.org/how-to-compile-a-c-program-on-windows/) - C is one of the most powerful programming languages in use today and it's suitable for a wide variety of uses. You can compile C code with a number of different C and C++ compilers. The RAD Studio and C++ Builder IDEs are extremely comprehensive and capable development tools for those who want to develop - [What Is A Short Int In C Programming?](https://learncplusplus.org/what-is-a-short-int-in-c-programming/) - C is one of the most powerful programming languages in the World and it's suitable for a wide variety of uses. You can compile C code with a number of different C and C++ compiler choices. The RAD Studio and C++ Builder IDEs are extremely powerful development tools for those who want to develop applications - [How To Create A Linked List In A C++ Program](https://learncplusplus.org/how-to-create-a-linked-list-in-a-c-program/) - The C++ programming language is one of the top 5 programming languages around the world. The superbly rich C++ programming language includes many elements of the C language and goes further by adding object-oriented programming features like classes, objects, and methods. Linked Lists are used to sort data groups (i.e. users, parts) in C and - [How Does A C Program Work Internally?](https://learncplusplus.org/how-does-a-c-program-work-internally/) - The C programming language is one of the most popular programming languages in programming world. Did you know that C++ compilers can be used to develop C apps? You can download C++ IDEs and compilers for free. The IDE and compiler are the first stages of how a C++ or C program works internally. Read on - [How To Use Do While Program In C?](https://learncplusplus.org/how-to-use-do-while-program-in-c/) - C is one of the most powerful programming languages and it's suitable for a wide variety of uses. You can compile C code with several different C and C++ compilers and IDE. The RAD Studio and C++ Builder IDEs are extremely powerful development tools for those who want to develop C and C++ applications of - [What Does Library Mean In C Programming?](https://learncplusplus.org/what-does-library-mean-in-c-programming/) - The C programming language is one of the most popular programming languages. C++ is the highly evolved and modernized Object Oriented version of the C language and its compilers also support C language-only apps. Libraries are one of the main important parts of the C and C++ languages. For example, you can use library - [Learn How To Check The 32bitness Or 64bitness Your C++ Application](https://learncplusplus.org/learn-how-to-check-the-32bitness-or-64bitness-your-c-application/) - If you are looking to a way to reliably determine whether C++ code is being compiled in 32 bits or 64 bits there is way to check in C++ code. For a cross platform compilation (cross compiler environments like FireMonkey framework in C++ Builder) there is no single reliable method to check if your application - [What Is Programming Language C?](https://learncplusplus.org/what-is-programming-language-c/) - The C programming language is one of the most popular programming languages. But what do we mean by C programming? Did you know that C be used to develop apps like simple C and C++ hello world examples to professional C and C++ applications with free tools like Dev-C++ and C++ Builder CE ? The C - [Why Use C Programming?](https://learncplusplus.org/why-use-c-programming/) - The C and C++ programming languages are hugely popular despite having been around for 40 years. Behind that popularity are thousands of developers working together to bring out the best C and C++ compiler solutions which incorporate the very latest enhancements and improvements. Today we have C++ CLANG standards with names like C++17 and C++20. - [How To Compile And Run A C++ Program](https://learncplusplus.org/how-to-compile-and-run-a-c-program-3/) - C++ is one of the most powerful programming languages and it's suitable for a wide variety of uses. The RAD Studio, C++ Builder IDE is a simple development tool for those who want to develop a C++ applications. Using a fast and reliable C++ IDE is very important for beginners and professionals alike since it - [How Do You Run A C++ Program?](https://learncplusplus.org/how-do-you-run-a-c-program/) - The C++ programming language is one of the most popular programming languages and often features among the two three languages on any lists. If you don't know this wonderful C++ language, and you start reading this, don't be hesitant to learn C++, we can teach you! Where we should start to do C++ programming? In - [Who Wrote The C Programming Language?](https://learncplusplus.org/who-wrote-the-c-programming-language/) - The C and C++ programming languages are hugely popular despite having been around for 40 years. Behind that popularity are thousands of developers working together to bring out the best C and C++ compiler solutions which incorporate the very latest enhancements and improvements. Today we have C++ CLANG standards with names like C++17 and C++20. - [Is C A High Level Programming Language?](https://learncplusplus.org/is-c-a-high-level-programming-language/) - The C programming language is one of the most popular programming languages. But what is the level of the C programming language? Is C a high-level programming language or low-level language? Did you know that C can be used to develop great apps and has great functions like printf, scanf, sscanf, fscanf which are very useful - [How To Run A C Program in Command Prompt](https://learncplusplus.org/how-to-run-a-c-program-in-command-prompt/) - C is one of the most powerful programming languages and it can be run by the C++ IDE and compilers. Using a fast and reliable C or C++ compiler for Windows is very important for beginners and professionals since it helps C/C++ developers in remembering which language features exist, how to use them, and even - [How To Compile And Run A C Program](https://learncplusplus.org/how-to-compile-and-run-a-c-program-2/) - C is one of the most powerful programming languages and it's suitable for a wide variety of uses. You can compile C code with a number of different C and C++ compilers. You can use many C functions in a C++ app too. For example, you can use for() loops , do-while() loops, structs, or - [What Kind Of Programming Language Is C?](https://learncplusplus.org/what-kind-of-programming-language-is-c/) - The C programming language is one of the World's most popular programming languages. C++, which is our main focus here, is a highly evolved and modernized Object Oriented version of the C language. This closeness of C++ to C means its compilers also support the C language too. Today, you can learn how to write - [What Does C Mean In Programming?](https://learncplusplus.org/what-does-c-mean-in-programming/) - The C programming language is one of the most popular programming languages. C++ is the highly evolved and modernized Object Oriented version of the C language and as a result you can use a C++ compiler to support compiling C language programs too. Today, -you can develop C console apps or C++ apps with modern - [How To Compile A C Program?](https://learncplusplus.org/how-to-compile-a-c-program/) - C is one of the most powerful programming languages and it's suitable for a wide variety of uses. You can compile C code with a number of different C and C++ compilers. The RAD Studio, C++ Builder IDE is a simple development tool for those who want to develop a C application, or use C - [How To Run A C Program In Terminal](https://learncplusplus.org/how-to-run-a-c-program-in-terminal-3/) - C is one of the most powerful programming languages and it can be run by the C++ IDE and compilers. Using a fast and reliable C or C++ compiler for Windows is very important for beginners and professionals since it helps C/C++ developers in remembering which language features exist, how to use them, and even - [How To Close A C Program?](https://learncplusplus.org/how-to-close-a-c-program/) - C is one of the most perennially powerful and popular programming languages. Using a fast and reliable C++ IDE like Dev-C++ or the truly excellent C++ Builder to create your C program or C++ apps is very important for both beginners and professionals alike since it helps developers in remembering which language features exist, how - [Who Is The Developer Of The C Programming Language?](https://learncplusplus.org/who-is-the-developer-of-the-c-programming-language/) - The C and C++ programming languages are hugely popular despite having been around for 40 years. Behind that popularity are thousands of developers working together to bring out the best C and C++ compiler solutions which incorporate the very latest enhancements and improvements. Today we have C++ CLANG standards with names like C++17 and C++20. - [How To Compile A C Program In Linux](https://learncplusplus.org/how-to-compile-a-c-program-in-linux-4/) - Linux is a great operating system, and the C Language is the one of the most powerful programming languages. You can compile your C program with the latest C++ version of most C++ build tools as well as a number of C/C++ IDEs with compilers in all sorts of different operating systems like Windows, iOS, - [Which Software Is Used To Run A C Program And C++](https://learncplusplus.org/which-software-is-used-to-run-c-program-and-c/) - C and C++ are two of the most powerful programming languages and they can be run by C++ build tools software, C/C++ IDEs with compilers. Using a fast and reliable C or C++ compiler for Windows is very important for beginners and professionals since it helps C/C++ developers in remembering which language features exist, how to - [How To Program In C With A Free C++ IDE](https://learncplusplus.org/how-to-program-in-c-with-a-free-c-ide/) - C is one of the most powerful programming languages and it's suitable for a wide variety of uses. You can compile C code with a number of different C and C++ compilers. For those wishing to go cross-platform, C and especially C++ iOS app development can be done by some really capable C++ Windows Development - [How To Program C++ Apps In 2022](https://learncplusplus.org/how-to-program-c-apps-in-2022-2/) - Are you searching for how to program C++ apps in 2022? Well, you've come to the right place! The C and C++ programming languages are the most popular programming languages and they can be used to develop apps in many different operating systems. You can develop apps in C++ for iOS, Windows, Android, Linux and for - [How To Compile And Run C Program In Turbo C++](https://learncplusplus.org/how-to-compile-and-run-c-program-in-turbo-c/) - C is one of the most powerful programming languages. Using a fast and reliable C or C++ compiler for Windows is very important for beginners and professionals since it helps C/C++ developers in remembering which language features exist, how to use them, and even detect errors when we get them wrong. Today we have many - [How To Use The Realloc() Function In C++ Programs](https://learncplusplus.org/how-to-use-the-realloc-function-in-c-programs/) - In computers, all data and operations during runtime are stored in the memory of our computers, IoTs, or in other microdevices. This memory is generally a RAM (Random Access Memory) that allows data items to be read or written in almost the same amount of time, irrespective of the physical location of data inside the - [How To Use Malloc() And Free() Functions In C/C++](https://learncplusplus.org/how-to-use-malloc-and-free-functions-in-c-c/) - In programs, all data and operations during runtime are stored in the memory of our computers, including IoT or other microdevices. This memory is generally a RAM (Random Access Memory) that allows data items to be read or written in almost the same amount of time irrespective of the physical location of data inside the - [How To Use calloc() Function In Your C And C++ Programs](https://learncplusplus.org/how-to-use-calloc-function-in-your-c-and-c-programs/) - In computers, all data and operations during runtime are stored in the memory of our computers, IoTs, or in other microdevices. This memory is generally RAM (Random Access Memory). RAM allows data items to be read or written in almost the same amount of time irrespective of the physical location of data inside the memory. - [Solve A 3 Diagonal Matrix Using Successive Over Relaxation](https://learncplusplus.org/solve-a-3-diagonal-matrix-using-successive-over-relaxation/) - C++ is a great programming language to calculate engineering problems, it is one of the best for those operations. Delphi is also faster compiled programming language that you can use in engineering problems. In this post we will explain how to write a C++ app to solve millions of unknowns in Equations by using Successive - [How To Read An XML File In A C Program Or C++ App](https://learncplusplus.org/how-to-read-an-xml-file-in-a-c-program-or-c-app/) - Extensible Markup Language (XML) is one of the most used markup languages in web pages like HTML and used for storing, transmitting, and reconstructing arbitrary data and it is one of the most used file formats in data mining You can easily read XML files in a C or C++ app with the latest C++ version. - [What Is C Programming In 2022](https://learncplusplus.org/what-is-c-programming-in-2022/) - The C programming language is one of the most popular programming languages. But what do we mean by C programming? Did you know that C be used to develop apps with Microsoft build tools or with C or C++ SDKs and with free tools like Dev-C++ and C++ Builder CE? The C Programming Language was developed in - [How To Compile And Run A C Program In Terminal](https://learncplusplus.org/how-to-compile-and-run-a-c-program-in-terminal/) - The C programming language is one of the most popular and versatile programming languages. The C Programming Language was developed in the 1970s and since 1970, C has inspired the invention of a vast array of other programming languages, such as C++. The C++ programming language includes a substantial number of elements of the C - [How To Run A C Program In Terminal](https://learncplusplus.org/how-to-run-a-c-program-in-terminal/) - C is one of the most powerful programming languages. You can write C programs for free using various C/C++ compilers and IDEs. Using a fast and reliable C or C++ compiler for Windows is very important for beginners and professionals since it helps C/C++ developers in remembering which language features exist, how to use them, and - [How To Compile A C Program In Linux](https://learncplusplus.org/how-to-compile-a-c-program-in-linux/) - Linux is a great operating system and it's mostly written in the C Language. C is one of the most powerful programming languages and it can be managed and compiled by a C++ compiler and build tools. Because C and C++ is so good at producing very efficient programs suitable for intensive low-level tasks like - [How To Stop A C Program In Terminal](https://learncplusplus.org/how-to-stop-a-c-program-in-terminal/) - C++ is one of the most perennially powerful and popular programming languages. Using a fast and reliable compiler and C or C++ IDE to create your C program and applications is very important for both beginners and professionals alike since it helps developers in remembering which language features exist, how to use them, and even - [How To Compile And Run A C Program](https://learncplusplus.org/how-to-compile-and-run-a-c-program/) - C is one of the most popular and versatile programming languages and being able to compile and run a C program can be a valuable and in demand skill. C and C++ Compilers are great tools to develop with when they are paired with a professional Windows C IDE such as RAD Studio and C++ Builder. What - [How To Learn Programming C With A Free C++ IDE?](https://learncplusplus.org/how-to-learn-programming-c-with-a-free-c-ide/) - The C programming language is one of the most popular programming languages that can be used in windows development. The C Programming Language was developed in the 1970s and since 1970, there have been many programming languages and have been many changes in C language, like C+, C++, CLANG standards C++99, C++11, C++14, and C++17. C++ - [How to Run A C Program In The Linux Terminal](https://learncplusplus.org/how-to-run-a-c-program-in-the-linux-terminal/) - Linux is a great operating system, and the C Language is the one of the most powerful programming languages. You can compile your C program with most C++ build tools as well as a number of C/C++ IDEs with compilers in all sorts of different operating systems like Windows, iOS, Android as well as Linux. - [How to Run A C Program In The Linux Terminal](https://learncplusplus.org/how-to-run-a-c-program-in-the-linux-terminal/) - Linux is a great operating system, and the C Language is the one of the most powerful programming languages. You can compile your C program with most C++ build tools as well as a number of C/C++ IDEs with compilers in all sorts of different operating systems like Windows, iOS, Android as well as Linux. - [How To End A C Program In An "If" Statement](https://learncplusplus.org/how-to-end-a-c-program-in-an-if-statement/) - C is one of the most popular programming languages and it's pretty easy to learn and use. Despite this, sometimes we get stuck on simple problems in our C program. Don't worry, we can teach you! For example, how we can end a program in an C "if" statement? In this post we explain simply - [How To Exit A C Program In Power Shell](https://learncplusplus.org/how-to-exit-a-c-program-in-power-shell/) - C is one of the most powerful programming languages and C program code can be edited and run by C or C++ IDEs and compilers. Using a fast and reliable C or C++ compiler and IDE for Windows is very important for beginners and professionals since it helps C/C++ developers in remembering which language features - [How To Run A Program Written In The C Language](https://learncplusplus.org/how-to-run-a-program-written-in-the-c-language/) - The C language is one of the most powerful and popular programming languages. It can be run by C++ windows development tools, C/C++ compilers and IDEs. Using a fast and reliable C or C++ compiler for Windows is very important for beginners and professionals since it helps C/C++ developers in remembering which language features exist, - [What is A Void Function In The C Programming language?](https://learncplusplus.org/what-is-a-void-function-in-the-c-programming-language/) - C is one of the most popular and powerful programming languages. Did you know that C code can be edited and run by a C++ IDE and compiler? The C language has many pre-defined variables, functions, and libraries - and while this makes it very powerful it can also be a steep learning curve for - [How To Compile A C Program In Linux](https://learncplusplus.org/how-to-compile-a-c-program-in-linux-2/) - The C Language is the one of the most powerful programming languages that can be run by C++ Code Editors and compilers on Windows, Linux, Android, Mac-OS. Linux is a great operating systems and C/C++ are its main programming language of this operating system. C language is still very popular among developers in all OS platforms, - [How To Declare A Char Variable In C Programming](https://learncplusplus.org/how-to-declare-a-char-variable-in-c-programming/) - C is one of the most powerful programming languages and C codes can be run by C or C++ compilers. C++ and C Build tools can be used to develop programs for the different operating systems like Windows, iOS, Android, Linux. Using a fast and reliable C or C++ compiler for an OS is very - [How To Run A C Program In Terminal](https://learncplusplus.org/how-to-run-a-c-program-in-terminal-2/) - C is one of the most powerful programming languages and it can be run by the C++ IDE and compilers. Using a fast and reliable C or C++ compiler for Windows is very important for beginners and professionals since it helps C/C++ developers in remembering which language features exist, how to use them, and even - [How to Compile A C Program In Linux](https://learncplusplus.org/how-to-compile-a-c-program-in-linux-3/) - Linux is a great operating system and the C Language is the one of the most powerful programming languages. C is still very popular among developers in all OS platforms and it's hard not to use a computer without using a C program since there are so many out there quietly chugging along playing an - [What Is C Programming On Windows?](https://learncplusplus.org/what-is-c-programming-on-windows/) - The C programming language is one of the most popular programming languages. But what do we mean by C programming on Windows? Did you know that the C programming language can be used for Windows development, iOS development, Android development, Linux / Unix development and can be used for other systems such IoT devices? The C - [What Is Recursion In C Programming](https://learncplusplus.org/what-is-recursion-in-c-programming/) - The C++ and C programming languages are the two most popular programming languages in the software development world. Their raw speed and versatility have made them consistently at the top of 'league tables' of software development languages. The C Programming Language was developed in the 1970s and since 1970, there have been many programming languages and - [What Is The C Programming Language?](https://learncplusplus.org/what-is-the-c-programming-language/) - The C programming language is one of the most popular programming languages in the world. The C language can be used to develop native apps with a dedicated C IDE or a C++ IDE for Windows like C++ Builder and Dev-C++. Yes, even though C++ Builder is designed to work with C++ programs it is possible to - [How To Exit From A Program In C On Windows](https://learncplusplus.org/how-to-exit-from-a-program-in-c-on-windows/) - C is one of the most powerful programming languages. There are a great selection of C++ windows development tools, IDE's and C++ compilers which can also work with C programs. Using a fast and reliable C or C++ compiler for Windows is very important for beginners and professionals since it helps C/C++ developers in remembering which - [What Is An Array In C Programming?](https://learncplusplus.org/what-is-an-array-in-c-programming/) - If you are developing C apps with a C or C++ IDE that is compatible with Microsoft C++ build tools, one of the most important parts of C programming is using data in memory efficiently. Arrays in C and C++ are one of the fastest tools in the C language. If you are asking what an - [How To Make A GUI In C++?](https://learncplusplus.org/how-to-make-a-gui-in-c/) - Programming languages have evolved well thanks to the development of the technologies, better education, and the curiosity of the human mind about searching for and creating new things. Some of the most cutting-edge evolutions and changes were originally made in the C++ language. Since 1983, C and later the C++ programming languages - their compilers, IDEs, frameworks, - [How To Program C++ Apps in 2022](https://learncplusplus.org/how-to-program-c-apps-in-2022/) - C++ is one of the most powerful programming languages as well as one of the world’s most popular. C++ Builder is a fast and reliable IDE and compiler which allows you to work with C++ for iOS, Windows, and Android. In 2021 and 2022 there have been many new OS releases and your apps should support - [How To Create A Website Using C++?](https://learncplusplus.org/how-to-create-a-website-using-c/) - The C and C++ programming languages are two of the most popular programming languages in programming world. The power and versatility of C++ definitely makes it feel like there are no limits to developing creative apps. For example, let's imagine that we create a website composed with a lot of web page files and we - [Can I Program Arduino With A C++ IDE](https://learncplusplus.org/can-i-program-arduino-with-a-c-ide/) - Arduino is an extremely popular electronic board to build simple IoT devices running with a software similar to a C++ code editor. It is an open-source electronics platform based on easy-to-use hardware and software. Arduino boards are able to read inputs and turn output ports on and off. For example, it may receive a signal from a - [How To Terminate A Program In C++ iOS Apps](https://learncplusplus.org/how-to-terminate-a-program-in-c-ios-apps/) - C++ is one of the most perennially powerful and popular programming languages. Using a fast and reliable app development software for iOS , Windows, MacOS, Android, Linux is very important to create your apps professionally and these app development tools are very important for both beginners and professionals alike since it helps developers in remembering - [How To Use Scanline In Bitmaps In A VCL C++ App?](https://learncplusplus.org/how-to-use-scanline-in-bitmaps-in-a-vcl-c-app/) - What is ScanLine? How can I use ScanLine in my C++ app built using the VCL? The ScanLine method provides indexed access to each line of pixels of bitmaps, in VCL apps, i.e Image1->Picture- - [What Does & (the ampersand) Mean In A C++ App?](https://learncplusplus.org/what-does-the-ampersand-mean-in-a-c-app/) - In most cases, an ampersand symbol (&) is used as an 'AND' logic symbol. In a C or C++ app, we use the & operand as an 'AND' logic in bitwise operations. We also use the double ampersand && operand as an 'AND' symbol in other logical operations. So, how we can use ampersands in - [How To Start A C++ Program](https://learncplusplus.org/how-to-start-a-c-program-2/) - The C++ programming language is one of the most popular programming languages and often features among the two three languages on any lists. If you don't know this wonderful C++ language, and you start reading this, don't be hesitant to learn C++. We can teach you! Where we should start to do C++ programming? In - [How To Start A C++ Program](https://learncplusplus.org/how-to-start-a-c-program/) - How to start designing. creating, compiling and launching a C++ program is at once, paradoxically, both easy and difficult. There is a great quote from the Dao De Jing which says, "a journey of a thousand miles starts with a single step". I would augment that by adding "start with the right first step". Using - [Learn about Object Oriented Programming, Introduction to OOP](https://learncplusplus.org/learn-about-object-oriented-programming-introduction-to-oop/) - When learning about C++ programming a lot of programmers have many questions. Let's answer them in this topic. One of the biggest difference between C and C++ programming languages is, C++ is an Object Oriented Programming (OOP) language that supports using Classes. In this post we will explain Object Oriented Programming, In another term this is an - [How To Learn C Programming In 2022](https://learncplusplus.org/how-to-learn-c-programming-in-2022/) - Are you searching for how to learn C programming in 2022? Well, you've come to the right place! The C programming language is one of the most popular programming languages that can be used to develop apps with C++ Code Editor or with C or C++ SDKs and with free tools like Dev-C++ and C++ Builder CE. - [Learn To Use std::tuple In A C++ Compiler For Windows](https://learncplusplus.org/learn-to-use-stdtuple-in-a-c-compiler-for-windows/) - What is a tuple, or std::tuple? How can I use a tuple in a C++ compiler? Can I store different types of variables in tuple template? What does std::tuple mean to a C++ compiler? The tuple ( std::tuple) is a class template a fixed-size collection of different types of values like floats, integers, texts, etc. In - [How To Insert A String Into Another String In A C++ App](https://learncplusplus.org/how-to-insert-a-string-into-another-string-in-a-c-app/) - How can I use insert() method of std::string in my C++ app? How can I insert a string into another string? Can we insert a char array into a string? How can I insert number of chars into a string? Is it possible to insert a substring of a string into another string? Here are - [How To Insert A String Into Another String In A C++ App](https://learncplusplus.org/how-to-insert-a-string-into-another-string-in-a-c-app/) - How can I use insert() method of std::string in my C++ app? How can I insert a string into another string? Can we insert a char array into a string? How can I insert number of chars into a string? Is it possible to insert a substring of a string into another string? Here are - [Everything You Need To Use Dates Properly In C++ Software](https://learncplusplus.org/everything-you-need-to-use-dates-properly-in-c-software/) - How can we use DateTime correctly in our C++ software? How can we display date in format in C++ Builder? How can we get each date and time property individually such as hours, mins, or seconds? We have discussed "Learn to Use Date and Its Properties in C++" before. All the examples in that article - [This Is How To Use Bit Shifting In Your C++ App](https://learncplusplus.org/this-is-how-to-use-bit-shifting-in-your-c-app/) - What is Bit Shifting? What is difference between Left Shifting and Right Shifting? How can we set bits of a byte in our C++ app? How can we slide bits in data to the left or to the right? What is a "bit" in C++ software? The bit is the most basic unit of information in computing - [How To Replace A Wide String Into Another In A C++ App](https://learncplusplus.org/how-to-replace-a-wide-string-into-another-in-a-c-app/) - How can I use replace() method of std::wstring in my C++ app? How can I replace a wstring into another wstring? Can we replace char array to a wstring? How can I replace number of chars to a wstring? Is it possible to replace a wide string with a substring of another wide string? Here - [Convert A Char Array To A Wide String In Modern C++ Software](https://learncplusplus.org/convert-a-char-array-to-a-wide-string-in-modern-c-software/) - How can I convert char array to a std::wstring? How can I convert chars to a 2-bytes wide string? Here are the answers with C++ examples. Generally, as an introduction to C++, in addition to int, float, double there are other data types like string and wstring in modern C++ that we can use for alphanumeric variables. In Modern C++, there are - [Inserting A String Into A Wide String In A Modern C++ App](https://learncplusplus.org/inserting-a-string-into-a-wide-string-in-a-modern-c-app/) - How can I use insert() method of std::wstring in a modern C++ app? How can I add a string to inside of a wide string? Here are the answers with C++ examples. Generally, as an introduction to C++, in addition to int, float, double, string there is another data type wstring in modern C++ that we can use - [How To Use WString find_first_of() In A Modern C++ App](https://learncplusplus.org/how-to-use-wstring-find_first_of-in-a-modern-c-app/) - How can I search only a single character while the search is a wide string in my C++ app? What kind of methods I can use to find a character in a std::wstring? How can I use find_first_of(), find_last_of() methods with wstrings? Modern C++ uses Wide Strings and Unicode Strings to support worldwide languages. Wide Strings (std::wstring) uses wcha_tr as the character type which - [How To Make Use Of Wide String Properties In C++ Software](https://learncplusplus.org/how-to-make-use-of-wide-string-properties-in-c-software/) - How can I use wide string methods in C++ software? What kind of methods I can use to get the size of a std::wstring? How can I use the empty() method with wstrings? How to get length() of a std::wstring? How can I use the size() property of a std::wstring? How can I use the max_size() property of a wstring? How can I retrieve the - [What Is The find() Wide String Method In A Modern C++ App?](https://learncplusplus.org/what-is-the-find-wide-string-method-in-a-modern-c-app/) - How can I access a character of a wstring in my C++ app? How can I use the at() method of wide strings? Can I use front() and back() methods in std::wstring to access characters? Modern C++ uses Wide Strings and Unicode Strings to support worldwide languages. Wide Strings (std::wstring) use wcha_tr as the character type which means they are 2-bytes chars and they are an instantiation of the basic_string class template. In - [How To Use The ExtractFileName Method In Your C++ Software](https://learncplusplus.org/how-to-use-the-extractfilename-method-in-your-c-software/) - C++ Builder is the easiest and fastest C and C++ IDE for building simple or professional C++ Software on the Windows, MacOS, iOS & Android operating systems. It is also easy for beginners to learn with its wide range of samples, tutorials, help files, and LSP support for code. RAD Studio’s C++ Builder version comes with - [How To Use GetFileName On A Path String In A C++ App](https://learncplusplus.org/how-to-use-getfilename-on-a-path-string-in-a-c-app/) - How can I get a file name from a path string in a C++ app using C++ Builder? Can I learn what is the GetFileName Method? What is the syntax of the GetFileName Method? Is there an example of using the GetFileName Method? C++ Builder has a lot of specific methods in its SysUtils and IOUtils library that are included in VCL - [How To Make find_first_not_of() String Searches In A C++ App](https://learncplusplus.org/how-to-make-find_first_not_of-string-searches-in-a-c-app/) - How can I find a first or last character that is not a character that i am searching in a string in my C++ app? What kind of methods I can use to find the first character equal to none of the characters in the given string in a std::string? How can I use find_first_not_of(), - [How To Make find_first_not_of() String Searches In A C++ App](https://learncplusplus.org/how-to-make-find_first_not_of-string-searches-in-a-c-app/) - How can I find a first or last character that is not a character that i am searching in a string in my C++ app? What kind of methods I can use to find the first character equal to none of the characters in the given string in a std::string? How can I use find_first_not_of(), - [How To Make find_first_not_of() String Searches In A C++ App](https://learncplusplus.org/how-to-make-find_first_not_of-string-searches-in-a-c-app/) - How can I find a first or last character that is not a character that i am searching in a string in my C++ app? What kind of methods I can use to find the first character equal to none of the characters in the given string in a std::string? How can I use find_first_not_of(), - [How To Create A Simple Database C++ App](https://learncplusplus.org/how-to-create-a-simple-database-c-app/) - In this short video, Jim McKeeth will demonstrate how to create a simple database application using C++ Builder. Building a multi-device FireMonkey application with FireDAC and InterBase Creating a Database application in C++ Builder and connecting it to a database management system is surprisingly easy and quick. McKeeth utilizes the so-called CRUD functionality which simply - [How To Copy A Wide String to Wide Char Array In A C++ App](https://learncplusplus.org/how-to-copy-a-wide-string-to-wide-char-array-in-a-c-app/) - How can I use copy() method of std::wstring in a C++ app? How can I copy a wide string to a wide char array? Here are the answers with C++ examples. What is a WString? wstrings (Wide Strings) are the string class for characters that has 2 bytes that represented with wstring. In Modern C++, alphanumeric characters are - [How To Get A File Extension From A Windows Path In A C++ App](https://learncplusplus.org/how-to-get-a-file-extension-from-a-windows-path-in-a-c-app/) - How can I get file extension from a path string in a C++app on Windows PC? What is the GetExtension Method? What is the syntax of the GetExtension method? Is there an example of how to use the GetExtension Method? The C++ Builder IO libraries C++ Builder has a lot of specific methods in its - [How To Design Multiple Platform App Layouts In C++](https://learncplusplus.org/how-to-design-multiple-platform-app-layouts-in-c/) - What is multiple platform app development? How can I design my FMX application for the different operating systems? What should we do to design better performance apps? C++ Builder is a great IDE that allows you to design your application on different platforms in varied sizes. From back-end app and small-scale forms (TForm) to high - [The Top 5 UI Design Alignment Tips For Your C++ App](https://learncplusplus.org/the-top-5-ui-design-alignment-tips-for-your-c-app/) - What is align? I have a project; how can I design UI zones in my C++ app? How to design a C++ app compatible with multi-platform layouts? How can I design for landscape and portrait apps with one form design? Align is one of the great features of C++ Builder for application UI design. C++ - [3 Ways To Remove Characters From WString In A Modern C++ App](https://learncplusplus.org/3-ways-to-remove-characters-from-wstring-in-a-modern-c-app/) - How can I remove a character from a wide string in my C++ app? How can I use pop_back() method in wide strings? Can I use erase() and resize() methods in std::wstring to remove characters? Modern C++ uses Wide Strings and Unicode Strings to support worldwide languages. Wide Strings (std::wstring) uses wcha_tr as the character type which means they are 2-bytes chars and they - [What Is The rfind() Search Method in Modern C++ Software?](https://learncplusplus.org/what-is-the-rfind-search-method-in-modern-c-software/) - How can I find a string in a string in the reverse direction - in other words, by starting to search at the end of the string and working backwards to the start of it? What kind of methods can I use in my C++ software to find a string in a std::string? How can - [How To Use std::u16string In A Modern C++ App](https://learncplusplus.org/how-to-use-stdu16string-in-a-modern-c-app/) - What is u16string in modern C++? How can I use u16string in a C++ app? Is std::u16string same as std::string? Why I have an error when I define a std::u16string? Which literal should I use with the std::u16string? What is u16string? The u16string (std::u16string or std::pmr::u16string) are the string class data types for the 16bit - [This Is How To Use std::u32string In C++ Software](https://learncplusplus.org/this-is-how-to-use-stdu32string-in-c-software/) - What is u32string in modern C++? How can I use u32string in C++ software? Is std::u32string same as std::string? Why do I have an error when I define a std::u32string? Which literal should I use with the std::u32string? Let's answer these questions in this post. What is u32string? The u32string (std::u32string or std::pmr::u32string) are the - [Using Iterators of String in C++ Software](https://learncplusplus.org/using-iterators-of-string-in-c-software/) - How can I use Iterator methods of strings in my C++ software apps? What kind of iterator methods I can use with a std::string? How can I use begin(), end() iterator methods with strings? the at() method of strings? Can I use front() and back() methods in std::string to access characters? Modern C++ uses Strings, Wide Strings, and Unicode Strings to support worldwide languages. Strings (std::string) uses char as the - [This Is How To Extract A File Extension in A Windows C++ App](https://learncplusplus.org/this-is-how-to-extract-a-file-extension-in-a-windows-c-app/) - C++ Builder has specific Path Manipulation Routines that allows your C++ app to edit, extract, get and set drive name, directory name, file name, file extensions and so on. These methods are combined in Vcl.FileCtrl, System.IOUtils, System.SysUtils libraries. These path manipulation methods are easy to use and easy to get or set file path strings in that operating system. These can - [Extract A File Path For C++ App Development On Windows](https://learncplusplus.org/extract-a-file-path-for-c-app-development-on-windows/) - C++ Builder is the easiest and fastest C and C++ IDE for everything from simple right through to professional applications development on Windows, MacOS, iOS & Android operating systems. It is also easy for beginners to learn with its wide range of samples, tutorials, help files, and LSP support for code. RAD Studio’s C++ Builder version - [How To Convert A String to a Wide String In A Modern C++ App](https://learncplusplus.org/how-to-convert-a-string-to-a-wide-string-in-a-modern-c-app/) - How can I convert std::string to a std::wstring in a modern C++ app? How can I convert single byte string to 2-bytes wide string? Here are the answers with C++ examples. In Modern C++, there are several typedefs for common character types are provided: Wide string types are defined in header . strings are the string class - [How To Replace A String Into Another String In A C++ App](https://learncplusplus.org/how-to-replace-a-string-into-another-string-in-a-c-app/) - How can I use replace() method of std::string in a C++ app? How can I replace a string into another string? Can we replace a char array into a string? How can I replace a number of chars into a string? Is it possible to replace a string with a substring of another string? Here - [How To Make Wide String Comparisons In Modern C++ Software](https://learncplusplus.org/how-to-make-wide-string-comparisons-in-modern-c-software/) - How can I use compare() method of std::wstring in my C++ software? How can we compare wide strings? Here are the answers with C++ examples. What is a C++ Wide String? Wide string types are defined in header . wstrings (Wide Strings) is the string class for characters that has 2 bytes represented with wstring. In Modern C++ software alphanumeric characters - [How To Force A Class Destructor In C++ Software](https://learncplusplus.org/how-to-force-a-class-destructor-in-c-software/) - When you construct an object in C++ software, sometimes you need operations to deconstruct. Destructors not only used in classes but also used with struct and union data types. Do you want to learn what is Defaulted Destructor or what is Forcing a Destructor or what kind of methods we have that we can declare - [Learn About Deleted Implicit Destructors in A C++ App](https://learncplusplus.org/learn-about-deleted-implicit-destructors-in-a-c-app/) - Do you want to learn about deleted implicitly declared destructor in a C++ app? Do you know what kind of methods we have that we can declare and use to deleted implicitly-defined destructors? What is defaulted destructor? In this post, we will try to explain deleted implicitly declared destructors in Classes with given examples. What - [What Is An Implicitly Declared Destructor In A C++ App?](https://learncplusplus.org/what-is-an-implicitly-declared-destructor-in-a-c-app/) - Do you want to learn about the Implicitly Declared Destructor in a C++ app? Do you know what kind of methods we have that we can use declare an implicitly declared destructor? In this post, we will try to explain Implicitly Declared Destructor in Classes with given examples. What is the Constructor in a C++ - [Learn About Disabling The Implicit Destructor In A C++ App](https://learncplusplus.org/learn-about-disabling-the-implicit-destructor-in-a-c-app/) - Do you want to learn about Disabling the Implicit Destructor in the classes of your C++ app? Do you know what kind of methods we have that we can declare and use to disable the implicit destructor? In this post, we will try to explain how to disable the implicit destructor in Classes with given - [How To Convert An Integer To A String In A C++ App](https://learncplusplus.org/how-to-convert-an-integer-to-a-string-in-a-c-app/) - How can I make my C++ app convert an integer number to a string? How can I put an Int into the Text property of a component? What is the IntToStr method and what does it do? Can we use printf() method with int in modern C++? Let's answer these questions. What is the difference - [How To Make Your C++ Compiler Fly Much Faster](https://learncplusplus.org/how-to-make-your-c-compiler-fly-much-faster/) - Use TwineCompile to improve your C++Builder C++ compiler speed and increase your productivity at the same time. TwineCompile is available via the GetIt Package Manager for 10.4 and newer for developers who have an Update Subscription. TwineCompile lists its features as: Advanced compile system uses multi-threading technology and caching techniques to make C++ compiles 50x - [How To Use A Sharpen Effect in C+ Software On Windows?](https://learncplusplus.org/how-to-use-a-sharpen-effect-in-c-software-on-windows/) - What is the sharpen effect in C++ software and how do I use it? Which C++ IDE supports the ability to apply a sharpen effect easily? How can I use a sharpen effect from a framework library in my own C++ software? Is there an easy way to add sharpen effects to components? How can - [How To Use The All-Powerful swscanf function In Your C++ App](https://learncplusplus.org/how-to-use-the-all-powerful-swscanf-function-in-your-c-app/) - What is the swscanf function? How can I use swscanf in a C++ app? Where can I find format specifiers for the swccanf function? What is the syntax of swscanf? Where can I find full examples of using the swscanf function in a C++ app? What is the swscanf function? The swscanf function is an - [This Is How To Join Two Wide Strings In Modern C++ Software](https://learncplusplus.org/this-is-how-to-join-two-wide-strings-in-modern-c-software/) - How can I use the append() method of std::wstring? How can I append or join a wide string to another wide string? Can we append a char array to a wide string? How can I append number of chars to a wide string? Is it possible to add a substring of a string to another - [What Is The Erase WString Method In A Modern C++ App](https://learncplusplus.org/what-is-the-erase-wstring-method-in-a-modern-c-app/) - How can I use erase() method of std::wstring? How can I erase part of a wide string? Here are the answers with modern C++ app examples. Generally, as an introduction to C++, in addition to int, float, double, string there is another data type called wide string that we use for alphanumeric variables in Modern - [This Is How Trivial Copy Constructors Work In A C++ App](https://learncplusplus.org/this-is-how-trivial-copy-constructors-work-in-a-c-app/) - Do you want to learn how trivial copy constructors work in a C++ app? Do you need to know what trivial constructors are? Should we declare a trivial copy constructor in a Class in C++ or not? Let's start with refreshing our memories on constructors and copy constructor, What is a C++ constructor? The Constructor in - [This Is How To Use Bitwise Operators in C++ Software](https://learncplusplus.org/this-is-how-to-use-bitwise-operators-in-c-software/) - What are the bitwise operators and how can they be used in C++ software? Do you know what a bitwise operation is? What is bit shifting? How can we use the AND, OR, XOR, NOT bitwise operators? In this post we will answer these questions.. A short explanation of what a 'bit' is in computer - [Solve 5 Diagonal Matrices In C++ Software For Engineers](https://learncplusplus.org/solve-5-diagonal-matrices-in-c-software-for-engineers/) - C++ is a great programming language to calculate engineering problems, it is one of the best for complex operations which require you to get the maximum performance you can from the computer hardware. Delphi is also a truly capable compiled programming language that you can use in engineering problems. In this post we will explain - [This Is How String Capacity And Lengths Work In A C++ App](https://learncplusplus.org/this-is-how-string-capacity-and-lengths-work-in-a-c-app/) - How can I use the string capacity and length methods in a C++ app? What kind of methods I can use to get size of a std::string? How can I use the empty() method with strings? How to get length() of a std::string? How can I use size() property of a std::string? How can I - [How To Use Form Properties In C++ Cross Platform Apps](https://learncplusplus.org/how-to-use-form-properties-in-c-cross-platform-apps/) - C++ Builder is the easiest and fastest C and C++ IDE for building simple or professional cross platform apps on the Windows, MacOS, iOS & Android operating systems. It is also easy for beginners to learn with its wide range of samples, tutorials, help files and LSP support for code. C++ Builder comes with Rapid - [How To Make A Comparison Between Strings In A C++ App](https://learncplusplus.org/how-to-make-a-comparison-between-strings-in-a-c-app/) - How can I use the compare() method of std::string in a C++ app? How can we use C++ to compare strings? Here are the answers with C++ examples. In addition to int, float, double there is another data type called string that we use for alphanumeric variables. In C++ there are several typedefs for common - [How To Use Wide String Iterators In Modern C++ Software](https://learncplusplus.org/how-to-use-wide-string-iterators-in-modern-c-software/) - How can I access a character of a wstring? How can I use the at() method of wide strings in modern C++ software? Can I use front() and back() methods in std::wstring to access characters? Modern C++ uses Wide Strings and Unicode Strings to support worldwide languages. Wide Strings (std::wstring) uses wcha_tr as the character type which means they are 2-bytes chars and they are an instantiation of the basic_string class template. In - [The Modern Way To Read Formatted Wide Strings In A C++ App](https://learncplusplus.org/the-modern-way-to-read-formatted-wide-strings-in-a-c-app/) - How can we read a formatted wstring in a modern C++ app? How can I convert a wstring to a wstringstream? What is std::wstringstream? What are the methods that can be used to read a formatted string in general? Is there a simple example of how to read formatted wide string? Is there a full - [The Pros And Cons Of Lambda Expressions In A C++ App](https://learncplusplus.org/the-pros-and-cons-of-lambda-expressions-in-a-c-app/) - Lambda Expressions allow users to write an inline expression that can be used for short snippets of code which are not going to be reused and don't require naming in your C++ app. The Lambda Expression construct is introduced in C++ 11 and further developed in the C++17 and C++20 standards. Because of its syntax - [How To Use fscanf In Your Own C++ Software](https://learncplusplus.org/how-to-use-fscanf-in-your-own-c-software/) - What is the fscanf function? How can I use fscanf in C++ software? Is there an example to the fscanf function in C++? What is the syntax of fscanf? Where can I find format specifiers for the fscanf function? Let's answer these questions. A little history of the fscanf function fscanf function is an old C - [How To Extract The Drive Name From A Path In A C++ App](https://learncplusplus.org/how-to-extract-the-drive-name-from-a-path-in-a-c-app/) - C++ Builder is the easiest and fastest C and C++ IDE for building a C++ app on the Windows, MacOS, iOS & Android operating systems. It is also easy for beginners to learn with its wide range of samples, tutorials, help files, and LSP support for code. RAD Studio’s C++ Builder version comes with the award-winning - [What You Need To Know About Clear Methods In C++ Software](https://learncplusplus.org/what-you-need-to-know-about-clear-methods-in-c-software/) - How can I clear a string in a simple way? What kind of methods I can use in my C++ software to clear a std::string? How can I use clear() method with strings? Can I use resize() method to clear strings? How can I use erase() method to clear strings? Modern C++ uses Strings, Wide Strings, - [How To Use The rfind() Search Method in C++ Software](https://learncplusplus.org/how-to-use-the-rfind-search-method-in-c-software/) - How can I find a string in a string in reverse direction? What kind of methods I can use in C++ software to find a string in a std::string? How can I use rfind() method with strings? Modern C++ uses Wide Strings and Unicode Strings to support worldwide languages. Wide Strings (std::wstring) uses wcha_tr as the character type which means they are 2-bytes chars - [How To Use The Find() String Method In A Modern C++ App](https://learncplusplus.org/how-to-use-the-find-string-method-in-a-modern-c-app/) - How can I find a string inside another string? What kind of methods I can use in a C++ app to find a string in a std::string? How can I use find() methods with strings? Modern C++ uses Strings, Wide Strings, and Unicode Strings to support worldwide languages. Strings (std::string) uses char as the character type which means they are ASCII chars - [This Is How To Use Exception Handling In C++ Software](https://learncplusplus.org/this-is-how-to-use-exception-handling-in-c-software/) - Do you want to use exception handling to trap runtime errors in your C++ software? How can we use try and catch in C++? Is there a C++ example for the latest try and catch usage? What is difference between try and __try? Can we use __try in C++? C and C++ has great features - [What You Need To Know About Virtual Destructors In C++ Apps](https://learncplusplus.org/what-you-need-to-know-about-virtual-destructors-in-c-apps/) - Destructors are not only used in classes but also used with struct and union data types. When you construct an object, sometimes you need operations to deconstruct. Do you want to learn what is Virtual Destructor or what kind of methods we have that we can declare and use a virtual destructor? In this post, - [What You Need To Know About Form Methods in C++ Applications](https://learncplusplus.org/what-you-need-to-know-about-form-methods-in-c-applications/) - Do you want to know about the available form methods you can use in C++ applications? How can we use mouse events on Forms? How can we get key presses made by users on our Forms? Let's learn all about Methods of Forms on VCL Applications in C++ Builder. C++ Builder is the easiest and - [How To find_first_not_of() Or find_last_not_of() In C++ Apps](https://learncplusplus.org/how-to-find_first_not_of-or-find_last_not_of-in-c-apps/) - How can I find a first or last character that is not a character that i am searching in a string? What kind of methods I can use in my C++ apps to find the first character equal to NONE of the characters in the given string in a std::string? How can I use find_first_not_of(), - [How To Use find_first_of() And find_last_of() In C++ Apps](https://learncplusplus.org/how-to-use-find_first_of-and-find_last_of-in-c-apps/) - How can I search only a single character in a string in my C++ apps? What kind of methods I can use to find a character in a std::string? How can I use find_first_of(), find_last_of() methods with strings? Modern C++ uses Strings, Wide Strings, and Unicode Strings to support worldwide languages. Strings (std::string) uses char as the character type which means they - [How To Erase/Delete Part Of A String In C++ Software](https://learncplusplus.org/how-to-erase-delete-part-of-a-string-in-c-software/) - How can I use erase() method of std::string? How can I erase part of a string in my C++ software? Here are the answers with C++ examples. Generally, as an introduction to C++, in addition to int, float, double there is another data type called string that we use for alphanumeric variables. In C++ there - [What You Need To Append One String To Another In A C++ App](https://learncplusplus.org/what-you-need-to-append-one-string-to-another-in-a-c-app/) - How can I use the append() method of std::string? How can I append a string to another string in a C++ app? Can we append a char array to a string? How can I append a number of chars to a string? Is it possible to add a substring of a string to another string? - [How To Get A Substring Of A String In A C++ App](https://learncplusplus.org/how-to-get-a-substring-of-a-string-in-a-c-app/) - How can I use substr() method of std::wstring? How can I get a substring of a string in a C++ app? Here are the answers with C++ examples. Generally, as an introduction to C++, in addition to int, float, double there is another data type called string that we use for alphanumeric variables. In C++ - [This Is How To Swap One String With Another In A C++ App](https://learncplusplus.org/this-is-how-to-swap-one-string-with-another-in-a-c-app/) - How can I swap strings? Can I use swap() method to std::string in the same ways as I can in std::wstring in a C++ App? Generally, in Introduction to C++ lessons, examples are started with string examples and end with them, while Modern C++ uses Strings, Wide Strings and Unicode Strings to support worldwide languages. Strings (std::string) uses char as the character type which means they - [Introduction To Data Bindings In C++ Cross Platform Apps](https://learncplusplus.org/introduction-to-data-bindings-in-c-cross-platform-apps/) - What are LiveBindings? How can I create LiveBindings in C++ Builder FMX applications? How can I use LiveBindings in C++ Cross Platform Apps? What are the LiveBindings Visual Components? Is there a simple LiveBindigs example for C++ Builder FMX applications? Let's answer these questions. What are C++ data bindings? C++ Builder comes with the LiveBindings feature - [This Is How To Use Time And Its Properties In C++ Software](https://learncplusplus.org/this-is-how-to-use-time-and-its-properties-in-c-software/) - How can we use Time when writing C++ software? How can we obtain local time or UTC time in our C++ apps? How can we get each property of a time such hours, mins, seconds? In programming we have two important parameters that we use, which are Date and Time properties. The date and time - [The Step-by-Step Guide To Lambda Expressions In A C++ App](https://learncplusplus.org/the-step-by-step-guide-to-lambda-expressions-in-a-c-app/) - Lambda Expressions allow users to write an inline expression that can be used for short snippets of code in your C++ app which are not going to be reused and don't require naming. The Lambda Expression construct is introduced in C++ 11 and further developed in the C++17 and C++20 standards. Because of its syntax - [The Step-by-Step Guide To Lambda Expressions In A C++ App](https://learncplusplus.org/the-step-by-step-guide-to-lambda-expressions-in-a-c-app/) - Lambda Expressions allow users to write an inline expression that can be used for short snippets of code in your C++ app which are not going to be reused and don't require naming. The Lambda Expression construct is introduced in C++ 11 and further developed in the C++17 and C++20 standards. Because of its syntax - [How To Use static_cast In C++ Software](https://learncplusplus.org/how-to-use-static_cast-in-c-software/) - What is a cast operator? What types of casting can be used in C++? What is a static_cast in C++? How can I use static_cast in C++ Software? In C++, a cast operator is an Unary Operator which forces one data type to be converted into another data type.In general, C++ supports four types of casting: Static - [How To Use static_cast In C++ Software](https://learncplusplus.org/how-to-use-static_cast-in-c-software/) - What is a cast operator? What types of casting can be used in C++? What is a static_cast in C++? How can I use static_cast in C++ Software? In C++, a cast operator is an Unary Operator which forces one data type to be converted into another data type.In general, C++ supports four types of casting: Static - [How To Convert A Float To A String In A C++ App](https://learncplusplus.org/how-to-convert-a-float-to-a-string-in-a-c-app/) - How can I convert a floating number to a string in my C++ app? How can I put a float into a Text of a component? What is FloatToStr method? What is FloatToStrF method? Can I use FloatToStr method with double and long double too? Can we use printf() method with float in modern C++? - [Dev-C++ Tutorial: Easily Learn To Count Prime Numbers On Windows](https://learncplusplus.org/dev-c-tutorial-easily-learn-to-count-prime-numbers-on-windows/) - Embarcadero Dev-C++ Embarcadero Dev-C++ is free, and is a fast, portable and simple C/C++ IDE for Windows. The free version is great for beginners. If you want to develop professionally it is highly recommended you start with C++ Builder CE version. Dev-C++ can be downloaded from Dev cpp or from Github. The original author of - [Dev-C++: Learn About Constants And Literals In The C++ Programming Language](https://learncplusplus.org/dev-c-learn-about-constants-and-literals-in-the-c-programming-language/) - Constants In C++ we learnt that a variable is a container (storage area in memory location) to hold data (integer numbers, floating numbers, strings etc.), Also we explain that the placement of variable definitions as given above is very important. Generally they should be declared before all, at least before the usage. You can declare - [Tutorial: Dev-C++ OpenMP Parallel Programming](https://learncplusplus.org/tutorial-dev-c-openmp-parallel-programming/) - In this video tutorial you will learn how to use OpenMP Parallel Programming library which helps you to make high performance applications. The latest fork of Dev-C++ is called Embarcadero Dev-C++. Dev cpp can be downloaded from Embarcadero's site, Sourceforge, and Github. OpenMP is a set of compiler's directives, library procedures and environment variables which - [Dev-C++ Tutorial: Learn To Develop Very Simple Guessing Game](https://learncplusplus.org/dev-c-tutorial-learn-to-develop-very-simple-guessing-game/) - Embarcadero Dev-C++ is free, and is a fast, portable and simple C/C++ IDE for Windows. The free version is great for beginners. If you want to develop professionally it is highly recommended you start with C++ Builder CE version. Dev-C++ can be downloaded from Embarcadero's site, Sourceforge, or Github. The original developer is Bloodshed Software. - [How To Set Up Dev-C++ For Your First Project](https://learncplusplus.org/how-to-set-up-dev-c-for-your-first-project/) - Dev-C++ is a free, open-source Integrated Development Environment updated by Embarcadero with a modernized fork in 2020. It is used to develop Windows applications, and only runs on Windows. It is a low-memory-footprint and high performance development environment built in Delphi. Setting up Dev-C++ is easy, and in this article we will walk through the - [What Is An Eligible Copy Constructor In C++ Software?](https://learncplusplus.org/what-is-an-eligible-copy-constructor-in-c-software/) - Do you want to learn what is Eligible Copy Constructor or what kind of methods are available to declare and use an Eligible Copy Constructor? In this post, we will try to explain the Eligible Copy Constructor with examples. First, let's remind ourselves of the Constructor and Copy Constructor meaning in C+++ software. What is - [How To Read And Write Text Files In A Modern C++ App](https://learncplusplus.org/how-to-read-and-write-text-files-in-a-modern-c-app/) - How can I read a text file in a C++ app? How can I write to a text file in C++? How can I append to a text file in C++? How can I use open() method for the ifstream? How can I use open() method for the ofstream? How can I use open() method - [Learn About Pure Virtual Destructors In C++ App Classes](https://learncplusplus.org/learn-about-pure-virtual-destructors-in-c-app-classes/) - If you construct an object, sometimes you need operations to deconstruct. Destructors not only used in classes but also used with struct and union data types. Do you want to learn what a Pure Virtual Destructor is in a C++ App, or what kind of methods we have that we can declare and use a - [Learn To Use Directory Operations In Your C++ App](https://learncplusplus.org/learn-to-use-directory-operations-in-your-c-app/) - Do you want to use DOS commands to operate on directories or folders? Do you know that you can use system commands in C++ to operate on folders? How can we get our C++ App to list files of a folder, how we can copy, rename, delete, or move directories? Can we set the access - [The Top Free C++ Compilers to Download Right Now](https://learncplusplus.org/the-top-free-c-compilers-to-download-right-now/) - C++ Programming language is one of the most reachable software that can be downloaded easily that means users can develop their small applications for different platforms free. If you are looking for the best free C and C++ compiler available today, this article lists the Top Free C/C++ Compilers with their features. It's very hard to identify - [The Top Free C++ Compilers to Download Right Now](https://learncplusplus.org/the-top-free-c-compilers-to-download-right-now/) - C++ Programming language is one of the most reachable software that can be downloaded easily that means users can develop their small applications for different platforms free. If you are looking for the best free C and C++ compiler available today, this article lists the Top Free C/C++ Compilers with their features. It's very hard to identify - [Learn To Use Windows DOS Commands In A C++ App](https://learncplusplus.org/learn-to-use-windows-dos-commands-in-a-c-app/) - Do you know why we use Command Prompt or Power Shell? Can we use Windows DOS Commands in a C++ app and in other operating systems? In this post, we will explain how you can run Windows DOS commands in C++. Apple DOS was the first family of Disk Operating Systems (DOS) for the first - [This Is How To Use Shape Components In A Windows C++ App](https://learncplusplus.org/this-is-how-to-use-shape-components-in-a-windows-c-app/) - C++ Builder is a great IDE which comes with the FireMonkey UI framework. While Firemonkey is a powerful multi-platform UI framework which lets you create apps which work on desktop as well as mobile phones and tablets you can also use it to add many shape types to your C++ app on Windows. TShape is the - [This Is How To Use Shape Components In A Windows C++ App](https://learncplusplus.org/this-is-how-to-use-shape-components-in-a-windows-c-app/) - C++ Builder is a great IDE which comes with the FireMonkey UI framework. While Firemonkey is a powerful multi-platform UI framework which lets you create apps which work on desktop as well as mobile phones and tablets you can also use it to add many shape types to your C++ app on Windows. TShape is the - [This Is How To Use Shape Components In A Windows C++ App](https://learncplusplus.org/this-is-how-to-use-shape-components-in-a-windows-c-app/) - C++ Builder is a great IDE which comes with the FireMonkey UI framework. While Firemonkey is a powerful multi-platform UI framework which lets you create apps which work on desktop as well as mobile phones and tablets you can also use it to add many shape types to your C++ app on Windows. TShape is the - [Learn How To Write A C++ App To Solve A 7 Diagonal Matrix](https://learncplusplus.org/learn-how-to-write-a-c-app-to-solve-a-7-diagonal-matrix/) - C++ is a great programming language to calculate engineering problems, it is one of the best for those operations. Delphi is also a super-fast compiled programming language that you can use in engineering problems. In this post we will explain how to write a C++ app to solve millions of unknowns in equations by using - [This Is How To Convert A String To A Char Array In C++ Software](https://learncplusplus.org/this-is-how-to-convert-a-string-to-a-char-array-in-c-software/) - How can we convert one string to char array in Modern C++? Here are the answers with C++ software examples. Generally, as an introduction to C++, in addition to int, float, double there is another data type, string that we use for alphanumeric variables. In C++ there are several typedefs for common character types are - [What Is The Modern Way To Read Formatted Strings In A C++ App?](https://learncplusplus.org/what-is-the-modern-way-to-read-formatted-strings-in-a-c-app/) - How can we read a formatted string in a C++ app? How can I convert a string to a stringstream ? What is string? What is std::stringstream? What are the methods that can be used to read the formatted strings? Is there a simple example on how to read a formatted string ? Is there - [What You Need To Learn About Using Bits In C++ Software](https://learncplusplus.org/what-you-need-to-learn-about-using-bits-in-c-software/) - How can we print numbers in binary form? How can we set a bit in an integer? How we can set, clear, or toggle bits (binary digits) of a number? How can we change the nth bit of a number? In this post, we will answer these questions and use them in our own C++ - [What Is The Sigmoid Linear Unit (SiLU) In A Neural Network C++ App](https://learncplusplus.org/what-is-the-sigmoid-linear-unit-silu-in-a-neural-network-c-app/) - What is Sigmoid Linear Unit in a neural network created with a C++ app? How can we use the SiLU function in an artificial neural network (ANN)? Where can we use SiLU in AI technologies? Let's remind ourselves of the activation function and explain these terms. What is an activation function and how can we - [What Is The Sigmoid Linear Unit (SiLU) In A Neural Network C++ App](https://learncplusplus.org/what-is-the-sigmoid-linear-unit-silu-in-a-neural-network-c-app/) - What is Sigmoid Linear Unit in a neural network created with a C++ app? How can we use the SiLU function in an artificial neural network (ANN)? Where can we use SiLU in AI technologies? Let's remind ourselves of the activation function and explain these terms. What is an activation function and how can we - [Learn To Display Numbers With Formatting In C++ Software](https://learncplusplus.org/learn-to-display-numbers-with-formatting-in-c-software/) - When we use floating numbers, we sometimes need our C++ software to display them in a consistent way so we can compare numbers next to one another or with the preceding or successive numbers in an order. We can arrange formatting display of numbers both integer and precision side. How can we format the display - [This Is How To Simulate Ball Physics 3D in A C++ App](https://learncplusplus.org/this-is-how-to-simulate-ball-physics-3d-in-a-c-app/) - Do you want to learn how to make your C++ app simulate physics of objects in 3D without using any 3D engine? In this post we will explain how we can simulate ball physics 2D in a simple way. Let's assume that we look from a X-Y view, and Y is the height that means - [How To Get The Attributes Of A Given File For Windows App Development](https://learncplusplus.org/how-to-get-the-attributes-of-a-given-file-for-windows-app-development/) - C++ Builder is the easiest and fastest C and C++ IDE for building simple or professional applications for Windows App Development, MacOS, iOS & Android operating systems. It is also easy for beginners to learn with its wide range of samples, tutorials, help files, and LSP support for code. RAD Studio’s C++ Builder version comes with - [This Is How To Print A Pointer String In A C++ App](https://learncplusplus.org/this-is-how-to-print-a-pointer-string-in-a-c-app/) - Strings are objects that represent sequences of alphanumeric characters. The standard string class provides support for such objects with an interface similar to that of an array of bytes. Strings specifically designed to operate with strings of single-byte characters. In C programming language ASCII codes are used as in char arrays to store texts in ASCII mode. - [What You Need To Use Complex Numbers in C++ Software](https://learncplusplus.org/what-you-need-to-use-complex-numbers-in-c-software/) - What is Complex Number ? What does real and imaginary number means in complex numbers? Do you want to use Complex numbers in your C++ software? How we can operate with complex numbers. In mathematics, a Complex Number is a number that is composed with real numbers and imaginary with 'i' symbol, in the form a + bi. Here a is - [Learn to Use Date and Its Properties in Your C++ App](https://learncplusplus.org/learn-to-use-date-and-its-properties-in-your-c-app/) - How can we use Date in a C++ App? In programming we have two important parameters that we frequently use - the Date and Time properties. The Date and Time property is obtained from a timer or time module which is a physical device on the hardware you are using. For example, a real-time clock - [Learn To Use Time And Its Properties In Your C++ App](https://learncplusplus.org/learn-to-use-time-and-its-properties-in-your-c-app/) - How can we use Time in our C++ App? How can we obtain local time or UTC time? How can we get each individual property of the clock (hours, mins, seconds)? When we write programs, it's very common to come across two important parameters, which are Date and Time properties. The Date and Time property - [What Are The Top 5 C++ Compilers Of 2021?](https://learncplusplus.org/what-are-the-top-5-c-compilers-of-2021/) - In 2021, If we combine C, C++, C++ Builder, Visual C++, Objective-C, Swift, GNU C/C++, and other C and C++ programming languages, C/C++ was the most used programming language according to most of the statistical web sites. In addition to these number there are more C++ developers which are not counted, it is hard to - [What Is The Implicit Destructor Created By The C++ Compiler?](https://learncplusplus.org/what-is-the-implicit-destructor-created-by-the-c-compiler/) - The C++ compiler creates an implicitly defined destructor. Do you want to learn about the implicitly defined destructor or what kind of methods we have that we can declare and use with the implicitly defined destructor? In this post, we will try to explain Implicitly Defined Destructor in Classes with given examples. What is a - [What Is The Typical Declaration Of A Destructor In A C++ App?](https://learncplusplus.org/what-is-the-typical-declaration-of-a-destructor-in-a-c-app/) - When you construct an object in your C++ app, sometimes you need operations to deconstruct. Destructors not only used in classes but also used with struct and union data types. Do you want to learn what is destructor or what kind of methods we have that we can declare and use destructors? In this post, - [This Is How To Use The VCL StringGrid Component In A C++ App](https://learncplusplus.org/this-is-how-to-use-the-vcl-stringgrid-component-in-a-c-app/) - C++ Builder has a lot of great components you can use to create a C++ app and StringGrid (TStringGrid) is one of these. A StringGrid represents a grid control designed to simplify the handling of strings. We can easily add a TStringGrid object to a form to represent textual data in a tabular format. StringGrid provides many - [What Is A Gaussian Activation Function In A Neural Network?](https://learncplusplus.org/what-is-a-gaussian-activation-function-in-a-neural-network/) - What is Gaussian Activation Function in Neural Networks? How can we use the Gaussian Function in ANN? Where can we use Gaussian Function in AI technologies? How can I use these functions in my C++ app? Let's recap the activation function and explain these terms. What is an activation function in an artificial neural network - [What Is A Gaussian Activation Function In A Neural Network?](https://learncplusplus.org/what-is-a-gaussian-activation-function-in-a-neural-network/) - What is Gaussian Activation Function in Neural Networks? How can we use the Gaussian Function in ANN? Where can we use Gaussian Function in AI technologies? How can I use these functions in my C++ app? Let's recap the activation function and explain these terms. What is an activation function in an artificial neural network - [What You Need To Know About Sigmoid Functions In Neural Nets](https://learncplusplus.org/what-you-need-to-know-about-sigmoid-functions-in-neural-nets/) - Which activation function are the most popular? What is Logistic Function? What is difference between Logic Function and Sigmoid Function? How can I use these functions in my C++ app? Briefly, a Sigmoid Function is one of the most popular activation functions that are used in AI Technologies. A Sigmoid Function is a simple type - [What You Need To Know About Sigmoid Functions In Neural Nets](https://learncplusplus.org/what-you-need-to-know-about-sigmoid-functions-in-neural-nets/) - Which activation function are the most popular? What is Logistic Function? What is difference between Logic Function and Sigmoid Function? How can I use these functions in my C++ app? Briefly, a Sigmoid Function is one of the most popular activation functions that are used in AI Technologies. A Sigmoid Function is a simple type - [How To Make Your C++ Compiler Easily Compile Code Samples](https://learncplusplus.org/how-to-make-your-c-compiler-easily-compile-code-samples/) - It is easier to keep code in your Markdown docs automatically up-to-date this year. In this video, you will learn how to make your C++ compiler compile codes more easily using some great tips by Clare Macrae in her excellent CPPCon session. Why not download a free trial of Enbarcadero's C++ Builder and follow along - [This Is How An SELU Activation Function Works In A C++ App](https://learncplusplus.org/this-is-how-an-selu-activation-function-works-in-a-c-app/) - What is an SELU Activation function? How can we use Scaled Exponential Linear Unit in an artificial neural network (ANN )? How can I use SELU activation functions in my own C+ app? Convolutional Neural Networks (CNNs) created a revolution in visual analysis and recurrent neural networks (RNNs) were similarly revolutionary in Natural Language Processing. - [How To Get A File Name Without Extension In C++ Software](https://learncplusplus.org/how-to-get-a-file-name-without-extension-in-c-software/) - How can I get a file name without an extension from a path string in C++ Builder? Can I learn what is GetFileNameWithoutExtension Method is? What is the Syntax of the GetFileNameWithoutExtension Method? Is there an Example to GetFileNameWithoutExtension Method? If I am writing C++ software for Windows, how can I remove the filename's extension? C++ Builder has - [How To Make Images Have A Pixelate Effect In Your C+ App](https://learncplusplus.org/how-to-make-images-have-a-pixelate-effect-in-your-c-app/) - What do we mean by a Pixelate effect in C++? Which C++ IDE supports easily creating Pixelate effects? How can I use a Pixelate effect for images in my C++ app? Is there an easy way to add Pixelate Effects to components? How can I add pixelate effect to alpha images on my applications? How - [How To Make Properties For A New FMX Component In The C++ IDE](https://learncplusplus.org/how-to-make-properties-for-a-new-fmx-component-in-the-c-ide/) - How can I add custom properties to my new component in an FMX application? What is the syntax for the Component property? How can I add a visual property to my own custom FireMonkey component that can be read or written by the Object Inspector? How can I create a property that can be edited - [This Is How to Use dynamic_cast in C++](https://learncplusplus.org/this-is-how-to-use-dynamic_cast-in-c/) - What is casting in C++? What is a cast operator? What types of casting can be used in C++? What is dynamic_cast in C++? How can I use dynamic_cast in C++? C++ is a fast and powerful programming language and excels at all sorts of different operations, such as manipulating data, operations with pointers, operations - [How To Add A Reflection Effect In A C++ App?](https://learncplusplus.org/how-to-add-a-reflection-effect-in-a-c-app/) - Is there an easy way to add reflection effect to components? Which C++ compiler framework supports to use Reflection Effect easily? How can I add reflection to alpha images on my applications? What is Reflection Effect in C++ IDE? How can I use TReflectionEffect in C++ Builder? What are the visual tips to add reflection - [Everything You Need To Know To Create Menus In C++ Builder](https://learncplusplus.org/everything-you-need-to-know-to-create-menus-in-c-builder/) - How can I create visual menus in C++? Which C++ IDE supports to create Menus easily? How can I use Main Menu easily with a C++ compiler code? What is TMainMenu? What is TMenuItem? What kind of menus I can create in C++? What is a "Menu" in an application? Menus are one of the - [The Top 5 C++ IDE's And Compilers Available Right Now](https://learncplusplus.org/the-top-5-c-ides-and-compilers-available-right-now/) - An IDE (Integrated Development Environment) is a software application that provides a complete set of features for application development. Code is generally written in text format, and you can easily edit or modify your code using text editors like Notepad, Word, Wordpad, and UltraEdit. For a developer, beginner or professional, however, a C++ IDE is - [What Is The Best C++ IDE For Windows User Interface Design?](https://learncplusplus.org/what-is-the-best-c-ide-for-windows-user-interface-design/) - The C++ Programming language is one of the most broadly used software programming languages. It can be downloaded from a wide range of locations for almost every possible operating system. This means users can easily develop applications for all sorts of different platforms. It's very hard to identify which C++ IDE is the best for - [5 Top C++ Features That Show It's Not As Tricky As You Think](https://learncplusplus.org/5-top-c-features-that-show-its-not-as-tricky-as-you-think/) - 1. C++ is an Object Oriented Programming Language Applications have become much more complex nowadays. They have a wide variety of data storage types, variables and a plethora of user interface paradigms for us to follow. We also have many types of variables (integers, floating points, strings, Booleans) in tables with enormous sizes of databases. - [5 Top C++ Features That Show It's Not As Tricky As You Think](https://learncplusplus.org/5-top-c-features-that-show-its-not-as-tricky-as-you-think/) - 1. C++ is an Object Oriented Programming Language Applications have become much more complex nowadays. They have a wide variety of data storage types, variables and a plethora of user interface paradigms for us to follow. We also have many types of variables (integers, floating points, strings, Booleans) in tables with enormous sizes of databases. - [5 Simple Ways To Optimize C++ Arithmetic Operations](https://learncplusplus.org/5-simple-ways-to-optimize-c-arithmetic-operations/) - Optimization is one of the important parts of programming, but we should note that it is not as important in C++ in most cases for modern CPUs and GPUs today. Do not spend too much time optimizing if it is not needed. In this post, we will explain where you should optimize and 5 ways - [How To Check If A Directory On Windows Is Empty In C++?](https://learncplusplus.org/how-to-check-if-a-directory-on-windows-is-empty-in-c/) - C++ has a lot of great libraries to operate on every case, on every item. We can create or delete directories by using System Commands that we explained before in this post or we can use C++ standard library methods. In C++ Builder, we can use both of them and we can also use Disk And Directory Support - [How to Use GetHomePath Method in C++ Builder](https://learncplusplus.org/how-to-use-gethomepath-method-in-c-builder/) - C++ Builder has a lot of specific methods in its SysUtils library which are included in the vcl and fmx libraries. Some of these are grouped in Path Manipulation Routines that allows user to edit, extract, get and set drive name, directory name, file name, and file extensions. These methods are combined in Vcl.FileCtrl, System.IOUtils, System.SysUtils libraries. These - [Learn to Use Strings (string) in C++ - All You Need To Know](https://learncplusplus.org/learn-to-use-strings-string-in-c-all-you-need-to-know/) - In computer programming alphanumeric characters (texts) are displayed with string types. Strings are objects with an array of bytes that represent sequences of characters. As an introduction to C++, in addition to int, float, double there is another data type we should know. In C++ there are several typedefs for common character types are provided: - [How To Understand File And Folder Paths In Programming](https://learncplusplus.org/how-to-understand-file-and-folder-paths-in-programming/) - In this post, you’ll get answers to these questions: What is the difference between the Dir, Directory and the Folder terms? What is a Drive? What is a Directory? What is a Path? What does Full Path mean? What does Absolute Path mean? What is the Current Path? What is a Short Path? What does - [How To Get Windows Environment Variables In C++ Builder](https://learncplusplus.org/how-to-get-windows-environment-variables-in-c-builder/) - C++ Builder has a lot of specific methods in its SysUtils library that are included in the VCL and FMX libraries. Some of these are grouped as Path Manipulation Routines which allow users to edit, extract, get and set drive name, directory name, file name, file extensions. These methods are combined in Vcl.FileCtrl, System.IOUtils, System.SysUtils libraries. These all - [Everything You Need To Know About C++ Data Bindings](https://learncplusplus.org/everything-you-need-to-know-about-c-data-bindings/) - In this post, you’ll get answers to these questions: What are LiveBindings? How can I create LiveBindings in C++ Builder applications? How can I use LiveBindings in applications? What are the Livebindings Visual Components? Are there any official LiveBindings samples? Can I have more information about LiveBindings API Reference? How Can I Synchronize Data through - [How to Create a New Windows VCL Component In C++](https://learncplusplus.org/how-to-create-a-new-windows-vcl-component-in-c/) - One of the most powerful features of the C++ Builder is its own Components that can be used with or without visuals. Components make programming easy; you can do many operations easily without knowing techniques like low coding or some specific functionality - you just let the component do the hard work for you. Every - [How To Make A Vector-Based Simple Artificial Neuron Model](https://learncplusplus.org/how-to-make-a-vector-based-simple-artificial-neuron-model/) - In this post, you’ll get answers to these questions: How can I use Vectors in an ANN model? Can I use vectors in a Simple Artificial Neuron example? Do you have an Artificial Intelligence example in Modern C++? How to apply vectors to an ANN model? Can we use vectors as arrays in our AI - [How To Use The Microsoft Edge Web Browser In A C++ App](https://learncplusplus.org/how-to-use-the-microsoft-edge-web-browser-in-a-c-app/) - In this post, you’ll get answers to these questions: How can I easily create an FMX application which contains a web view based on the Microsoft Edge browser? How can I add a web browsing capability to my application? How can I use EdgeBrowser in FireMonkey applications? Can I use the latest WebView 2 to - [How To Add C++ Vector Members on Windows](https://learncplusplus.org/how-to-add-c-vector-members-on-windows/) - In this post, you’ll get answers to these questions: What are the Vectors in C++? How can I add a new member to std::vector? How can I delete a vector member in C++? How can we use the push_back()method in vectors? How can we use the pop_back() method in vectors? How can we use the - [How to Delete, Clear, Erase A C++ Vector Member On Windows](https://learncplusplus.org/how-to-delete-clear-erase-a-c-vector-member-on-windows/) - In this post, you’ll get answers to these questions: What are the Vectors in C++? How can I delete a vector member in C++? How can we use the pop_back() method in vectors? How can we use the clear() method in vectors? How can we use erase() method in vectors? By learning how to delete, - [How To Delete A Directory In C++ Builder On Windows](https://learncplusplus.org/how-to-delete-a-directory-in-c-builder-on-windows/) - C++ has a lot of great libraries to operate on every case, on every item. We can create or delete directories by using System Commands that we explained before in this post, or we can use C++ standard library methods. In C++ Builder, we can use both of them and we can also use Disk And Directory Support - [How To Delete A File On Windows In C++ Builder](https://learncplusplus.org/how-to-delete-a-file-on-windows-in-c-builder/) - C++ has a lot of great libraries to operate on every case, on every item. We can create or delete directories by using System Commands that we explained before in this post or we can use C++ standard library methods. In C++ Builder, we can use both of them and we can also use Disk And Directory Support - [How To Get A Directory Name From A Path String](https://learncplusplus.org/how-to-get-a-directory-name-from-a-path-string/) - C++ Builder has a lot of specific methods in its SysUtils library that are included in the vcl and fmx libraries. Some of these are grouped as Path Manipulation Routines that allows user to edit, extract, get and set drive name, directory name, file name, file extensions. .. etc, and these methods are combined in Vcl.FileCtrl, System.IOUtils, - [How To Use The MS Edge Browser In A Native Windows C++ App](https://learncplusplus.org/how-to-use-the-ms-edge-browser-in-a-native-windows-c-app/) - In C++ Builder, you can easily develop your web browser or you can add web browsing ability to your applications. This means users can safely surf your link by using Web Browser components. Developing a full Web Browser may take a lot of time, instead of this, there are many components and libraries that we can use - [5 Things You Need To Know About Optimization In C++ Builder](https://learncplusplus.org/5-things-you-need-to-know-about-optimization-in-c-builder/) - In this post, you’ll get answers to these questions: How can I increase arithmetic speed in C++ Builder? How can I optimize my C++ Builder application? Can I use -O0, -O1, -O2, or -O3 optimization options in Embarcadero's C++ compiler, the same as in GNU C/C++ and other C++ compilers? Where can I find more - [How To Use C++ front() And back() Methods Of Vectors](https://learncplusplus.org/how-to-use-c-front-and-back-methods-of-vectors/) - In this post, you’ll get answers to these questions: What are the Vectors in C++? How can I use the front() iterator method on vectors? How can I use the back() iterator method on vectors? Can I get the last member of a vector by using the back() method? How can I access the first - [How to Create a New Windows FMX Static Library In C++](https://learncplusplus.org/how-to-create-a-new-windows-fmx-static-library-in-c/) - In this post, you’ll get answers to these questions: What is Static Library? What is DLL? How do I create a new DLL Dynamic Library? Can I create a new DLL using FMX framework? How can I create a function in a Dynamic Library? Where can I find a simple DLL example for C++ Builder - [Get To Know The Powerful C++ Data Bindings In Windows Apps](https://learncplusplus.org/get-to-know-the-powerful-c-data-bindings-in-windows-apps/) - We have posts that explain how you can connect to different databases like MySQL, Interbase, PostgreSQL, MSSQL with different components like FireDAC, MyDAC, etc. If you need more help about this topic, please check here https://learncplusplus.org/category/database/ about these database posts. In this post, you’ll get answers to these questions: Can I use visual bindings with - [How Do I Easily Connect To A MySQL Database In C++?](https://learncplusplus.org/how-do-i-easily-connect-to-a-mysql-database-in-c/) - We have posts that explain how you can connect to different databases like MySQL, Interbase, PostgreSQL, MSSQL with different components like FireDAC, MyDAC, etc. If you need more help about this topic Please check here https://learncplusplus.org/category/database/ about these database posts. In this post, you’ll get answers to these questions: How can I use visual bindings - [How to Create a New Windows VCL DLL In C++](https://learncplusplus.org/how-to-create-a-new-windows-vcl-dll-in-c/) - In this post, you’ll get answers to these questions: What is a Static Library? What is a DLL? How can I create a new DLL Dynamic Library? Can I create a new DLL using the VCL framework? How can I create and call a function in a Dynamic Library? Where can I find a simple - [How To Create App Splash Screens For Android And iOS In C++](https://learncplusplus.org/how-to-create-app-splash-screens-for-android-and-ios-in-c/) - A Splash Screen is a graphical control element consisting of a window containing an image or a logo and sometimes includes the details about the current version number of the software and components used. A Splash Image can appear on a Splash Screen while a game or program is launching. In Multi-Device C++ Software applications, Splash Screens are the - [How To Create And Add Icon Images To Windows Apps](https://learncplusplus.org/how-to-create-and-add-icon-images-to-windows-apps/) - An icon in the digital world is a pictogram or ideogram displayed on a computer screen in order to help the user navigate a computer system. The icon itself is a quickly comprehensible symbol of a software tool, function, or a data file, accessible on the system, and is more like a traffic sign than a detailed illustration of the actual entity it represents. In C++ Builder, every application build (debug - [Learn To Use Powerful Modern Linked Lists In C++](https://learncplusplus.org/learn-to-use-powerful-modern-linked-lists-in-c/) - In this post, you’ll get answers to these questions: Can I use linked lists with unique_ptr in a modern way? How can I use linked list with the class, struct combinations? How can I use smart pointers with linked lists? By learning how to use Powerful Modern Linked Lists in c++, it will help you - [How To Define Vectors In Modern C++ On Windows](https://learncplusplus.org/how-to-define-vectors-in-modern-c-on-windows/) - In this post, you’ll get answers to these questions: What are the Vectors in C++? How can we use std::vector? How can I define vectors for different data types? Can I define structs or other datatypes in std::vector? By learning how to define vectors in modern C++ on Windows, it will help you to build - [How To Use Begin() And End() Iterator Methods Of Vectors](https://learncplusplus.org/how-to-use-begin-and-end-iterator-methods-of-vectors/) - In this post, you’ll get answers to these questions: What are the Vectors in C++? How can I use begin() iterator method? How can I use end() iterator method? Can I get the last member of a vector by using end() method? How can I access to the first element and the last place holder - [How To Use Begin() And End() Iterator Methods Of Vectors](https://learncplusplus.org/how-to-use-begin-and-end-iterator-methods-of-vectors/) - In this post, you’ll get answers to these questions: What are the Vectors in C++? How can I use begin() iterator method? How can I use end() iterator method? Can I get the last member of a vector by using end() method? How can I access to the first element and the last place holder - [How To Make A New Windows FMX Component In C++](https://learncplusplus.org/how-to-make-a-new-windows-fmx-component-in-c/) - One of the most powerful features of the C++ Builder is its own components that can be used with or without a visual representation. Components make programming easy, you can do many operations easily without knowing low-level coding. Every component that you drag into your forms is an object of that component class. For example - [How To Use Smart Pointers For Dynamic C++ Memory Management](https://learncplusplus.org/how-to-use-smart-pointers-for-dynamic-c-memory-management/) - In computers, all data and operations during runtime are stored in the memory of our computers, IoTs, or in other microdevices. This memory is generally a RAM (Random Access Memory) that allows data items to be read or written in almost the same amount of time, irrespective of the physical location of data inside the - [This Is How To Open C++ Builder .bpr Projects With The Latest RAD Studio](https://learncplusplus.org/this-is-how-to-open-c-builder-bpr-projects-with-the-latest-rad-studio/) - In the last 40 years there have been many changes in hardware and software. Improvements and changes are almost constant with very short iteration times and this can affect a lot of things in your applications. C++ Builder is generally friendly with old project files XE versions, RADS 10.x.x versions, and RADS 11. We can - [How to Create a New Windows FMX DLL In C++](https://learncplusplus.org/how-to-create-a-new-windows-fmx-dll-in-c/) - In this post, you’ll get answers to these questions: What is Static Library? What is DLL? How do I create a new DLL Dynamic Library? Can I create a new DLL using FMX framework? How can I create a function in a Dynamic Library? Where can I find a simple DLL example as a C++ - [How to Create a New 64bits VCL Component in C++ or Delphi](https://learncplusplus.org/how-to-create-a-new-64bits-vcl-component-in-c-or-delphi/) - How can I create a new 64bits VCL Component? How can I use the New Component menu? How can I use and fill the New Component Wizard for the 64bits VCL applications? What is a Component in C++? What is an Object in C++? Let's answer these questions. Note that this article uses C++ Software - [What Is An Identity Activation Function in Neural Networks?](https://learncplusplus.org/what-is-an-identity-activation-function-in-neural-networks/) - In this post, you’ll get answers to these questions: Do you want to learn what is the simplest activation function in neural networks? What is an Identity Function? What do we need to know about Activation Functions and Transfer Functions as AI terms? Is an Activation Function the same as a Net Input Function? Is - [How To Set Runtime Process Priority On Windows In A C++ App](https://learncplusplus.org/how-to-set-runtime-process-priority-on-windows-in-a-c-app/) - The C++ Builder VCL library has a lot of Windows-specific libraries for controlling the runtime behavior of our applications. We can easily change the process priority of the current task in thread/core. In this post, you’ll get answers to these questions: How I set runtime process priority on my Windows C++ application? Can I change - [How To Open Legacy C++ .mak Files With The Latest RAD Studio](https://learncplusplus.org/how-to-open-legacy-c-mak-files-with-the-latest-rad-studio/) - In the last 40 years of there have been many changes in hardware and software. Improvements and changes are carried out in very short time spans and they can quickly affect a lot of things in your older applications. C++ Builder is generally friendly with old XE project files versions, RAD Studio 10.x.x versions, and - [How To Automate Background Compiling C++ With TwineCompile](https://learncplusplus.org/how-to-automate-background-compiling-c-with-twinecompile/) - Learn how to use the TwineCompile SORTA Automatic Background Compile feature of TwineCompile. Install TwineCompile via the GetIt Package Manager for C++Builder with Update Subscription. TwineCompile lists its features as: Advanced compile system uses multi-threading technology and caching techniques to make C++ compiles 50x faster! Automatic background compiling engine ensures that files are compiled as - [How To Make A New Windows VCL Static Library In C++](https://learncplusplus.org/how-to-make-a-new-windows-vcl-static-library-in-c/) - What do we mean by the term "static library"? What is a DLL? How can I create a new DLL dynamic library? Can I create a new DLL using the FMX framework? How can I create a function in a dynamic library? Where can I find a simple DLL example which uses C++ Builder FMX? - [What You Need To Know About std::basic_string In Modern C++](https://learncplusplus.org/what-you-need-to-know-about-stdbasic_string-in-modern-c/) - In this post, you'll learn what a basic string is in modern C++ and how to use it. Is std::basic string equivalent to std::string? By learning more about std::basic string, it will help you to easily build C++ applications using the C++ IDE. What is basic_string? The basic_string (std::basic_string and std::pmr::basic_string) is a class template - [This Is How To Visualize Kinematics In Windows C++ Apps](https://learncplusplus.org/this-is-how-to-visualize-kinematics-in-windows-c-apps/) - In this post, you'll learn what kinematics is, how to use it in programming, draw kinematic drawings in C++, and how to simulate kinematic animations in a C++ app. What does Kinematics mean? Kinematics is a subfield of physics; it describes the motion of points, rigid bodies, and systems of these rigid body groups without considering the forces - [What Is The C++ Builder REST Debugger And How Do We Use It?](https://learncplusplus.org/what-is-the-c-builder-rest-debugger-and-how-do-we-use-it/) - In this post, you'll learn what the REST Debugger is, how to launch it and copy and paste REST components into Rad Studio or C++ IDE; how to connect a REST Service; how to use the ExchangeRates API, and how to use the REST Debugger to automatically setup and connect components. What is the REST - [This Is How To Make Artificial Neuron Models in C++](https://learncplusplus.org/this-is-how-to-make-artificial-neuron-models-in-c/) - What is a simple artificial neuron in C++? How can we code a simple AI neuron in C++? Should we use arrays, classes, or structs? In previous AI Tech posts, we answered all these questions. In this post, we will list all the simple AI models in C++. There can be many models depending on - [How To Make AI Binary/Heaviside Step Functions In C++](https://learncplusplus.org/how-to-make-ai-binary-heaviside-step-functions-in-c/) - In this post, you'll learn what is a Binary Step Function? Should we use Binary Step Function or Heaviside Step Function? Are Binary Step functions and Heaviside Step functions the same thing? What is a Unit Step Function? By learning how To Make AI Binary/Heaviside Step Functions In C++, it will help you to build - [What You Need To Know About C++ Gaussian Error Linear Units](https://learncplusplus.org/what-you-need-to-know-about-c-gaussian-error-linear-units/) - In this post, you’ll learn what a Gaussian Error Linear Unit is. How does the GELU function work in ANN? Where can GELU be applied to AI technologies? By learning C++ Gaussian Error Linear units, it will help you to build C++ applications with the use of C++ IDE. What is an activation function? An - [How To Make Controls Have A Glow Effect In C++?](https://learncplusplus.org/how-to-make-controls-have-a-glow-effect-in-c/) - Is there an easy way to add glow effects to components? How can I add glow to alpha images on my applications? What is Glow Effect in C++? How can I use TGlowEffect in C++ Builder? What are the visual tips to add glows in the development of C++ applications? Let's answer these questions. C++Builder - [This Is How to Debug C++ Builder Mobile And Desktop Projects](https://learncplusplus.org/this-is-how-to-debug-c-builder-mobile-and-desktop-projects/) - What is Debugging? What is a bug? How can I debug in C++ Builder? In this article, we'll walk you through Debugging, how an integrated debugger works, the difference between debug and release mode, how to debug your programs in C++ IDE Windows, and many more. What is Debugging? Debugging is the process of finding - [How To Include And Exclude Path Delimiters On Windows](https://learncplusplus.org/how-to-include-and-exclude-path-delimiters-on-windows/) - C++ Builder has a lot of specific methods in its SysUtils library that are included in the vcl and fmx libraries. Some of these are grouped as a Path Manipulation Routines that allows users to edit, extract, get and set drive name, directory name, file name, and file extensions. These methods are combined in Vcl.FileCtrl, System.IOUtils, System.SysUtils libraries. - [What Is The Right Way To Use reinterpret_cast In C++?](https://learncplusplus.org/what-is-the-right-way-to-use-reinterpret_cast-in-c/) - What is casting in C++? What is a cast operator? What types of casting can be used in a C++ app? What is reinterpret_cast in C++? How can I use reinterpret_cast in C++? C++ is a fast and powerful programming language suitable for all types of purposes. In this post, we will explain how to - [This Is How To Convert u16string To A wstring In C++](https://learncplusplus.org/this-is-how-to-convert-u16string-to-a-wstring-in-c/) - What do we mean by "wide string" in a C++ app? What is a u16string? How can I convert a u16string to a wstring? Let's answer these questions. What is a wstring? Wide strings are the string class for 'wide' characters represented by wstring. Alphanumeric characters are stored and displayed in string form. In other - [This Is How To Convert u16string To A wstring In C++](https://learncplusplus.org/this-is-how-to-convert-u16string-to-a-wstring-in-c/) - What do we mean by "wide string" in a C++ app? What is a u16string? How can I convert a u16string to a wstring? Let's answer these questions. What is a wstring? Wide strings are the string class for 'wide' characters represented by wstring. Alphanumeric characters are stored and displayed in string form. In other - [What Is The Best C++ IDE For UI Design?](https://learncplusplus.org/what-is-the-best-c-ide-for-ui-design/) - The C++ Programming language is one of the most broadly-used and versatile software programming languages. There are plenty of places where you can download a C++ IDE and compiler which means it's easy to develop applications for all sorts of different platforms. Thanks to the popularity and longevity of C++ there are many web pages - [How To Set Properties Of A New Windows VCL Component In C++](https://learncplusplus.org/how-to-set-properties-of-a-new-windows-vcl-component-in-c/) - How can I add custom properties to my new component in a VCL application? What is the syntax for the component property? How can I add a visual property to my VCL component that can be read or written by the Object Inspector? How can I create a property that can be edited via the - [How To Use ProcessMessages Method In Windows Applications](https://learncplusplus.org/how-to-use-processmessages-method-in-windows-applications/) - In this post, you’ll learn how to use the ProcessMessages method, What about if I have a loop and the app's GUI becomes unresponsive at runtime while the loop is running? How can I receive clicks on the components when I have a loop? How can I receive user inputs during code with heavy iterations?By - [How To Set And Print Vector Members On Windows](https://learncplusplus.org/how-to-set-and-print-vector-members-on-windows/) - Arrays and structs in C++ are explained well in our previous posts. These functions originally came from the C. In this post, we will explain another great feature of C++, The Vectors. Vectors are dynamic arrays included in library in modern C++ and they can resize themselves automatically when a member of a vector is inserted or deleted. Vectors are the - [How To Define And Use An Idle Loop In A Windows Application](https://learncplusplus.org/how-to-define-and-use-an-idle-loop-in-a-windows-application/) - In C++ Builder, the global variable Application (TApplication), is in every VCL-based application. Application encapsulates your application as well as provides many functions that occur in the background of the program. For instance, the Application handles how you call a Help file from the menu of your program. Understanding how TApplication works is more important to a component writer than to developers - [How To Use The HandleMessage Method In Windows Applications](https://learncplusplus.org/how-to-use-the-handlemessage-method-in-windows-applications/) - In this post, you'll learn how to use the HandleMessage method, as well as how an application can receive clicks on components when it's in a loop, and how to receive user input while performing heavy iterations while keeping the user interface responsive. By learning how to use HandleMessage Method in Windows Applications. It will - [How To Generate A Random File Name on Windows](https://learncplusplus.org/how-to-generate-a-random-file-name-on-windows/) - C++ Builder has a lot of specific methods in its SysUtils library that are included in the VCL and FMX libraries. Some of these are grouped as Path Manipulation Routines that allow users to edit, extract, get and set drive name, directory name, file name and file extensions. These methods are combined in Vcl.FileCtrl, System.IOUtils, System.SysUtils libraries. - [How To Include Or Exclude Trailing Backslashes On Windows](https://learncplusplus.org/how-to-include-or-exclude-trailing-backslashes-on-windows/) - C++ Builder has a lot of specific methods in its SysUtils library that are included in the VCL and FMX libraries. Some of these are grouped as Path Manipulation Routines that allow users to edit, extract, get and set drive name, directory name, file name, and file extensions. These methods are combined in the Vcl.FileCtrl, System.IOUtils, System.SysUtils - [How To Check Characters of File Names and Paths on Windows](https://learncplusplus.org/how-to-check-characters-of-file-names-and-paths-on-windows/) - C++ Builder has a lot of specific methods in its SysUtils library included in VCL and FMX libraries. Some of these are grouped as Path Manipulation Routines that allow users to edit, extract, get and set drive name, directory name, file name, and file extensions. These methods are combined in Vcl.FileCtrl, System.IOUtils, System.SysUtils libraries. These methods are - [How to use SameFileName method on Windows](https://learncplusplus.org/how-to-use-samefilename-method-on-windows/) - C++ Builder has a lot of specific methods in its SysUtils library that are included in VCL and FMX libraries. Some of these are grouped as Path Manipulation Routines that allow a user to edit, extract, get and set drive name, directory name, file name, and file extensions. These methods are combined in the Vcl.FileCtrl, System.IOUtils, System.SysUtils libraries. - [See What's New In C++ Builder 11 And Delphi 11 - Just Released!](https://learncplusplus.org/see-whats-new-in-c-builder-11-and-delphi-11-just-released/) - Embarcadero is delighted to announce the General Availability of C++ IDE: C++ Builder & RAD Studio 11. RAD Studio 11 Now Available! This release introduces several new features, enhancements, and quality updates in key areas including: Provision apps for Windows 11 Compile for Android API 30 Compile for macOS M-series (Apple Silicon) processors Design - [How to Get Disk Information in C++ on Windows?](https://learncplusplus.org/how-to-get-disk-information-in-c-on-windows/) - C++ has a lot of great libraries to operate on files, folders, and disks. We can create or delete directories by using System Commands that we explained before in this post or we can use C++ standard library methods. In C++ Builder, we can use both of them and we can also use Disk And Directory Support Routines to - [How To Use GetTempPath Method In C++ Builder?](https://learncplusplus.org/how-to-use-gettemppath-method-in-c-builder/) - C++ Builder has a lot of specific methods in its SysUtils library that are included in vcl and fmx libraries. Some of these are grouped as Path Manipulation Routines which allow the user to edit, extract, get and set drive name, directory name, file name, file extensions among other things. These methods are combined in Vcl.FileCtrl, System.IOUtils, - [How To Get A Full Path From A String On Windows?](https://learncplusplus.org/how-to-get-a-full-path-from-a-string-on-windows/) - In this post, you'll learn how to get a full path from a path string in C++ Software. What are the GetFullPath Method, its syntax, and examples of how to use it? How to understand paths on Windows? The full path is also known as the absolute path. It begins with a drive letter followed - [The Easy Way To Create A Windows Directory In C++](https://learncplusplus.org/the-easy-way-to-create-a-windows-directory-in-c/) - C++ has a lot of great libraries to operate on every case, on every item. We can create or delete directories by using System Commands that we explained before in this post, or we can use C++ standard library methods. In C++ Builder, we can use both of them and we can also use Disk And Directory Support - [How To Use C++ To Get And Set Current Directory On Windows](https://learncplusplus.org/how-to-use-c-to-get-and-set-current-directory-on-windows/) - C++ Builder has a lot of specific methods in its SysUtils library that are included in the vcl and fmx libraries. Some of these are grouped as Path Manipulation Routines that allow users to edit, extract, get and set drive name, directory name, file name, and file extensions. These methods are combined in Vcl.FileCtrl, System.IOUtils, System.SysUtils libraries. - [How To Use ForceDirectories Method To Create Folders In C++](https://learncplusplus.org/how-to-use-forcedirectories-method-to-create-folders-in-c/) - ForceDirectories Method (System:SysUtils:ForceDirectories) is a SysUtils Method listed in Disk And Directory Support Routines that creates a new directory, including the creation of parent directories as needed. ForceDirectories creates a new directory as specified in Dir, which must be a fully-qualified pathname. If the directories given in the path do not yet exist, ForceDirectories attempts to create them. - [How to Combine Two Path Strings in C++ Builder](https://learncplusplus.org/how-to-combine-two-path-strings-in-c-builder/) - C++ Builder has a lot of specific methods in its SysUtils library that are included in the vcl and fmx libraries. Some of these are grouped s a Path Manipulation Routines that allows users to edit, extract, get and set drive name, directory name, file name, and file extensions. These methods are combined in Vcl.FileCtrl, System.IOUtils, System.SysUtils libraries. - [How To Check If A File Exists or Not on Windows](https://learncplusplus.org/how-to-check-if-a-file-exists-or-not-on-windows/) - C++ Builder has a lot of specific methods in its SysUtils library that are included in the vcl and fmx libraries. Some of these are grouped as a Path Manipulation Routines that allows user to edit, extract, get and set drive name, directory name, file name, file extensions. .. etc, and these methods are combined in Vcl.FileCtrl, System.IOUtils, System.SysUtils - [How To Check If a Directory Really Exists on Windows](https://learncplusplus.org/how-to-check-if-a-directory-really-exists-on-windows/) - C++ Builder has a lot of specific methods in its SysUtils library that are included in the vcl and fmx libraries. Some of these are grouped as Path Manipulation Routines that allows user to edit, extract, get and set drive name, directory name, file name, file extensions. .. etc, and these methods are combined in Vcl.FileCtrl, System.IOUtils, - [How To Change A File Extension On Windows Using C+](https://learncplusplus.org/how-to-change-a-file-extension-on-windows-using-c/) - C++ Builder has specific Path Manipulation Routines that allows user to edit, extract, get and set drive name, directory name, file name, file extensions, .. etc, and these methods are combined in Vcl.FileCtrl, System.IOUtils, System.SysUtils libraries. These path manipulation methods are easy to use and easy to get or set file path strings in that operating system. These can - [Everything You Need To Use auto_ptr Smart Pointer in C++](https://learncplusplus.org/everything-you-need-to-use-auto_ptr-smart-pointer-in-c/) - In computers, all data and operations during runtime are stored in the memory of our computers, IoTs, or in other microdevices. This memory is generally a RAM (Random Access Memory) that allows data items to be read or written in almost the same amount of time, irrespective of the physical location of data inside the - [Learn To Check If a Drive Really Exists on Windows](https://learncplusplus.org/learn-to-check-if-a-drive-really-exists-on-windows/) - C++ Builder has a lot of specific methods in its SysUtils library that is included in vcl and fmx libraries. Some of these are grouped as a Path Manipulation Routines that allows user to edit, extract, get and set drive name, directory name, file name, file extensions, .. etc and these methods are combined in Vcl.FileCtrl, System.IOUtils, System.SysUtils - [Learn Encoding And Decoding Data Files By Using Bit Shifting](https://learncplusplus.org/learn-encoding-and-decoding-data-files-by-using-bit-shifting/) - The bit is the most basic unit of information in computing and digital communications. In real all operators are mainly based on Bit Operations which are also called Bitwise Operations. In computer programming, a Bitwise Operation operates on a bit string, a bit array, or a binary numeral (considered as a bit string) at the level of its individual bits, 1s, and - [How To Extract The File Directory Name From A File Path In C++](https://learncplusplus.org/how-to-extract-the-file-directory-name-from-a-file-path-in-c/) - C++ Builder is the easiest and fastest C and C++ IDE for building simple or professional applications on the Windows, macOS, iOS & Android operating systems. It is also easy for beginners to learn with its wide range of samples, tutorials, help files, and LSP support for code. RAD Studio’s C++ Builder version comes with the - [How To Extract A Relative Path From Path Strings on Windows](https://learncplusplus.org/how-to-extract-a-relative-path-from-path-strings-on-windows/) - C++ Builder is the easiest and fastest C and C++ IDE for building simple or professional applications on the Windows, macOS, iOS & Android operating systems. It is also easy for beginners to learn with its wide range of samples, tutorials, help files, and LSP support for code. RAD Studio’s C++ Builder version comes with the - [How To Extract the Short Path Name From The File Path](https://learncplusplus.org/how-to-extract-the-short-path-name-from-the-file-path/) - C++ Builder is the easiest and fastest C and C++ IDE for building simple or professional applications on the Windows, MacOS, iOS & Android operating systems. It is also easy for beginners to learn with its wide range of samples, tutorials, help files, and LSP support for code. RAD Studio’s C++ Builder version comes with the - [Learn How To Use Wide String Clear Methods in C++](https://learncplusplus.org/learn-how-to-use-wide-string-clear-methods-in-c/) - Modern C++ uses Wide Strings and Unicode Strings to support worldwide languages. Wide Strings (std::wstring) uses wcha_tr as the character type which means they are 2-bytes chars and they are an instantiation of the basic_string class template. In C++, there are several type definitions for common character types and one of them is std::wstring types that are defined in header . wstrings are the string class for 2-bytes - [This Is How To Use File Operations In C++](https://learncplusplus.org/this-is-how-to-use-file-operations-in-c/) - C++ is a great programming language that you can reach every part of your device or operating system. File system of an operating system is very important and you must know well both File System features of that Operating System and features of your programming language. Thus, we can copy, delete and get file information. - [This Is How To Make Your Non-Rectangular Apps Draggable](https://learncplusplus.org/this-is-how-to-make-your-non-rectangular-apps-draggable/) - C++ Builder is the easiest and fastest C and C++ IDE for building simple or professional applications on the Windows, MacOS, iOS & Android operating systems. It is also easy for beginners to learn with its wide range of samples, tutorials, help files, and LSP support for code. RAD Studio’s C++ Builder version comes with - [Learn to Generate Beautiful Color Gradients in C++ Builder](https://learncplusplus.org/learn-to-generate-beautiful-color-gradients-in-c-builder/) - How can we generate your own color gradients as simply as possible? In this post, we will explain how to use Color Gradients in Modern C++, in C++ Builder. Colors are very important in application development on both displaying and editing/analyzing operations. All images (pictures, photos, drawings, icons, emojis, all UI elements …) consist of - [Learn to Generate Beautiful Color Gradients in C++ Builder](https://learncplusplus.org/learn-to-generate-beautiful-color-gradients-in-c-builder/) - How can we generate your own color gradients as simply as possible? In this post, we will explain how to use Color Gradients in Modern C++, in C++ Builder. Colors are very important in application development on both displaying and editing/analyzing operations. All images (pictures, photos, drawings, icons, emojis, all UI elements …) consist of - [How To Harness The Power Of Multi-Threading In C++](https://learncplusplus.org/how-to-harness-the-power-of-multi-threading-in-c/) - Sooner or later the subject of multi-tasking or multi-threading comes up when programming. We'll try to answer some of the most common questions about multi-threading or multi-tasking in C++, because multi-tasking can be useful in the future when developing C++ applications with the C++ IDE. What is a task? What do we mean by multi-tasking? - [How To Install FastReport Reporting Components For C++](https://learncplusplus.org/how-to-install-fastreport-reporting-components-for-c/) - In this post, you'll learn what the FastReport component is and where you can get it for free. How do I install FastReport with RAD Studio? Does FastReport support VCL applications? Does FastReport support FMX applications? By learning all the information about FastReport Reporting Components, it will help you to easily build C++ applications using - [How To Simulate 3D Ball Physics In C++ Using OpenGL](https://learncplusplus.org/how-to-simulate-3d-ball-physics-in-c-using-opengl/) - Simulating 3D ball physics is one of those tasks that sounds difficult but is actually fairly simple in C++ IDE. In this post, you'll learn how to simulate 3D balls in a cube, using OpenGL in C++ Builder; adding physics to a 3D object to make it more realistic, and creating 3D animations with OpenGL. - [How To Simulate Realistic Physical Effects in C++](https://learncplusplus.org/how-to-simulate-realistic-physical-effects-in-c/) - In this post, you'll learn how to simulate throwing images, objects, or other components on your form when the user interacts with them via keyboard or mouse; how to simulate the effect of force on objects in the 2D Form window, and how to throw balls in our apps like in sports games. By learning - [How To Use The Comprehensive Form Properties In C++ VCL Apps](https://learncplusplus.org/how-to-use-the-comprehensive-form-properties-in-c-vcl-apps/) - C++ Builder is the easiest and fastest C and C++ IDE for building simple or professional applications on the Windows, macOS, iOS & Android operating systems. It is also easy for beginners to learn with its wide range of samples, tutorials, help files, and LSP support for code. C++ Builder comes with Rapid Application Development - [This Is How To Add Characters to Wide Strings in Modern C++](https://learncplusplus.org/this-is-how-to-add-characters-to-wide-strings-in-modern-c/) - Modern C++ uses Wide Strings and Unicode Strings to support worldwide languages. Wide Strings (std::wstring) uses wcha_tr as the character type which means they are 2-bytes chars and they are an instantiation of the basic_string class template. In C++, there are several type definitions for common character types and one of them is std:wstring types that are defined in header . wstrings are the string class - [How To Create Gorgeous Transparent App Windows With C++](https://learncplusplus.org/how-to-create-gorgeous-transparent-app-windows-with-c/) - C++ Builder is the easiest and fastest C and C++ IDE for building simple or professional applications on the Windows, macOS, iOS & Android operating systems. It is also easy for beginners to learn with its wide range of samples, tutorials, help files, and LSP support for code. C++ Builder comes with Rapid Application Development - [This Is How To Get A Substring of a Wide String in C++](https://learncplusplus.org/this-is-how-to-get-a-substring-of-a-wide-string-in-c/) - Generally, as an introduction to C++, in addition to int, float, double there is another data type called wstring that we use for alphanumeric variables. In C++ there are several typedefs of common character types are provided: String types are defined in header . wstrings are the string class for byte characters represented with wstring and alphanumeric characters are stored and - [How To Access Individual Character Elements Of A C++ String](https://learncplusplus.org/how-to-access-individual-character-elements-of-a-c-string/) - Modern C++ uses Strings, Wide Strings, and Unicode Strings to support worldwide languages. Strings (std::string) uses char as the character type which means they are ASCII chars and they are an instantiation of the basic_string class template. In C++, there are several typedefs for common character types and one of them is std:string types that are defined in header . strings are the string class for - [How To Make A New 64bits FMX Component](https://learncplusplus.org/how-to-make-a-new-64bits-fmx-component/) - How can I create a new 64bits FMX Component for my C++ app? How can I use the New Component menu? How can I use and fill the New Component Wizard for 64bits FMX applications? What is a Component in C++? What is an Object in C++? Let's answer these questions. One of the most - [What is The Difference Between #include <...> And #include "..."?](https://learncplusplus.org/what-is-the-difference-between-include-and-include/) - What is the difference between #include and #include "…"? What does #include "filename" mean for a C++ compiler? What does means for a C++ IDE? How can I use include? How can I add header paths into #include usage? Let's answer these questions! What does #include "filename" mean? In general, in C++ - [What Is The Right Way To Use const_cast In C++?](https://learncplusplus.org/what-is-the-right-way-to-use-const_cast-in-c/) - What is casting in C++? What is a cast operator? What types of casting can be used in a C++ app? What is const_cast in C++? How can I use const_cast in C++? C++ is a fast and powerful programming language suitable for manipulating data and memory for almost any purpose including operations with data - [The Right Way To Access Character Elements Of A Wide String](https://learncplusplus.org/the-right-way-to-access-character-elements-of-a-wide-string/) - Modern C++ uses Wide Strings and Unicode Strings to support worldwide languages. Wide Strings (std::wstring) uses wchar_t as the character type which means they are 2-bytes chars and they are an instantiation of the basic_string class template. In C++, there are several type definitions for common character types and one of them is std:wstring types that are defined in header . wstrings are the string class - [You NEED to Learn To Use JSON (JavaScript Object Notation)](https://learncplusplus.org/you-need-to-learn-to-use-json-javascript-object-notation/) - JSON (JavaScript Object Notation) is a language-independent lightweight data-interchange format. JSON can be used as an alternative to other data-interchange formats such as XML or YAML. RAD Studio provides JSON frameworks that contain classes and methods to store, parse, read, write, and generate data in JSON format. Sooner or later you will find it necessary to understand what JSON - [You Need To Know How To Correctly Remove Characters From C++ Strings](https://learncplusplus.org/you-need-to-know-how-to-correctly-remove-characters-from-c-strings/) - Modern C++ uses Strings, Wide Strings and Unicode Strings to support worldwide languages. Strings (std::string) uses char as the character type which means they are ASCII chars and they are an instantiation of the basic_string class template. In C++, there are several typedefs for common character types and one of them is std:string types that are defined in header . strings are the string class - [This Is How To Use Breakpoints In C++ Builder](https://learncplusplus.org/this-is-how-to-use-breakpoints-in-c-builder/) - RAD Studio C++ IDE has a lot of features and one of the feature is Breakpoints, so you can break and check all the things at that time. What is a breakpoint in C++? Breakpoints pause program execution at a certain location or when a particular condition occurs. Generally breakpoints are used to stop application - [How To Download A Modern C++ Compiler for Windows 10 And 11](https://learncplusplus.org/how-to-download-a-modern-c-compiler-for-windows-10-and-11/) - The C++ Programming language is one of the most widely available languages that can be downloaded easily. This means users can develop their small applications for different platforms free. If you want to implement small projects for analysis and calculations without GUIs and many other features, most small compilers will do just fine. If you - [How Do I Add Characters to Strings in C++ The Right Way?](https://learncplusplus.org/how-do-i-add-characters-to-strings-in-c-the-right-way/) - Modern C++ uses Strings, Wide Strings, and Unicode Strings to support worldwide languages. Strings (std::string) use char as the character type, which means they are ASCII chars and they are an instantiation of the basic_string class template. In C++, there are several typedefs for common character types and one of them is std: string types that are defined in header . strings are the string class - [How To Swap One Wide String With Another Wide String](https://learncplusplus.org/how-to-swap-one-wide-string-with-another-wide-string/) - In this post, you'll discover how can we swap Wide Strings? Can I apply the swap() method to Wide Strings in the same way that I would to strings?By learning the wide strings & swap () method to wide strings, it will help you build C++ applications with the use of the C++ app. Generally, - [Why You Should Use IPWorks MQTT Lib To Communicate with IoT](https://learncplusplus.org/why-you-should-use-ipworks-mqtt-lib-to-communicate-with-iot/) - In this post, you'll learn about IoT protocols and how IoT devices communicate with one another. What exactly is MQTT? How can we use the MQTT protocol with our Internet of Things devices? By learning MQTT connections with IPWorks IoT Library, it will help you build C++ applications with the use of C++ IDE. MQTT, - [How to Use Powerful Form Methods in Cross-Platform C++ Apps](https://learncplusplus.org/how-to-use-powerful-form-methods-in-cross-platform-c-apps/) - In this post, you'll learn about the available form methods, as well as how to use mouse events on forms. How can we capture and analyze key presses on forms? By learning form methods on FireMonkey Applications, it will help you to build C++ applications with the use of C++ software. C++ Builder makes writing - [Learn To Use The Multi-Talented Printf() Function In C++](https://learncplusplus.org/learn-to-use-the-multi-talented-printf-function-in-c/) - The Printf function is one of the oldest and most powerful functions that we use to print out strings or that we use to print out to a stream or to another string. Do you want to learn the basics of printf() function? Who says you can't use printf() in Modern C++? Who says printf() - [GetIt Components of the Year 2021 H1](https://learncplusplus.org/getit-components-of-the-year-2021-h1/) - Do you want to know what components will be available for use in C++ IDE windows in the first half of 2021? Which components to download from Getıt? In this post, we will choose some of the components for the first half of this year. In Modern Programming, in other terms, in Professional Programming, especially - [GetIt Components of the Year 2021 H1](https://learncplusplus.org/getit-components-of-the-year-2021-h1/) - Do you want to know what components will be available for use in C++ IDE windows in the first half of 2021? Which components to download from Getıt? In this post, we will choose some of the components for the first half of this year. In Modern Programming, in other terms, in Professional Programming, especially - [Learn To Simulate Realistic 2D Ball Physics in C++ Builder](https://learncplusplus.org/learn-to-simulate-realistic-2d-ball-physics-in-c-builder/) - In this post, we will explain how we can simulate realistic 2D ball physics in an easy and accessible way. Let's assume that we look from an X-Y view, and Y is the height which means Y=0 is the ground. How we can simulate ball physics in a given ball velocity and gravity in that - [How To Query Databases Using SQL And C++ Builder](https://learncplusplus.org/how-to-query-databases-using-sql-and-c-builder/) - C++ Builder is a great developer tool that is the easiest and fastest C and C++ IDE for building simple or professional applications on the Windows, MacOS, iOS & Android operating systems. It is also easy for beginners to learn with its wide range of samples, tutorials, help files and LSP support for code. RAD - [Learn to Visualize Topographic 3D Data in C++ Builder](https://learncplusplus.org/learn-to-visualize-topographic-3d-data-in-c-builder/) - Do you want to learn how to visualize topographic data? How we can view a 3D function? Can we display specific functions in 3D like activation functions in AI ? How can we create a 3D map in C++? Topographic Data are data sets about the elevation of the a surface, generally surface of the - [Why You Should Learn About Hilarious Hedgehogs In C++](https://learncplusplus.org/why-you-should-learn-about-hilarious-hedgehogs-in-c/) - I know what you're thinking: hedgehogs. Those cute, spiky little mammals who snuffle around in bushes and famously curl into a ball when life looks a little too scary. But, bear with me, those hedgehogs can serve a serious purpose in C++. In this post, you'll learn how to draw vectors in arrows and visualize - [Why You Should Participate In The C++ Code For Good Contest](https://learncplusplus.org/why-you-should-participate-in-the-c-code-for-good-contest/) - The “Building Good with C++Builder Contest” was introduced on May 28th, 2021 by Embarcadero. The purpose of hosting this contest is to encourage C++ programmers to code for the "greater good" of society and share their open-source solutions. The contest ends around July 30th, 2021. If you haven’t registered to participate yet here are a - [This Is The Smart Low Code Way To Do 3D Visualization In C++](https://learncplusplus.org/this-is-the-smart-low-code-way-to-do-3d-visualization-in-c/) - In this post, you'll discover how we can display two-dimensional data? Can we display data in X and Y? In C++, how can we make a 3D rectangular prism? How do we generate random two-dimensional data? How can we display 2D data with rectangular bars? How can we rotate a 3D visualization? How do we - [How To Make A Simple REST Client In C++ And More](https://learncplusplus.org/how-to-make-a-simple-rest-client-in-c-and-more/) - In this post, you’ll learn what REST is and what "RESTful" means. How can we create a simple REST client? How can we use free JSON-based APIs with REST? Is it possible to connect to JSON-based Web Services? By learning how to simply build a REST Client, it will help you to build C++ applications - [Learn To Use Wide Strings (wstring) In C++](https://learncplusplus.org/learn-to-use-wide-strings-wstring-in-c/) - In this post, you'll discover what wstring is. How can we use long strings? What is the distinction between string and wstring? By learning wide strings (wstring) and terms, it will help you to build C++ applications with the use of a C++ IDE. Generally, in Introduction to C++ lessons, examples start with string examples - [Learn To Use Wide Strings (wstring) In C++](https://learncplusplus.org/learn-to-use-wide-strings-wstring-in-c/) - In this post, you'll discover what wstring is. How can we use long strings? What is the distinction between string and wstring? By learning wide strings (wstring) and terms, it will help you to build C++ applications with the use of a C++ IDE. Generally, in Introduction to C++ lessons, examples start with string examples - [What Is The SoftPlus Activation Function in C++ Neural Nets?](https://learncplusplus.org/what-is-the-softplus-activation-function-in-c-neural-nets/) - In this post, you’ll learn what the SoftPlus Activation Function in ANN is. How do we make use of the SoftPlus Activation Function? Let's go over the specifics of how activation works. By learning activation functions and terms, it will help you to build C++ applications with the use of a C++ IDE. What is - [Why You Should Know ELU Artificial Neural Net Functions](https://learncplusplus.org/why-you-should-know-elu-artificial-neural-net-functions/) - In this post, we will explain what an Exponential Linear Unit, or ELU, is. How can we make use of an ELU Activation Function? By learning all of these, you will be able to create C++ applications using C++ software. What do we need to know about activation functions? An Activation Function ( phi() ) also - [Why You Should Know ELU Artificial Neural Net Functions](https://learncplusplus.org/why-you-should-know-elu-artificial-neural-net-functions/) - In this post, we will explain what an Exponential Linear Unit, or ELU, is. How can we make use of an ELU Activation Function? By learning all of these, you will be able to create C++ applications using C++ software. What do we need to know about activation functions? An Activation Function ( phi() ) also - [Why You Should Know About Brute Force Methods in C++](https://learncplusplus.org/why-you-should-know-about-brute-force-methods-in-c/) - In this article, you'll learn what the Brute Force Method is and how we can use the Proof By Exhaustion Method. What are Proof by Case and Proof by Analysis? How can we implement the Brute Force Method in C++? How can we protect our servers from Brute Force Attacks? By learning all of these, - [This Is How To Use Parallel Programming in C++ Builder](https://learncplusplus.org/this-is-how-to-use-parallel-programming-in-c-builder/) - In this article, we'll go over what parallel programming is in C++; how a C++ software like C++ Builder can help with parallel programming in C++, and examples of using TParallel in C++ Builder. What is parallel programming in C++? Parallel Programming is generally used to solve heavy calculation problems such as real time analysis - [What Is The sscanf Function In C++ And How Can I Use It?](https://learncplusplus.org/what-is-the-sscanf-function-in-c-and-how-can-i-use-it/) - What is sscanf function? How can I use sscanf in C++? Where can I find format specifiers for the sccanf function? What is the syntax of sscanf ? What is a simple example of sscanf function in C++? Is There Full Examples to sscanf Function in C++? Let's answer these questions by learning sscanf and - [How To Add Shadow Effects To Your C++ Apps](https://learncplusplus.org/how-to-add-shadow-effects-to-your-c-apps/) - Is there an easy way to add custom shadows to components? How can I add shadow to alpha images on my applications? What is Shadow Effect in C++? How can I Use TShadowEffect in C++ Builder? What are the visual tips to add shadows in the development of C++ applications? Let's answer these questions. C++ - [How To Make Use Of The Powerful Watch List in C++ Builder](https://learncplusplus.org/how-to-make-use-of-the-powerful-watch-list-in-c-builder/) - What is Debugging? in fact, what is a bug? How can I debug in the C++ compiler? Is there An Example of how to use Watches? How can I see Watch List Window? How can I add a watch to the Watch List? What is Debugging? As we mentioned in another article here on debugging: - [How To Operate On The Words In A String In C++](https://learncplusplus.org/how-to-operate-on-the-words-in-a-string-in-c/) - How can I operate on the words in a given string? How can I split a string with multiple delimiters in C++? What is a word in programming? Today the digital world has billions of texts and books that have many sentences. Sometimes we need to operate on these sentences at the words level rather - [What Is The Difference Between C++ Pointers and References?](https://learncplusplus.org/what-is-the-difference-between-c-pointers-and-references/) - What is a reference? What is a pointer? What does RVallue and LValue reference mean in C++? What are the differences between a pointer and a reference variable in C++? Let's find out the answers to these questions. Also, by learning C++ Pointers and References, you can build C++ applications easily with C++ IDE. What - [What Is The Purpose Of Local Variables In C++?](https://learncplusplus.org/what-is-the-purpose-of-local-variables-in-c/) - In this article, you'll learn what global variables are in programming, what a local variable is in programming, how to use local variables in C++, and what the difference between local and global variables is. By learning C++ variables, you can build C++ applications easily with C++ IDE. Why is the placement of a variable - [What Is The --> Or ++> Decrement/Increment Operator In C++?](https://learncplusplus.org/what-is-the-or-decrement-increment-operators-in-c/) - What does --> mean in C++? What does ++> mean in C++? What does --< mean in C++? What does ++< mean in C++? Is there a --> or ++> operator in C++? Let's answer these questions. Firstly, --> and ++> are not actually an operator in C++. In reality, they are two separate operators. We - [What You Need For Encoding Strings Using Bit Shifting](https://learncplusplus.org/what-you-need-for-encoding-strings-using-bit-shifting/) - What is the fastest string coding and decoding method? What is the fastest method to secure the contents of your string? Can we use shifting to encode or decode a string? Can we use shifting on Strings or on Binary data? Do strings help me build C++ applications with the use of a C++ compiler? - [What You Need For Encoding Wide Strings Using Bit Shifting](https://learncplusplus.org/what-you-need-for-encoding-wide-strings-using-bit-shifting/) - What is the fastest wide string encoding and decoding method? What is the fastest method to secure wide strings? Can we use shifting to encode or decode a wide string? Can we use shifting on Wide-Strings or on binary data? Do Wide strings help me build C++ applications with the use of a C++ compiler? - [How To Make C++ Data Bindings In Windows VCL Apps](https://learncplusplus.org/how-to-make-c-data-bindings-in-windows-vcl-apps/) - What are LiveBindings? How can I create LiveBindings in C++ Builder VCL applications? How can I use LiveBindings in VCL applications? What are the LiveBindings Visual Components? Is there a simple LiveBindigs example for the C++ Builder VCL applications? Let's answer these questions by demonstrating them using a C++ IDE. What are LiveBindings? LiveBindings is a - [This Is How To List Vector Values In A C++ StringGrid](https://learncplusplus.org/this-is-how-to-list-vector-values-in-a-c-stringgrid/) - What is a StringGrid or TStringGrid in C++ Builder? How can I display vector values visually? How can I display a one-dimensional vector in a string grid component? How can I use Cells in StringGrid? How can I display a two-dimensional vector in a StringGrid component? Can I use std::vectors in C++ Builder? Let's answer - [What Is A Rectified Linear Unit Activation ANN Function?](https://learncplusplus.org/what-is-a-rectified-linear-unit-activation-ann-function/) - IThis article will explain what a Rectified Linear Function is in ANN. How can ReLU Activation Function Hyperbolic be used? Let us refresh our memories about activation functions and define these terms. Learning rectified linear functions will be useful when coding a C++ program with c++ software. What is an artificial neural network (ANN) activation - [How To Make A Simple But Powerful Chat Bot In C++](https://learncplusplus.org/how-to-make-a-simple-but-powerful-chat-bot-in-c/) - How can I make a simple but powerful chat bot in a C++ app? Where should I start to build a chat bot? Can I develop applications with chat functionality like Siri, Google Assistant and other AI based chat bots with C++ Builder? How can I start to develop a natual language processing NLP based - [What Is The Best C++ Compiler for Windows 10?](https://learncplusplus.org/what-is-the-best-c-compiler-for-windows-10/) - C++ Programming language is one of the most broadly used software programming languages. It can be downloaded easily which means users can easily develop applications for all sorts of different platforms. It's very hard to identify which C++ compiler is the best for you, as this is mostly about what you want to achieve with - [What Is The Best C++ Compiler for Windows 10?](https://learncplusplus.org/what-is-the-best-c-compiler-for-windows-10/) - C++ Programming language is one of the most broadly used software programming languages. It can be downloaded easily which means users can easily develop applications for all sorts of different platforms. It's very hard to identify which C++ compiler is the best for you, as this is mostly about what you want to achieve with - [How To Make An MSIX Windows Installer Package](https://learncplusplus.org/how-to-make-an-msix-windows-installer-package/) - What is MSIX? Which RAD Studio versions support MSIX package provisioning? What is the structure of an MSIX package? How do I create an MSIX package? How can an MSIX package help with Windows app development? What is an MSIX installer package? MSIX is modern file installation package for Windows applications. Windows apps packaged with - [This Is How To Compile C++ Apps On Windows](https://learncplusplus.org/this-is-how-to-compile-c-apps-on-windows/) - How can I compile my C++ app code on Windows? How can I compile Modern C++ code on Windows? How can I compile C++ on Windows with visual UI elements? Let's answer these questions. If you are new to programming or even if you coming to C++ from another programming language, sometimes it is hard - [How To Create Pop-up Menu in C++ Builder?](https://learncplusplus.org/how-to-create-pop-up-menu-in-c-builder/) - How can I create visual menus in C++? What is a Pop-up menu? Which C++ IDE supports the ability to create menus? How can I create a visual Popup Menu in C++? What is TPopupMenu? What is TMenuItem? What kind of menus I can create? What is Menu in Programming? Menus are one of the - [How To Make Your Own Metaverse Using C++](https://learncplusplus.org/how-to-make-your-own-metaverse-using-c/) - What is Metaverse? What does Metaverse mean in a digital world? How does metaverse work in programming? How can we create our own metaverse C++ app? Is there a simple Metaverse example in C++? Let's start to answer these questions. What is the Metaverse? Simply, MetaVerse is a digital world simulation using data that allows users to - [The Top 6 C++ Builder Component Packs Available This Year](https://learncplusplus.org/the-top-6-c-builder-component-packs-available-this-year/) - RAD Studio, C++ Builder is a C++ IDE that allows users to install 3rd party components. These components allow users to add features and functionality to their C++ apps without needing to write lots of new code. Easy to connect, easy to compile, easy to design and view tables and easy to handle many digital - [The Top 6 C++ Builder Component Packs Available This Year](https://learncplusplus.org/the-top-6-c-builder-component-packs-available-this-year/) - RAD Studio, C++ Builder is a C++ IDE that allows users to install 3rd party components. These components allow users to add features and functionality to their C++ apps without needing to write lots of new code. Easy to connect, easy to compile, easy to design and view tables and easy to handle many digital - [The Top 6 C++ Builder Component Packs Available This Year](https://learncplusplus.org/the-top-6-c-builder-component-packs-available-this-year/) - RAD Studio, C++ Builder is a C++ IDE that allows users to install 3rd party components. These components allow users to add features and functionality to their C++ apps without needing to write lots of new code. Easy to connect, easy to compile, easy to design and view tables and easy to handle many digital - [The Top 6 C++ Builder Component Packs Available This Year](https://learncplusplus.org/the-top-6-c-builder-component-packs-available-this-year/) - RAD Studio, C++ Builder is a C++ IDE that allows users to install 3rd party components. These components allow users to add features and functionality to their C++ apps without needing to write lots of new code. Easy to connect, easy to compile, easy to design and view tables and easy to handle many digital - [How To Make Use Of The Gyroscope Sensor in C++?](https://learncplusplus.org/how-to-make-use-of-the-gyroscope-sensor-in-c/) - What is the gyroscope sensor? How can I use the gyroscope sensor in a C++ app? How can I measure the rotation of a mobile device? Let's answer these questions. What is the gyroscope sensor? Gyroscope sensors, also known as Gyro Sensors, are sensors that measure rotational motion and changes in orientation of a device such as - [How To Make Use Of The Gyroscope Sensor in C++?](https://learncplusplus.org/how-to-make-use-of-the-gyroscope-sensor-in-c/) - What is the gyroscope sensor? How can I use the gyroscope sensor in a C++ app? How can I measure the rotation of a mobile device? Let's answer these questions. What is the gyroscope sensor? Gyroscope sensors, also known as Gyro Sensors, are sensors that measure rotational motion and changes in orientation of a device such as - [What Is The Metaverse And What Does It All Mean?](https://learncplusplus.org/what-is-the-metaverse-and-what-does-it-all-mean/) - What is The Metaverse? When did The Metaverse start? What does The Metaverse mean in the digital world? Will there be a single Metaverse? Can we build a Metaverse without programming? How does metaverse work in programming? Let’s start to answer these questions. What is The Metaverse? Simply put, The Metaverse is a digital world simulation software - [What Is The Metaverse And What Does It All Mean?](https://learncplusplus.org/what-is-the-metaverse-and-what-does-it-all-mean/) - What is The Metaverse? When did The Metaverse start? What does The Metaverse mean in the digital world? Will there be a single Metaverse? Can we build a Metaverse without programming? How does metaverse work in programming? Let’s start to answer these questions. What is The Metaverse? Simply put, The Metaverse is a digital world simulation software - [What Is The Metaverse And What Does It All Mean?](https://learncplusplus.org/what-is-the-metaverse-and-what-does-it-all-mean/) - What is The Metaverse? When did The Metaverse start? What does The Metaverse mean in the digital world? Will there be a single Metaverse? Can we build a Metaverse without programming? How does metaverse work in programming? Let’s start to answer these questions. What is The Metaverse? Simply put, The Metaverse is a digital world simulation software - [What Is The Metaverse And What Does It All Mean?](https://learncplusplus.org/what-is-the-metaverse-and-what-does-it-all-mean/) - What is The Metaverse? When did The Metaverse start? What does The Metaverse mean in the digital world? Will there be a single Metaverse? Can we build a Metaverse without programming? How does metaverse work in programming? Let’s start to answer these questions. What is The Metaverse? Simply put, The Metaverse is a digital world simulation software - [What Is The Metaverse And What Does It All Mean?](https://learncplusplus.org/what-is-the-metaverse-and-what-does-it-all-mean/) - What is The Metaverse? When did The Metaverse start? What does The Metaverse mean in the digital world? Will there be a single Metaverse? Can we build a Metaverse without programming? How does metaverse work in programming? Let’s start to answer these questions. What is The Metaverse? Simply put, The Metaverse is a digital world simulation software - [What Is The Story of C++ Programming History?](https://learncplusplus.org/what-is-the-story-of-c-programming-history/) - Let's go back to the future! When I began to research and write this article, all of these amazing years and the rich history of C and C++ came back to my mind. The C++ compiler history really can be traced back to the 1970's with the birth of the C Language. C++ IDE features - [What Is The Story of C++ Programming History?](https://learncplusplus.org/what-is-the-story-of-c-programming-history/) - Let's go back to the future! When I began to research and write this article, all of these amazing years and the rich history of C and C++ came back to my mind. The C++ compiler history really can be traced back to the 1970's with the birth of the C Language. C++ IDE features - [This Is How To Add A Blur Effect To Images In C++](https://learncplusplus.org/this-is-how-to-add-a-blur-effect-to-images-in-c/) - What is the Blur Effect in C++? Which C++ IDE helps us easily add blur effects to our apps? How can I use a blur effect from a framework library in C++? Is there an easy way to add blur effects to components? How can I add a blur effect to alpha images in my - [What is the std namespace in C++?](https://learncplusplus.org/what-is-the-std-namespace-in-c/) - What is namespace std in C++? What does namespace mean for a C++ compiler? How can we define a namespace in C++ IDE? Why don't we use "using namespace std;" in C++ Builder? How can I use the std namespace? How can I define my own namespace? Let's answer these questions. What is a namespace - [What Is An Accelerometer And How To Use It in C++?](https://learncplusplus.org/what-is-an-accelerometer-and-how-to-use-it-in-c/) - What is a motion sensor? What is an accelerometer? Which C++ IDE supports the use of motion sensors? How can I use a motion sensor in my C++ code? What is the difference between a motion detector and motion sensor? How can I detect the motion of a device? How can I measure the acceleration - [Learn How To Use Operators In C++](https://learncplusplus.org/learn-how-to-use-operators-in-c/) - C Programming language is one of the oldest programming language. A lot of operands in other programming languages got inspiration from this language. C and C++ have the same operators and most of them are the same in other programming languages. In programming variable at the left side of the equation symbol is a new - [How To Make Transparent FMX Applications With C++ Builder](https://learncplusplus.org/how-to-make-transparent-fmx-applications-with-c-builder/) - C++ Builder is the easiest and fastest C and C++ IDE for building everything from simple to fully professional applications on the Windows, MacOS, iOS and Android operating systems. It is also easy for beginners to learn with its wide range of samples, tutorials, help files and LSP support for code. RAD Studio’s C++ Builder - [Everything You Need To Set File Attributes In Your Apps](https://learncplusplus.org/everything-you-need-to-set-file-attributes-in-your-apps/) - C++ Builder is the easiest and fastest C and C++ IDE for building simple or professional applications on the Windows, MacOS, iOS & Android operating systems. It is also easy for beginners to learn with its wide range of samples, tutorials, help files, and LSP support for code. RAD Studio’s C++ Builder version comes with the - [This Is How To Change A File Path In A String On Windows](https://learncplusplus.org/this-is-how-to-change-a-file-path-in-a-string-on-windows/) - C++ Builder is the easiest and fastest C and C++ IDE for building simple or professional applications on the Windows, MacOS, iOS & Android operating systems. It is also easy for beginners to learn with its wide range of samples, tutorials, help files, and LSP support for code. RAD Studio’s C++ Builder version comes with the - [How To Add A Sepia Image Effect In Your Apps With No Code](https://learncplusplus.org/how-to-add-a-sepia-image-effect-in-your-apps-with-no-code/) - What is a sepia effect in a C++ app? Is there an easy way to add sepia effects to components? How can I add a sepia effect to alpha images in my applications? How can I use the TSepiaEffect component in C++ Builder? What are the visual tips to add a sepia effect in the - [How To Add A No Code Emboss Effect To Images in Your Apps](https://learncplusplus.org/how-to-add-a-no-code-emboss-effect-to-images-in-your-apps/) - What is an emboss effect in C++? Is there an easy way to add emboss effects to components? How can I add a emboss effect to images on my applications? How can I use TEmbossEffect in C++ Builder? What are the visual tips to add a sepia effect in the development of C++ software applications? - [This Is How To Analyze Includes in C++ With Cppinclude](https://learncplusplus.org/this-is-how-to-analyze-includes-in-c-with-cppinclude/) - Learn about Cppinclude, a tool for analyzing C++ "includes" in this video. Oleg Fedorenko takes us through the use of Cppinclude and why it is so useful analyzing the headers you have included in projects so you can better optimize compile times and make sure everything is as efficient as possible. Where can I get - [How To Make A Millisecond Timer In C And C++](https://learncplusplus.org/how-to-make-a-millisecond-timer-in-c-and-c/) - Often, to check the performance of our applications we need to time the operation of some sections to identify bottlenecks and areas where the app is taking a relatively long time to do things. The challenge is, how can we calculate speed of our function in C++ when they might only take a couple of - [What You Need To Compile Delphi Projects in C++ Builder](https://learncplusplus.org/what-you-need-to-compile-delphi-projects-in-c-builder/) - Do you know you can use Delphi or Pascal files in your C++ applications? RAD Studio is a very powerful IDE that comes with Delphi and C++ Builder. Delphi uses a version of the Object Pascal programming language while C++ Builder uses mainly C++. If you have Rad Studio you can easily use Delphi functions - [What Is The Hyperbolic Tangent Activation ANN Function?](https://learncplusplus.org/what-is-the-hyperbolic-tangent-activation-ann-function/) - What is a hyperbolic Tangent function? How can we use Hyperbolic Tangent Function in C++? Let's answer these questions. What does an activation function mean in AI? Activation Function ( phi() ) also called as transfer function, or threshold function that determines the activation value ( a = phi(sum) ) from a given value (sum) from the Net Input Function . Net - [What Is The SoftMax Function in Neural Networks?](https://learncplusplus.org/what-is-the-softmax-function-in-neural-networks/) - What is the SoftMax function in Neural Networks? How can we use the SoftMax function in ANN? Where can we use SoftMax in AI technologies? Let's explain these terms. What is the Softmax function? The SoftMax Function is a generalization of the logistic function to multiple dimensions. It is also known as softargmax or normalized - [Learn To Display 360 Degree Spherical Images In C++ Builder On Windows](https://learncplusplus.org/learn-to-display-360-degree-spherical-images-in-c-builder-on-windows/) - 360 Degree Spherical photos are good to capture all around in that moment. In this post here we give a simple example to display this pictures in eyeview with ability to rotate in any angle. This method can be used on drawings or generated drawings too. In this method we use a 3D environment, we - [Learn to Master Every Screen Property in Your C++ Builder FMX Apps](https://learncplusplus.org/learn-to-master-every-screen-property-in-your-c-builder-fmx-apps/) - How we can get Screen size of device in C++ Builder? What are the properties of a Screen? Can we use Screen in Multi-Device applications? In this post, we will explain some of important properties of Screen class. C++ Builder is the easiest and fastest C and C++ IDE for building simple or professional applications - [How To Use Methods To Copy One String to Another String](https://learncplusplus.org/how-to-use-methods-to-copy-one-string-to-another-string/) - How can we copy one string to another string? Here are the answers with C++ examples. Generally, as an introduction to C++, in addition to int, float, double there is another data type, string that we use for alphanumeric variables. In C++ there are several typedefs for common character types are provided: String types are - [Learn to Display Formatted Floating Numbers in C++ Builder](https://learncplusplus.org/learn-to-display-formatted-floating-numbers-in-c-builder/) - How we can display floating or double numbers in C++ Builder? How we can apply formatting display to floating numbers? How we can use StrToFloatF method in C++ Builder? Can we use printf in Modern C++? Let's answer all these questions. What does the phrase "formatted floating point numbers" mean in C++? In programming, we - [Learn to Display Formatted Floating Numbers in C++ Builder](https://learncplusplus.org/learn-to-display-formatted-floating-numbers-in-c-builder/) - How we can display floating or double numbers in C++ Builder? How we can apply formatting display to floating numbers? How we can use StrToFloatF method in C++ Builder? Can we use printf in Modern C++? Let's answer all these questions. What does the phrase "formatted floating point numbers" mean in C++? In programming, we - [Why You Should Use The GetIt Package Manager Right Now](https://learncplusplus.org/why-you-should-use-the-getit-package-manager-right-now/) - Have you ever asked yourself "how can I install new C++ or Delphi Components, Libraries, Components for IoT, Styles, Sample Projects, Tools, IDE Plugins, Patches and Trials?" Do you know where you can find free components for RAD Studio? Did you know you can easily download trial versions of components, all from a single location? - [AI Techs :: Minimum Edit Distance Method in Unicode Strings in C++](https://learncplusplus.org/ai-techs-minimum-edit-distance-method-in-unicode-strings-in-c/) - In the Artificial Intelligence Technology, mostly in the field of Natural Language Processing (NLP), Computer Linguistics and in other fields of Computer Science, The Edit Distance Method is a way of quantifying how dissimilar two text far from each other in char comparison by counting the minimum number of operations required to transform one string into the - [Learn about Forced Copy Constructor (Default Copy Constructor) in C++](https://learncplusplus.org/learn-about-forced-copy-constructor-default-copy-constructor-in-c/) - The Constructor in C++ is a function, a method in the class, but it is a 'special method' that is automatically called when an object of a class is created. We don't need to call this function. Whenever a new object of a class is created, the Constructor allows the class to initialize member variables or - [Learn about Deleted Implicitly-Declared Copy Constructor in C++](https://learncplusplus.org/learn-about-deleted-implicitly-declared-copy-constructor-in-c/) - Do you want to know what is Deleted Implicitly Declared Copy Constructor ? Implicitly-Declared Copy Constructor helps you to do this, here is the full post; The Constructor in C++ is a function, a method in the class, but it is a 'special method' that is automatically called when an object of a class is created. - [Learn About Explicit Specifier in C++ Classes](https://learncplusplus.org/learn-about-explicit-specifier-in-c-classes/) - What is Explicit Specifier ? How can we use Explicit Specifiers in Classes ? Here are the explanations with examples below, Classes are are the blueprint that has properties and methods for the objects and they are user-defined data types that we can use in our program, and they work as an object constructor. Classes defined in - [Learn to Develop a Text Based Simple Adventure Game in C++ on Windows](https://learncplusplus.org/learn-to-develop-a-text-based-simple-adventure-game-in-c-on-windows/) - Before all those buttons, joysticks, controllers, mouse peripherals, and these 3D games with high graphics, textures, effects, reflections, animations, and sounds; in the first times of computers there were text-based games which you move your character by commands and it tells you (prints out) what is happening or what you should do. A text game, - [Learn About Implicitly-Defined Copy Constructor](https://learncplusplus.org/learn-about-implicitly-defined-copy-constructor/) - Do you want to define a copy constructor in a implicit way ? Implicitly-Defined Copy Constructor helps you to do this, here is the full post; The Constructor in C++ is a function, a method in the class, but it is a 'special method' that is automatically called when an object of a class is created. - [Learn about Eligible Default Constructor in C++](https://learncplusplus.org/learn-about-eligible-default-constructor-in-c/) - Do you want to learn what is Eligible Default Constructor or what kind of methods we have that we can declare and use Eligible default constructors? In this post, we will try to explain the Eligible Default Constructor with examples. The Constructor in C++ is a function, a method in the class, but it is a - [Learn C++ With Back to Basics: Concurrency by Arthur O'Dwyer (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-back-to-basics-concurrency-by-arthur-odwyer-cppcon-2020-video/) - One of the flagship features of C++11 was the implementation of std::thread, along with a full suite of primitive synchronizations and useful patterns such as thread-safe static initialization. In this video, we will inspire the threading model of C++11 and demonstrate how to use std::thread effectively. Audience will leave this session with a clear understanding - [Learn C++ With Back to Basics: Concurrency by Arthur O'Dwyer (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-back-to-basics-concurrency-by-arthur-odwyer-cppcon-2020-video/) - One of the flagship features of C++11 was the implementation of std::thread, along with a full suite of primitive synchronizations and useful patterns such as thread-safe static initialization. In this video, we will inspire the threading model of C++11 and demonstrate how to use std::thread effectively. Audience will leave this session with a clear understanding - [Learn C++ With Back to Basics: Concurrency by Arthur O'Dwyer (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-back-to-basics-concurrency-by-arthur-odwyer-cppcon-2020-video/) - One of the flagship features of C++11 was the implementation of std::thread, along with a full suite of primitive synchronizations and useful patterns such as thread-safe static initialization. In this video, we will inspire the threading model of C++11 and demonstrate how to use std::thread effectively. Audience will leave this session with a clear understanding - [Learn C++ With Exceptions Under the Spotlight by Inbal Levi (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-exceptions-under-the-spotlight-by-inbal-levi-cppcon-2020-video/) - This video will be diving into exceptions, starting by understanding the error handling mechanism. It will also explore the evolution of exceptions and the design decisions that have led to the current version. By describing and analyzing the alternatives, we will discover potential directions for the exceptions mechanism in future C++ versions. https://www.youtube.com/watch?v=N_-bUNMLGvE - [Learn Implicitly Defined Default Constructor in C++](https://learncplusplus.org/learn-implicitly-defined-default-constructor-in-c/) - The Constructor in C++ is a function, a method in the class, but it is a 'special method' that is automatically called when an object of a class is created. We don't need to call this function. Whenever a new object of a class is created, the Constructor allows the class to initialize member variables or - [Learn about Implicitly-Declared Copy Constructor](https://learncplusplus.org/implicitly-declared-copy-constructor/) - Do you want to declare a copy constructor in a implicit way ? Implicitly-Declared Copy Constructor helps you to do this, here is the full post; The Constructor in C++ is a function, a method in the class, but it is a 'special method' that is automatically called when an object of a class is created. - [Learn about Deleted Copy Constructor (Avoiding Implicit Generation of the Copy Constructor)](https://learncplusplus.org/learn-about-deleted-copy-constructor-avoiding-implicit-generation-of-the-copy-constructor/) - Do you want to learn about Deleted Copy Constructor? Do you want to avoid Implicit Generation of the Copy Constructor ? This post explains how you can avoid Implicit Generation of the Copy Constructor by using a Deleted Copy Constructor. The Constructor in C++ is a function, a method in the class, but it is a - [Learn about Declaration of a Copy Constructor](https://learncplusplus.org/learn-about-declaration-of-a-copy-constructor/) - The Constructor in C++ is a function, a method in the class, but it is a 'special method' that is automatically called when an object of a class is created. We don't need to call this function. Whenever a new object of a class is created, the Constructor allows the class to initialize member variables or - [Brothers are in Fight! Delphi and C++ Builder Comparison in Prime Test](https://learncplusplus.org/brothers-are-in-fight-delphi-and-c-builder-comparison-in-prime-test/) - We have released a lot of Prime Number Benchmarks posted in LearnCPlusPlus.org before, Easily Learn To Find Prime Numbers In Modern C++ and Interesting C++ Builder Compiler Counting Prime Number Benchmarks are some of tests, you can find more here with Dev-C++, GNU C/C++, VS Code examples. It is good to test mathematical speed of - [AI Techs :: Learn About Self Regularized Non-Monotonic (Mish) Activation Function](https://learncplusplus.org/ai-tech-learn-about-self-regularized-non-monotonic-mish-activation-function/) - What is Self Regularized Non-Monotonic Activation Function in Neural Networks? How we can use the Mish function in ANN? Where can we use Mish in AI technologies? Let's remember the activation function and explain these terms. Activation Function ( phi() ) also called as transfer function, or threshold function that determines the activation value ( a = phi(sum) ) - [AI Techs :: Class Based Artificial Neuron Model in C++](https://learncplusplus.org/ai-tech-class-based-artificial-neuron-model-in-c/) - Do you want to develop your of artificial intelligence application from the scratch ? Want to learn how you can develop a simple artificial neuron model in C++ with Classes ? In this post we will explain with a very simple artificial neuron example using with Classes. We have released A Simple Artificial Neuron Model - [AI Techs :: Structure Based Simple Artificial Neuron Model in C++](https://learncplusplus.org/ai-tech-structure-based-simple-artificial-neuron-model-in-c/) - Do you want to develop your of artificial intelligence application from the scratch ? Want to learn how you can develop a simple artificial neuron model in C++? In this post we will explain with a very simple artificial neuron example. We have released A Simple Artificial Neuron Model in C++ and Very Simple Artificial - [AI Techs :: Very Simple Artificial Neural Network Example in C++](https://learncplusplus.org/ai-techs-very-simple-artificial-neural-network-example-in-c/) - In this post, we will try to explain how to simulate a very simple artificial neural network in C++ and this is a good introduction to Artificial Intelligence Technologies. Artificial Intelligence is being widely explained well in Computer Science and many other disciplines, when we search simple examples in C++ it is really hard to find simple examples. - [AI Techs :: Very Simple Artificial Neural Network Example in C++](https://learncplusplus.org/ai-techs-very-simple-artificial-neural-network-example-in-c/) - In this post, we will try to explain how to simulate a very simple artificial neural network in C++ and this is a good introduction to Artificial Intelligence Technologies. Artificial Intelligence is being widely explained well in Computer Science and many other disciplines, when we search simple examples in C++ it is really hard to find simple examples. - [AI Techs :: A Simple Artificial Neuron Model in C++](https://learncplusplus.org/ai-techs-a-simple-artificial-neuron-model-in-cpp/) - A Simple Artificial Neuron Do you want to develop your of artificial intelligence application from the scratch ? Want to learn how you can develop a simple artificial neuron model in C++? In this post we will explain with a very simple artificial neuron example. A Minimum Artificial Neuron has an activation value (a), an - [AI Techs :: Array Based Simple Artificial Neuron Model in C++](https://learncplusplus.org/ai-techs-array-based-simple-artificial-neuron-model-in-c/) - Do you want to develop your artificial intelligence application from the scratch? Want to learn how you can develop a simple artificial neuron model in C++? In this post, we will explain with a very simple artificial neuron example. We have released A Simple Artificial Neuron Model in C++ and Very Simple Artificial Neural Network (ANN) Example in - [Learn what is Trivial Default Constructor in C++](https://learncplusplus.org/learn-what-is-trivial-default-constructor-in-c/) - The Constructor in C++ is a function, a method in the class, but it is a 'special method' that is automatically called when an object of a class is created. We don't need to call this function. Whenever a new object of a class is created, the Constructor allows the class to initialize member variables or - [Learn to use Deleted Implicitly-Declared Default Constructor](https://learncplusplus.org/learn-to-use-deleted-implicitly-declared-default-constructor/) - The Constructor in C++ is a function, a method in the class, but it is a 'special method' that is automatically called when an object of a class is created. We don't need to call this function. Whenever a new object of a class is created, the Constructor allows the class to initialize member variables or - [Learn Implicitly Declared Default Constructor in C++](https://learncplusplus.org/learn-implicitly-declared-default-constructor-in-c/) - The Constructor in C++ is a function, a method in the class, but it is a 'special method' that is automatically called when an object of a class is created. We don't need to call this function. Whenever a new object of a class is created, the Constructor allows the class to initialize member variables or - [Learn about Deleted Default Constructor in C++](https://learncplusplus.org/learn-about-deleted-default-constructor-in-c/) - The Constructor in C++ is a function, a method in the class, but it is a 'special method' that is automatically called when an object of a class is created. We don't need to call this function. Whenever a new object of a class is created, the Constructor allows the class to initialize member variables or - [Learn C++ With Not Leaving Performance On The Jump Table by Eduardo Madrid (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-not-leaving-performance-on-the-jump-table-by-eduardo-madrid-cppcon-2020-video/) - You will have no trouble understanding improvements and realizing there are general principles that you can learn from. Improvements come form performance oversights that have lasted for decades. The techniques discussed are not specific but general processor architecture, directly applicable to components. In addition, there are also examples of real life improvements. - [Learn C++ With Not Leaving Performance On The Jump Table by Eduardo Madrid (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-not-leaving-performance-on-the-jump-table-by-eduardo-madrid-cppcon-2020-video/) - You will have no trouble understanding improvements and realizing there are general principles that you can learn from. Improvements come form performance oversights that have lasted for decades. The techniques discussed are not specific but general processor architecture, directly applicable to components. In addition, there are also examples of real life improvements. - [Learn C++ With No Touchy! A Case Study of Software Architecture with Immutable Objects by Borislav Stanimirov (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-no-touchy-a-case-study-of-software-architecture-with-immutable-objects-by-borislav-stanimirov-cppcon-2020-video/) - This video is concerned with the multi-threaded and multi-process architecture of the software. It focuses on one of its components: immutable objects. It talks about how we ended up sticking to immutable objects, how they helped (and sometimes hindered) our development, what we invented to make them practical in C++, and the problems and solutions - [Learn C++ With No Touchy! A Case Study of Software Architecture with Immutable Objects by Borislav Stanimirov (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-no-touchy-a-case-study-of-software-architecture-with-immutable-objects-by-borislav-stanimirov-cppcon-2020-video/) - This video is concerned with the multi-threaded and multi-process architecture of the software. It focuses on one of its components: immutable objects. It talks about how we ended up sticking to immutable objects, how they helped (and sometimes hindered) our development, what we invented to make them practical in C++, and the problems and solutions - [Learn about Defaulted Default Constructor Outside of a Class Definition](https://learncplusplus.org/learn-about-defaulted-default-constructor-outside-of-a-class-definition/) - The Constructor in C++ is a function, a method in the class, but it is a 'special method' that is automatically called when an object of a class is created. We don't need to call this function. Whenever a new object of a class is created, the Constructor allows the class to initialize member variables or - [Learn Defaulted Default Constructor in C++](https://learncplusplus.org/learn-defaulted-default-constructor-in-c/) - The Constructor in C++ is a function, a method in the class, but it is a 'special method' that is automatically called when an object of a class is created. We don't need to call this function. Whenever a new object of a class is created, the Constructor allows the class to initialize member variables or - [Learn Definition of the Default Constructor Outside of a Class Definition](https://learncplusplus.org/learn-definition-of-the-default-constructor-outside-of-a-class-definition/) - The Constructor in C++ is a function, a method in the class, but it is a 'special method' that is automatically called when an object of a class is created. We don't need to call this function. Whenever a new object of a class is created, the Constructor allows the class to initialize member variables or - [Learn about Declaration of a Default Constructor Inside of Class Definition](https://learncplusplus.org/learn-about-declaration-of-a-default-constructor-inside-of-class-definition/) - The Constructor in C++ is a function, a method in the class, but it is a 'special method' that is automatically called when an object of a class is created. We don't need to call this function. Whenever a new object of a class is created, the Constructor allows the class to initialize member variables or - [Learn C++ With A Mutli-threaded, Transaction-Based Locking Strategy for Containers by Bob Steagall (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-a-mutli-threaded-transaction-based-locking-strategy-for-containers-by-bob-steagall-cppcon-2020-video/) - With the concurrency tools available in the modern standard C++ library, multi-threaded programs can be created more easily than ever. One common pattern of use is that the set of related records is read and updated together for a given operation. This video describes an algorithm, which is implemented in C++, that performs this lock - [AI Techs :: Introduction to Artificial Intelligence in C++](https://learncplusplus.org/ai-techs-introduction-to-artificial-intelligence-in-c/) - In this post, we will try to explain what is A.I. and this is a good introduction to Artificial Intelligence Technologies. We will continue to give C++ examples about AI Technologies in AI Tech series. Artificial Intelligence is being widely explained well in Computer Science and many other disciplines, when we search simple examples in C++ - [Learn Constructors in C++ Classes](https://learncplusplus.org/learn-constructors-in-c-classes/) - Object-Oriented Programming is a way to integrate with objects which can contain data in the form (attributes or properties of objects), and code blocks in the form of procedures (methods, functions of objects). These attributes and methods are variables and functions that belong to the class, they are generally referred to as a class member. Constructors are one of the members of classes, if you are asking what is - [Easily Learn About Basic Windows Components In C++ Development (QuickLook Part 7)](https://learncplusplus.org/easily-learn-about-basic-windows-components-in-c-development-part-7/) - In this post MainMenu, PopupMenu and MenuBar, ToolBar, SpeedButton that are basic components of C++ Builder are listed. You can get more information about each of these components from the Offical DocWiki Web Page of Embarcadero. Menus are really important if you have a lot of options to select, may be they are in groups, - [Let's Fly Ingenuity Helicopter 3D Model with C++ Builder on Windows](https://learncplusplus.org/lets-fly-ingenuity-helicopter-3d-model-with-c-builder-on-windows/) - Do you want to develop your own Mars Simulation with the latest Mars Perseverance Rover 3D Model or Mars Ingenuity Helicopter 3D Model? C++ Builder is very easy to develop this kind of simple simulations. You just need a 3D object model and some colors, lights, a camera, maybe some textures. This same method and results can be obtained - [Modern Windows "Hello World" 3D Example in C++ Builder](https://learncplusplus.org/modern-windows-hello-world-3d-example-in-c-builder/) - If you are a beginner "Hello World" examples are good to understand feature of that programming language. It is good to understand how to edit text, how to write in its format, how to compile and link, how to debug and execute, how to deploy or release. This example below is a modern "Hello World" - [Modern Windows "Hello World" 3D Example in C++ Builder](https://learncplusplus.org/modern-windows-hello-world-3d-example-in-c-builder/) - If you are a beginner "Hello World" examples are good to understand feature of that programming language. It is good to understand how to edit text, how to write in its format, how to compile and link, how to debug and execute, how to deploy or release. This example below is a modern "Hello World" - [Learn About Working With 3D In Modern Windows C++ Development](https://learncplusplus.org/learn-about-working-with-3d-in-modern-windows-c-development/) - In application development 3D Objects can be displayed with 2D projection methods by using 2D / 3D mathematical calculations . That may be hard and needs much coding to display them. You can use OpenGL and DirectX with their own 3D commands to display them. You can also use and port a 3D Engine SDK. - [Learn To Use MySQL Database Connections On Windows With MyDAC Components](https://learncplusplus.org/learn-to-use-mysql-database-connections-on-windows-with-mydac-components/) - In this post we would like to give a very simple example to connect to a MySQL database in C++ Builder with MyDAC Component. MySQL is one of the world's most popular open source database and it is very easy and very useful to use small to large scale databases. MySQL has MySQL Service and different - [Learn To Use PostgreSQL Database Connections With C++](https://learncplusplus.org/learn-to-use-postgresql-database-connections-with-c/) - PostgreSQL is another popular database which is powerful, open source object-relational database system with over 30 years of active development that has earned it a strong reputation for reliability, feature robustness, and performance You can install and use PostgreSQL through the official documentation. They have also support with PostgreSQL Community, it provides many helpful places to become familiar with the - [Learn To Use MySQL Database Connections In C++ On Windows](https://learncplusplus.org/learn-to-use-mysql-database-connections-in-c-on-windows/) - In this post we would like to give a very simple example to connect to a MySQL Database in C++ Builder with FireDAC Component which comes with RAD Studio officially. MySQL is one of the world's most popular open source database and it is very easy and very useful to use small to large scale databases. - [Learn to Use Timer Component in C++ Builder on Windows](https://learncplusplus.org/learn-to-use-timer-component-in-c-builder-on-windows/) - C++ Builder is the easiest and fastest C and C++ IDE for building simple or professional applications on the Windows, macOS, iOS & Android operating systems. It is also easy for beginners to learn with its wide range of samples, tutorials, help files, and LSP support for code. RAD Studio C++ Builder version comes with the - [Quickly Learn About Working With 3D Windows Components In C++ Development](https://learncplusplus.org/learn-about-working-with-3d-windows-components-in-c-development/) - 3-D in digital platforms are 2D projection drawings of 3D objects. We can mathematically calculate a solid object, its position, its projection on our 2D screen, we can add colors on it, light effects, textures, camera, movements and some other techniques to show our 3D object as good as possible. This may take a lot - [Quick Look At Basic Color Components On Windows In C++ Builder (QuickLook Part 6)](https://learncplusplus.org/quick-look-at-basic-color-components-on-windows-in-c-builder-part-6/) - This article is about Color Components which is used to select or display Colors. If you are new to ARGB color please refer to this article about Colors in Modern C++ ColorButton (TColorButton)It is a standard button that displays a color. It can be used to pop up color picker window then backs with selected - [Quickly Learn About Basic Windows C++ Components (QuickLook Part 4)](https://learncplusplus.org/quickly-learn-about-basic-windows-c-components-quick-look-part-4/) - TrackBar Trackbar is a slider on the form that allows users to get numeric values by dragging the track. A track bar can set integer values on a continuous range. It is useful for adjusting properties like color, volume and brightness. The user moves the slide indicator by dragging it to a particular location or - [Quickly Learn About Basic Windows Components In C++ Development (QuickLook Part 5)](https://learncplusplus.org/quickly-learn-about-basic-windows-components-in-c-development-part-5/) - Panel Panel (TPanel) is a general-purpose panel used to hold multiple controls for organizing purposes. It is used to hold some group of your components. Generally they are used with Alligns. We highly recommend you to align Panels to Left, Right, Top, Bottom or Client. Thereby, your application with contents in different panels may resize itself - [Learn About Basic Windows Components In C++ Development (QuickLook Part 3)](https://learncplusplus.org/learn-about-basic-windows-components-in-c-development-quick-look-part-3/) - This post about listing String and displaying methods as fast as possible in Modern C++, in C++ Builder FireMonkey projects. In general if you have many String additions to you component, you must use BeginUpdate() and EndUpdate() methods of that Class member to do these operations faster. In normal way most of Components are also - [Learn About Basic Windows Components In C++ Development (QuickLook Part 2)](https://learncplusplus.org/learn-about-basic-windows-components-in-c-development-part-2/) - TComboBox ComboBox is used to select list of texts (i.e. Categories). Gets the item that is currently selected in the combo box. Selected returns the selected item in the combo box as a TListBoxItem instance Combobox1->Items->Clear(); Combobox1->Items->Add("Scientist"); Combobox1->Items->Add("Engineer"); Combobox1->Items->Add("Doctor"); Combobox1->Items->Add("Teacher"); Combobox1->Items->Add("Student"); Combobox1->Items->Add("Other"); void __fastcall TForm1::ComboBox1Change(TObject *Sender) { Label1->Text=ComboBox1->Selected->Text; if(ComboBox1->ItemIndex==1) ShowMessage("Wow you are Engineer! That's Nice"); } TCheckBox CheckBox - [Learn Basic Components in C++ Builder (QuickLook Part 1)](https://learncplusplus.org/quick-look-to-basic-components-in-c-builder-part-1/) - 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 With C++Builder video to understand C++ - [Learn C++ With Back to Basics: Exceptions by Klaus Iglberger (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-back-to-basics-exceptions-by-klaus-iglberger-cppcon-2020-video/) - Exceptions are the native C++ error propagation mechanism. Exceptions, if used correctly, allow us to write a simpler, more readable, and more robust code. However, the path an be tricky and, unfortunately, the exception mechanism is not without flaws. The video sheds some light on current issues with exceptions and why a large part of - [Testing C++ Builder CLANG and GNU C++ performance by Counting Prime Numbers](https://learncplusplus.org/testing-c-builder-clang-and-gnu-c-performance-by-counting-prime-numbers/) - In this post we compared runtime performance of C++ Builder Console Application with CLANG Compiler and GCC Compiler. Prime numbers are interesting area to research. A prime number, it is also called prime shortly , is a natural number (a positive integer) greater than 1 that is not a product of two smaller natural numbers. If a number - [Learn C++ Inheritance :: Hybrid Inheritance](https://learncplusplus.org/learn-c-inheritance-hybrid-inheritance/) - Let's remember that, Object Oriented Programming (OOP) is a way to integrate with objects which can contain data in the form (attributes or properties of objects), and code blocks in the form of procedures (methods, functions of objects). These attributes and methods are variables and functions that belong to the class, they are generally referred to as class members. In C++, classes have members (attributes, methods) and we should protect each member - [Learn C++ Inheritance :: Hierarchical Inheritance](https://learncplusplus.org/learn-c-inheritance-hierarchical-inheritance/) - Let's remember that, Object Oriented Programming (OOP) is a way to integrate with objects which can contain data in the form (attributes or properties of objects), and code blocks in the form of procedures (methods, functions of objects). These attributes and methods are variables and functions that belong to the class, they are generally referred to as class members. In C++, classes have members (attributes, methods) and we should protect each member - [Learn C++ With The Networking TS from Scratch: I/O Objects by Robert Leahy (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-the-networking-ts-from-scratch-i-o-objects-by-robert-leahy-cppcon-2020-video/) - Networking TS Facilities provide a framework within which testable, extensible, asynchronous programs can be written in C++. In addition to this, the Networking TS sets out specific "I/O object" types that provide means of performing I/O and thus enable the authoring of such programs to take place immediately. These provided I/O objects will invariably not - [Learn C++ With Managram: A Fully Asynchronous OS Based on Modern C++ by Alexander van der Grinten (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-managram-a-fully-asynchronous-os-based-on-modern-c-by-alexander-van-der-grinten-cppcon-2020-video/) - In this talk, we present Managram, an OS designed around C++20 coroutines and the upcoming C++ sender/receiver model. Its main goal is to fully support asynchronous I/O across the entire system. At the end of the videos, it discusses the open challenges for system programming that C++20 has not yet addressed and provide a perspective - [Learn C++ Inheritance :: Ambiguity in Multiple Inheritance](https://learncplusplus.org/learn-c-inheritance-ambiguity-in-multiple-inheritance/) - Let's remember that, Object Oriented Programming (OOP) is a way to integrate with objects which can contain data in the form (attributes or properties of objects), and code blocks in the form of procedures (methods, functions of objects). These attributes and methods are variables and functions that belong to the class, they are generally referred to as class members. In C++, classes have members (attributes, methods) and we should protect each member inside - [Learn C++ Inheritance :: Multiple Inheritance](https://learncplusplus.org/learn-c-inheritance-multiple-inheritance/) - Let's remember that, Object Oriented Programming (OOP) is a way to integrate with objects which can contain data in the form (attributes or properties of objects), and code blocks in the form of procedures (methods, functions of objects). These attributes and methods are variables and functions that belong to the class, they are generally referred to as class members. In C++, classes have members (attributes, methods) and we should protect each member - [Learn C++ Inheritance :: Multilevel Inheritance](https://learncplusplus.org/learn-c-inheritance-multilevel-inheritance/) - Inheritance allows us to define a class in terms of another class, and it makes easier to create and maintain an application. This also provides an opportunity to reuse the code functionality and fast implementation time. If a class is derived from another derived class then it is called multilevel inheritance. In other terms, multilevel inheritance - [Introduction to the C++Builder IDE](https://learncplusplus.org/introduction-to-the-cbuilder-ide/) - An integrated development environment (IDE) is a software application that provides a complete set of features for application development. Code is generally written in text format, and you can easily edit or modify your code using text editors like Notepad, Word, WordPad, etc. For a developer (beginner or professional), however, an IDE is really important - [Learn C++ Inheritance :: Base Classes and Derived Classes](https://learncplusplus.org/learn-c-inheritance-base-classes-and-derived-classes/) - Generally we try to prepare our posts for a first time C++ readers or we assume reader read some posts about that topic before. At least we try to simplify and clarify the post as much as possible. This post requires a good knowledge about Functions, Classes, Objects. These topics are the main stones of - [Learn about Polymorphism :: Pointers to Base Classes in C++](https://learncplusplus.org/learn-about-polymorphism-pointers-to-base-classes-in-c/) - Generally we try to prepare our posts for a first time C++ readers or we assume reader read some posts about that topic before. At least we try to simplify and clarify the post as much as possible. This post requires a good knowledge about Functions, Classes, Objects and Pointers. These topics are the main - [Learn C++ With Surprising Costs of void() (and Other Not-Quite-Innocuous Evils) by Patrice Roy (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-surprising-costs-of-void-and-other-not-quite-innocuous-evils-by-patrice-roy-cppcon-2020-video/) - There are some things that could happen to us without us noticing them as evil or, as they have come to be known, Bad Code Smells. In some cases, many of these little things are acceptable, and thus go unnoticed in some of the code reviews. The idea for this talk came up when talking - [Learn C++ With Surprising Costs of void() (and Other Not-Quite-Innocuous Evils) by Patrice Roy (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-surprising-costs-of-void-and-other-not-quite-innocuous-evils-by-patrice-roy-cppcon-2020-video/) - There are some things that could happen to us without us noticing them as evil or, as they have come to be known, Bad Code Smells. In some cases, many of these little things are acceptable, and thus go unnoticed in some of the code reviews. The idea for this talk came up when talking - [Learn C++ With C++ Committee's Library Evolution Working Group Panel hosted by Ben Craig (CPPCon 2020)](https://learncplusplus.org/learn-c-with-c-committees-library-evolution-working-group-panel-hosted-by-ben-craig-cppcon-2020/) - This video is a group panel of the leaders of the Library Evolution Working Group of the C++ Committee to discuss the latest developments in and the future of the C++ Standard Library. https://www.youtube.com/watch?v=udKNou797Zc - [How to Set Up C++Builder for Your First Project](https://learncplusplus.org/how-to-set-up-cbuilder-for-your-first-project/) - In this article we will go through the steps required to set up C++Builder. By the end of this article you will have learnt how to set up your development environment and will be ready to build your first project. Let’s go through the steps one by one. Steps If you use Windows you can - [Learn Classes and Objects in C++](https://learncplusplus.org/learn-classes-and-objects-in-c/) - At the beginning of C++ programming mostly programmers ask what does Object Oriented means? What is Object Oriented Programming ? or What is the difference between Classes and Objects?. Let's answer all these in this topic. One of the biggest difference between C and C++ programming languages is, C++ is an Object Oriented Programming (OOP) language that - [C++ Builder 10.4.2 Released ! Learn What are the features of new RADS 10.4.2 ?](https://learncplusplus.org/c-builder-10-4-2-released-learn-what-are-the-features-of-new-rads-10-4-2/) - New Rad Studio 10.4.2 has been released, which means that both Delphi 10.4.2 and C++ Builder 10.4.2 has been released together or separately! It comes with many bug fixes, several new features, enhancements, and quality updates. It has been released after a long alfa and beta tests in production. Finally, it has been announced that the General Availability of RAD Studio - [Discover Class Methods in C++](https://learncplusplus.org/discover-class-methods-in-c/) - Object-Oriented Programming is a way to integrate with objects that might contain data (in the form of attributes or properties of objects), and code blocks in the form of procedures (methods, functions of objects). These attributes and methods are variables and functions that belong to the class, they are generally referred to as class members. Do you want to learn how to define a method in a class, inside a - [Learn about C++ Encapsulation](https://learncplusplus.org/learn-about-c-encapsulation/) - Object Oriented Programming is a way to integrate with objects which can contain data (in the form of attributes or properties of objects), and code blocks in the form of procedures (methods, functions of objects). These attributes and methods are variables and functions that belong to the class, they are generally referred to as class members. In C++, classes have members (attributes, methods) and we should protect each member inside this class. - [Learn C++ With Monoids, Monads, and Applicative Functors: Repeated Software Patterns (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-monoids-monads-and-applicative-functors-repeated-software-patterns-cppcon-2020-video/) - This video explores the abstract mathematical structures that are commonly used in software development. It becomes easy to identify fundamental operations for specific classes of domains and how to put them together once the mind is trained to recognize these patterns. This talk is for those who enjoy math, abstract concepts, and expand their minds. - [Learn C++ With Pipes: How Plumbing Can Make Your C++ More Expressive by Jonathan Boccara (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-pipes-how-plumbing-can-make-your-c-more-expressive-by-jonathan-boccara-cppcon-2020-video/) - In this presentation, the audience will discover pipes, another way to write expressive code to work with collections: write your code as a piping through which your data flows. https://www.youtube.com/watch?v=oYEpf5A2qrE - [Learn about Data Structures in C & C++](https://learncplusplus.org/learn-about-data-structures-in-c-c/) - In general, when we do programming we have a lot of variables and some of these variables are properties of an object, for example if we want to make a database about students in C++, each student has similar properties to store. We can generalize all these properties in a single group. In this post - [Learn about Access Specifiers in C++ Classes](https://learncplusplus.org/learn-about-access-specifiers-in-c-classes/) - Object-Oriented Programming is a way to integrate with objects which can contain data in the form (attributes or properties of objects), and code blocks in the form of procedures (methods, functions of objects). These attributes and methods are variables and functions that belong to the class, they are generally referred to as class members. Think that you have a class and you have integers, floating numbers, strings, and some methods. - [Learn to Use Object Arrays and Object Pointer Arrays in C++](https://learncplusplus.org/learn-to-use-object-arrays-and-object-pointer-arrays-in-c/) - Object-Oriented Programming is a way to integrate with objects which can contain data in the form (attributes or properties of objects), and code blocks in the form of procedures (methods, functions of objects). These attributes and methods are variables and functions that belong to the class, they are generally referred to as class members. In a previous post, we described how to define a class and how to create an - [Learn C++ With The Shapes of Multi-Dimensional Arrays by Vincent Reverdy (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-the-shapes-of-multi-dimensional-arrays-by-vincent-reverdy-cppcon-2020-video/) - This video will be concentrating on one of the many issues involved: How to manage the shapes and dimensions of high-performance multidimensional arrays. In order to prevent metaprogramming wizards from having a full unusable response, we will add one requirement: it must be succinct, expressive, and humanly understandable. This video will also be discussing why - [Learn C++ With Neighborhoods Banding Together : Reasoning Globally About Programs by Lisa Lippincott (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-neighborhoods-banding-together-reasoning-globally-about-programs-by-lisa-lippincott-cppcon-2020-video/) - The most detailed rationale for programs is performed locally: considering the proximity of a program - usually a single function and the interfaces around it - and the reason for its action without reference to the rest of the program. This justification serves a broader objective: ensure that the whole program behaves appropriately. In this - [Learn to Use Constant References in C++ Functions](https://learncplusplus.org/learn-to-use-constant-references-in-c-functions/) - When we call a function with parameters taken by value, it copies the values to be made. This is a relatively inexpensive operation for fundamental types such as int, float, etc. If the parameter is composed of a large compound type, this may result in a certain overhead. For example, let's consider this following function - [Learn to Use Function Templates in C++](https://learncplusplus.org/learn-to-use-function-templates-in-c/) - A Template is a simple and a very powerful statement in C++. A Template Function may have multiple template parameter types, and the function can still use regular non-templated types. In a previous post, about Function Overloading, we had two add() functions working with integer and float numbers, in that example we can say add() - [Learn C++ With Making Games Start Fast: A Story About Concurrency by Mathieu Ruport (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-making-games-start-fast-a-story-about-concurrency-by-mathieu-ruport-cppcon-2020-video/) - Games taking too long to get started is a common criticism in game development. Players dislike it and developers spend a long time watching screen loading. The audience will be shown how Intel vTune can be used to profile threading problems, how "thread safe" APIs can be deceptive, and how re-architecting code in lock-free mode - [Learn C++ With Back to Basics: Smart Pointers by Rainer Grimm (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-back-to-basics-smart-pointers-by-rainer-grimm-cppcon-2020-video/) - An important feature in C++11, from the library's perspective, are smart pointers. Smart pointers are more than smart designed pointers. Smart pointer models are semantic. Understanding the semantic ownership of smart pointers is the key focus of this video and your main takeaway. https://www.youtube.com/watch?v=sQCSX7vmmKY - [Learn C++ With Back to Basics: Smart Pointers by Rainer Grimm (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-back-to-basics-smart-pointers-by-rainer-grimm-cppcon-2020-video/) - An important feature in C++11, from the library's perspective, are smart pointers. Smart pointers are more than smart designed pointers. Smart pointer models are semantic. Understanding the semantic ownership of smart pointers is the key focus of this video and your main takeaway. https://www.youtube.com/watch?v=sQCSX7vmmKY - [Discover Function Overloading in C++](https://learncplusplus.org/discover-function-overloading-in-c/) - Do you want to learn how to overload a function ? What is Function Overloading ? What does overloaded function means ? How we can use Function Overloading in C++ ? How we can use multiple parameter types in our functions ? Here we go, Function Overloading is used to operate with the same function - [Learn to Use Parameters in Functions in C++](https://learncplusplus.org/learn-to-use-parameters-in-functions-in-c/) - In the C++ programming language, we can add functions with many parameters, each parameter may have different types. We can add as many parameters as we want by defining its type and its name to be used inside that function separated with ',' coma. We can shape this usage in the most common syntax to - [Learn About Parameters Passed by Reference in Functions](https://learncplusplus.org/learn-about-parameters-passed-by-reference-in-functions/) - In the functions that we created in previous posts, their parameters have always been passed by value. This means that, when we call a function, what is passed to the function are the values of these parameters on that moment of the call. Variables are copied into the variables represented by the function parameters. Let's remember - [Learn About Function Declaration and Definition in C++](https://learncplusplus.org/learn-about-function-declaration-and-definition-in-c/) - In C and C++ programming language there are two parts of a function, Declaration, and Definition. Function Declaration is the combination of the return type of function, function’s name, and parameters in parenthesis.Function Definition is the body of the function includes statements and other functions. In general use, they are defined together as below, myfunction() // this - [Learn About Void and Return Type in Functions in C++](https://learncplusplus.org/learn-about-void-and-return-type-in-functions-in-c/) - We explained how to declare and define simple functions. They had no return, and in a previous post we explained that main function has an integer return that represents our code is successfully done or not. In C++ programming language, we can easily define many functions and some functions may have return values some may - [Learn About C++ Functions](https://learncplusplus.org/learn-about-c-functions/) - Functions, also known as Procedures or Sub-Programs, Sub-Algorithms, allow to structure programs in segments of code to perform tasks. A Function is a group of statements that has function a name and can be called with parameters to operate, functions can be called from some point of the program or they can call themselves recursively. All C++ programs have a main() function - [Learn About the Main Function in C++](https://learncplusplus.org/learn-about-the-main-function-in-c/) - The Main Function is the main part of an application coded in C++, it is the designated entry point to a program that is executed in an operating system (on Windows, iOS, Mac-OS, Android, Linux etc.). Every C++ application program has a main function which starts all application statements, and functions. We can create C++ files - [Learn C++ With Modern C++ Safety and Security At 20 by Matthew Butler (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-modern-c-safety-and-security-at-20-by-matthew-butler-cppcon-2020-video/) - With the features and language improvements aim to be more comprehensive than even C++11, the C++20 standard is now complete. Engineers employed in safety critical systems, protection or even applications that are exploited by customers every day have special language needs. In this video, you will be looking into the latest features and updates to - [Learn C++ With Back to Basics: Move Semantics by David Olsen (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-back-to-basics-move-semantics-by-david-olsen-cppcon-2020-video/) - One of the many powerful improvements of C++11 is Move Semantics. It addresses a variety of programming problems that have been vexed by C++ developers for years. However, moving semantics can be easily misused, and the nuances are often difficult to get correct. This presentation will benefit both those who are still learning how to - [Windows File Operations in Modern C++](https://learncplusplus.org/windows-file-operations-in-modern-c/) - 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 of usage File Streams are better to operate better - [Discover Goto and Labels in C++](https://learncplusplus.org/discover-goto-and-labels-in-c/) - The goto statement is used to jump to a label that provides an unconditional jump from the goto to a labeled statement in the same function. We can also do the same loops as the same in for() while() loops by using goto statement. Instead of goto we mostly use for(), while(), do-while() statements or functions, classes, because they - [Learn to Use While and Do-While Loops in C++](https://learncplusplus.org/learn-to-use-while-and-do-while-loops-in-c/) - While loops allow you to repeat a block of code as long as your specified condition is reached. Loops are used very offend in programming because they save time, reduce errors, and they make code more readable. 1. The While Loop In the mechanism of the while statement, the condition is evaluated and if it - [Learn to Use 3D Rotation Matrix in Low Level C++ Graphic Applications](https://learncplusplus.org/learn-to-use-3d-rotation-matrix-in-low-level-c-graphic-applications/) - Our screens are 2D dimensional planes and consists of pixels in X and Y directions. How we display a 3D object in this 2D plane ? 3D objects in our 2D screens are projection of 3D coordinates by using mathematical calculations. In 3D operations, i.e. in 3D graphics, 3D robotics, 3D mechanics; we use matrix - [Learn To Use Arithmetics On Pointers In C++](https://learncplusplus.org/learn-to-use-arithmetics-on-pointers-in-c/) - In a previous post, we learned that pointers are variables to point address which is also an integer value. That means we can do arithmetic operations on a pointer variable. But do not forget that we operate on the addresses in our RAMs, so we should be careful and we should know the range well. - [Learn C++ With Design Patterns For Handling/Reporting Errors In C++: Parallel Algorithms And Executors by Mark Hoemmen (CPPCon 2020) Videos](https://learncplusplus.org/learn-c-with-design-patterns-for-handling-reporting-errors-in-c-parallel-algorithms-and-executors-by-mark-hoemmen-cppcon-2020-videos/) - The normal C++ error handling technique, exceptions, does not work out of the box. There is a need to develop new patterns for error handling. The video will be demonstrating how design patterns already exist for parallel error handling and how these design patterns will be applied to C++17 parallel algorithms and executors. https://www.youtube.com/watch?v=DpLZ4pnrx0o - [Learn To Use Break And Continue In Loops With C++](https://learncplusplus.org/learn-to-use-break-and-continue-in-loops-with-c/) - 1. Using break in Loops break statement is used to break code-block in case statements and it is also used to jump out of a loop. In an earlier post, we used break in switch() statements. For example we can break for() loops, in this loop below we can break in some step before counting - [Learn To Define And Use Arrays In C++](https://learncplusplus.org/learn-to-define-and-use-arrays-in-c/) - Arrays are used to define a data block in the memory with number of data types, like integer numbers, floating point numbers, characters, structures, ... etc. C & C++ programming language provides this data structure, called as array that stores a fixed-size of elements of the same type. Arrays are generally used to store a - [Learn C++ With Back to Basics: Design Pattern by Mike Shah (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-back-to-basics-design-pattern-by-mike-shah-cppcon-2020-video/) - Design Patterns are interchangeable design elements that can help to make the program more manageable, scalable, and extensible. In this video, you will be learning the basics of the trends of artistic, structural and behavioral design. This talk is targeted at beginners who have some C++ experience working on a software project but are beginning - [Discover Switch Statements in C++](https://learncplusplus.org/discover-switch-statements-in-c/) - Another one of the most used logical operators in C++ is switch() statement. A switch statement allows you to check variable and you can branch to different cases in accordance with it's value. Each cases can be defined for different values, and the variable being switched on is checked for each case. When the switch expression is - [Discover If Statements and Conditions in C++](https://learncplusplus.org/discover-if-statements-and-conditions-in-c/) - One of the important part in programming is logics in functions and main program. Each these conditions are important to decide how code flow will work in runtime. In programming we use conditions and if - else statements. In C++ if statements can be done in one line or multi lines and it supports the - [Learn How To Use Booleans In C++](https://learncplusplus.org/learn-how-to-use-booleans-in-c/) - In programming, there are some of the parameters which have two values, as same as 0 and 1 bits in our computers. For these 1 and 0; Yes and No, On and Off, true and false, Enabled or Disabled, etc.. variables there are Boolean operands. We use Booleans, these kinds of switches to check most of the parameters, components, variables - [Learn C++ With Quickly Testing Qt Desktop Application with Approval Tests by Clare Macrae (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-quickly-testing-qt-desktop-application-with-approval-tests-by-clare-macrae-cppcon-2020-video/) - This video will discuss the problems and possible sources of error that are unique to the code, which the Qt cross-platform graphical user interface library uses, and then explain how to defend against them. The video will also briefly discuss some other resources that can help to inspect and maintain the Qt code, which in - [Learn To Use For Loops In C++](https://learncplusplus.org/learn-to-use-for-loops-in-c/) - In programming, one of the most used statement is for() loops. It is used to count in range with given conditions. If you know exactly how many times you want to execute a block of code in your loop, then they are very useful than other loops. Occasionally, it is used to calculate series in - [Learn to Use Strings in C++](https://learncplusplus.org/learn-to-use-strings-in-c/) - In C programming language ASCII codes are used as in char arrays to store texts in ASCII mode. You can use char arrays in both C and C++, they are faster in operations and they have less memory usage. In s modern way, strings are useful for storing texts and they are defined in the - [Tutorial: TwineCompile IDE Integration For C++ Parallel Compilation](https://learncplusplus.org/tutorial-twinecompile-ide-integration-for-c-parallel-compilation/) - Learn how to better integrate TwineCompile with your C++Builder IDE for maximum productivity. TwineCompile is available for 10.4 and newer through the GetIt Package Manager for developers with Update Subscription. TwineCompile lists its features as: Advanced compile system uses multi-threading technology and caching techniques to make C++ compiles 50x faster! Automatic background compiling engine ensures - [Learn C++ With A Relaxed Guide to memory_order_relaxed by Paul McKenney and Hans Boehm (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-a-relaxed-guide-to-memory_order_relaxed-by-paul-mckenney-and-hans-boehm-cppcon-2020-video/) - Over the years, the out-of-thin-air (OOTA) and read-from-untaken-branch (RFUB) properties of the memory order relaxed specification have caused considerable consternation. While there are no known instances of full-blown OOTA activity and no known RFUB-induced production code failures, the theoretical possibility of these properties seriously complicates automated analysis of large C and C++ code bases. This - [Learn To Use Mathematical And Trigonometric Functions In C++](https://learncplusplus.org/learn-to-use-mathematical-and-trigonometric-functions-in-c/) - C & C++ is good to operate in mathematical operations because of its wide variety of variable definitions, wise memory usage and it's operators in mathematics. C++ has a lot of mathematical functions that you can do mathematical tasks. Some operators may work with integers, some works with floating numbers, most are usable with both - [Learn C++ With Techniques for Moving Work to Background Threads by Anthony Williams (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-techniques-for-moving-work-to-background-threads-by-anthony-williams-cppcon-2020-video/) - You need a short and quick code that responds to UI events if you are writing a GUI Application and want the interface to feel responsive. If you control network I/O, you cannot want a single request to be processed to prevent the system from collecting additional data. This video will be looking at ways - [Learn C++ With Just-in-Time Compilation: The Next Big Thing? by Ben Deane and Kris Jusiak (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-just-in-time-compilation-the-next-big-thing-by-ben-deane-and-kris-jusiak-cppcon-2020-video/) - JITting code is a characteristic of several languages but has not yet landed on C++. But some work has been done to incorporate Hal Finkel's JITting into Clang. C++ is also in the early stages of testing the capabilities of JIT. In this video, you will be learning the limits and possibilities of JITting in - [Easily Learn About Using Input And Output In C++ Programming](https://learncplusplus.org/dev-c-easily-learn-about-using-input-and-output-in-c-programming/) - In general a developed applications, during it's runtime, it do 3 actions; it gets inputs, do some logical algorithms and puts you outputs. If you read about Structure of C++ Programming Language, it is good to learn how input and output functions are used. How do I use Outputs in C++? In C++, cout object function - [Top C++ Compilers for Windows in 2020](https://learncplusplus.org/top-c-compilers-for-windows-in-2020/) - If you are on the hunt for the best C/C++ compilers available today, this article lists the top C/C++ compilers for Windows with their features. It's very hard, in fact, to identify which C++ compiler is the best for you, as this is mostly about what you want to achieve with your code. If you - [Learn How To Use Comments In C++](https://learncplusplus.org/learn-how-to-use-comments-in-c/) - In all programming languages, comments are used to explain something in a normal way, something like post-its you put into lines to remember or to notify other developers. In C and C++, there are two kinds of commenting character series; 1. Single Line Commenting with //Double forward slashes, // is used as a single-line comment. - [Quickly Learn To Use Variables Between Units In C++ Builder](https://learncplusplus.org/quickly-learn-to-use-variables-between-units-in-c-builder/) - In C++ Builder, we can create many Units to run different modules with different Form designs in Windows. A unit is a separately compiled module of C++ Builder code. Every form has its unit, and most components (or groups of related components) have their units as well. A Unit shaped with two files, Header file ( - [Learn C++ With Dynamic Polymorphism: Metaclasses and Code Injection by Sy Brand (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-dynamic-polymorphism-metaclasses-and-code-injection-by-sy-brand-cppcon-2020-video/) - This talk will present a potential future design for interface-based form erasure in C++ that blends the simplicity of inheritance with the advantages that otherwise would be missing. It will add the code injection and metaclasses facilities proposed for inclusion in C++ along with the prototype implementation of the design based on the experimental Clang - [Easily Learn Powerful C++ Programming Language Structure](https://learncplusplus.org/easily-learn-powerful-c-programming-language-structure/) - In general most of codes in programming are text lines, that means you can read codes my any editors i.e. with Notepad, Word, etc. on Windows. C and C++ Compilers, compiles (we can say converts) these lines to machine codes that directly runs in that operating system and links as a executable (*.exe) file. A - [How To: Use Variables In C++ Programming](https://learncplusplus.org/how-to-use-variables-in-c-programming/) - Variables are containers for storing data values in different types. These values are mostly stored in the memory location (RAM) of device (PC, tablet, mobile, IoT...). A variable can be defined in it's type and with it's name with a given value, this variable name can be used to read it's value in memory location - [Easily Learn To Use Merge Sort Algorithm With Linked Lists In C++](https://learncplusplus.org/easily-learn-to-use-merge-sort-algorithm-with-linked-lists-in-c/) - A Linked List, composed with structure elements and it is a linear data structure, and each elements are stored at different memory locations. Linked lists are good to add, inserts, subtract, delete each elements from this list. A Simple linked list example is given before in this Learn to Code Simple Linked List in Modern - [Quickly Learn To Check OS Platform Compiled In C++ Builder With Predefined Macros](https://learncplusplus.org/quickly-learn-to-check-os-platform-compiled-in-c-builder-with-predefined-macros/) - Sometimes it is needed to understand compilation platform during compile or acting and designing UI elements in accordance with the platform. In this post we would like to give some examples to check some options in application codes. The C++ compiler predefines certain global identifiers, known as manifest constants. Most global identifiers begin and end - [Top 6 C++ IDEs For Building Native Windows Apps In 2020](https://learncplusplus.org/top-6-c-ides-for-building-native-windows-apps-in-2020/) - An integrated development environment (IDE) is a software application that provides a complete set of features for application development. Code is generally written in text format, and you can easily edit or modify your code using text editors like Notepad, Word, Wordpad, etc. For a developer (beginner or professional), however, an IDE is really important - [Top 6 C++ IDEs For Building Native Windows Apps In 2020](https://learncplusplus.org/top-6-c-ides-for-building-native-windows-apps-in-2020/) - An integrated development environment (IDE) is a software application that provides a complete set of features for application development. Code is generally written in text format, and you can easily edit or modify your code using text editors like Notepad, Word, Wordpad, etc. For a developer (beginner or professional), however, an IDE is really important - [Learn To Develop Powerful C++ Windows Applications To Connect With An InterBase Database](https://learncplusplus.org/learn-to-develop-powerful-c-windows-applications-to-connect-with-an-interbase-database/) - InterBase is a powerful database developed and supported by Idera / Embarcadero, it has a zero-administration, small-footprint database engine that can power your server and even run on your mobile devices as an embedded database. The InterBase 2020 release adds a number of new features, including tablespaces support for InterBase, allowing for better performance on servers with multiple - [Learn To Use Printing In Modern C++ Windows Applications](https://learncplusplus.org/learn-to-use-printing-in-modern-c-windows-applications/) - In C++ Builder, it is easy to use full features of the attached Printer Device by using RTL (Run Time Library) features is that both FMX (FireMonkey) and VCL frameworks provide similar coding and both are capable to use printer dialog which allows users to select and set up printer device. The printer property ( TPrinter for VCL or TPrinter for FMX ) - [How To Import FANN Library For C++ Builder Windows Projects](https://learncplusplus.org/how-to-import-fann-library-for-c-builder-windows-projects/) - This article is about to help you on implementing an Artificial Neural Network by using FANN Library developed by Steffen Nissen. It supports more than 20+ programming languages (http://leenissen.dk/fann/wp/language-bindings/) including Delphi and C++ Builder. You can reach full information and documentation here and you can download FANN source files from their web page ((http://leenissen.dk). 1: Download FANN Library - [How To Import FANN Library For C++ Builder Windows Projects](https://learncplusplus.org/how-to-import-fann-library-for-c-builder-windows-projects/) - This article is about to help you on implementing an Artificial Neural Network by using FANN Library developed by Steffen Nissen. It supports more than 20+ programming languages (http://leenissen.dk/fann/wp/language-bindings/) including Delphi and C++ Builder. You can reach full information and documentation here and you can download FANN source files from their web page ((http://leenissen.dk). 1: Download FANN Library - [Learn To Setup A Powerful Encrypted InterBase Database For C++](https://learncplusplus.org/learn-to-setup-a-powerful-encrypted-interbase-database-for-c/) - InterBase is a powerful database developed and supported by Idera / Embarcadero, it has a zero-administration, small-footprint database engine that can power your server and even run on your mobile devices as an embedded database. The InterBase 2020 release adds a number of new features, including tablespaces support for InterBase, allowing for better performance on - [If Statements In Modern C++](https://learncplusplus.org/if-statements-in-modern-c/) - There are two kinds of if statements in modern C++: runtime if and compile-time if constexpr. Runtime if looks like: if (condition) statement-true if (condition) statement-true else statement-false In both forms of above if the result of condition yields to true, then statement-true is executed. Otherwise (in the second form of above) the statement-false - [Learn To Use Powerful Cryptographic Hash Functions In Modern C++ On Windows (SHA, SHA2, MD5, BobJenkins)](https://learncplusplus.org/learn-to-use-powerful-cryptographic-hash-functions-in-modern-c-on-windows-sha-sha2-md5-bobjenkins/) - Cryptographic Hash Functions are a one-way algorithm that takes an input of any size and produces the same size output. The cryptographic hash functions are a more secure version of the hash functions. It is one-way in that there is information loss — you can’t easily go from the output to the input again. The cryptographic - [Learn to Develop a Perseverance Mars Simulation 3D in C++ Builder](https://learncplusplus.org/learn-to-develop-a-perseverance-mars-simulation-3d-in-c-builder/) - Do you want to develop your own Mars Simulation with the latest Mars Perseverance Rover 3D Model or Mars Ingenuity Helicopter 3D Model? C++ Builder is very easy to develop this kind of simple simulations. You just need a 3D object model and some colors, lights, a camera, maybe some textures. This same method and results can be obtained - [Learn How To Build A Modern C++ "Hello World" Example For Windows](https://learncplusplus.org/learn-how-to-build-a-modern-c-hello-world-example-for-windows/) - If you are a beginner "Hello World" examples are good to understand feature of that programming language. It is good to understand how to edit text, how to write in its format, how to compile and link, how to debug and execute, how to deploy or release. This example below is a modern "Hello World" - [Learn C++ With C++20 String Formatting Library: An Overview and Use with Custom Types by Marc Gregoire (CPPCon 2020) Videos](https://learncplusplus.org/learn-c-with-c20-string-formatting-library-an-overview-and-use-with-custom-types-by-marc-gregoire-cppcon-2020-videos/) - C++20 has added a good std::format library. This video will clarify what the formatting library does and how to use all its features. You will also learn how to customize it so you may use your own formatting types and how to handle errors. https://www.youtube.com/watch?v=IdM0Z2a4fjU - [Learn C++ With Constructing Generic Algorithms: Principles And Practice By Ben Deane (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-constructing-generic-algorithms-principles-and-practice-by-ben-deane-cppcon-2020-video/) - This video explores how to make your own algorithms. Starting with the raw loop that solves a nontrivial problem and turn it into a generic algorithm without removing the ability to perform. It will make you understand algorithm patterns and how to organize the pattern. You will also be inspected where existing algorithms fall short, - [Learn To Copy Excel Clipboard To A Windows StringGrid In Modern C++](https://learncplusplus.org/learn-to-copy-excel-clipboard-to-a-windows-stringgrid-in-modern-c/) - Clipboard, also called as the paste buffer, is is a buffer which operating systems provide to copy things (texts, bitmaps, tables etc.) for short term and transfer within and between application programs. The clipboard is usually temporary and unnamed, and its contents reside in the computer's memory. In C++ Builder there are good components to - [Learn C++ with Heterogeneous Programming in C++ with SYCL 2020 by Michael Wong and Gordon Brown (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-heterogeneous-programming-in-c-with-sycl-2020-by-michael-wong-and-gordon-brown-cppcon-2020-video/) - To provide higher performance and more computer power, computer system architecture trends continue to improve as it supports an increasing demand for high-performance computing domains. This video presents the current state of the SYCL ecosystem, including the supported implementations, as well as the variety of platforms now supported by SYCL. The session will take a - [Learn To Modernize Appearance Of Multi-Platform C++ Builder FMX Applications By Using Styles](https://learncplusplus.org/learn-to-modernize-appearance-of-multi-platform-c-builder-fmx-applications-by-using-styles/) - Syles are sets of graphical details that define the look and feel of a application visually and they are one of most beautiful and useful UI feature of RAD Studio, that makes your UI elements skinned with professionally designed with different Styles. Official Styles are designed by Embarcadero's Designers and other there are other 3rd - [Learn C++ With Back to Basics: Unit Tests by Ben Saks (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-back-to-basics-unit-tests-by-ben-saks-cppcon-2020-video/) - From working on very simple tests to complex ones, this presentation takes you to the process of writing automated unit tests for realistic code. Starting with a short introduction, it demonstrates the first steps of automated unit tests in the development process. In the end of this session, you will learn the functional benefits of - [Learn To Modernize Appearance Of Windows VCL Applications By Using Powerful Styles](https://learncplusplus.org/learn-to-modernize-appearance-of-windows-vcl-applications-by-using-powerful-styles/) - Syles are sets of graphical details that define the look and feel of an application visually and they are one of the most beautiful and useful UI features of RAD Studio, that makes your UI elements skinned with professionally designed with different Styles. Official Styles are designed by Embarcadero's Designers and there are other 3rd party Styles, - [Quickly Learn To Use Quick Sort Algorithm In C++ On Windows](https://learncplusplus.org/quickly-learn-to-use-quick-sort-algorithm-in-c-on-windows/) - Quick Sort (QuickSort) Algorithm, also called as partition exchange sort, is a very fast sorting algorithm that developed by British computer scientist Tony Hoare in 1959. It gets a pivot element as pivot and partitions the given array around this element. QuickSort method can be summirized as Divide and Conquer Algorithm. There are many versions of QuickSort that - [Handle Based File Operations In C++ Builder](https://learncplusplus.org/handle-based-file-operations-in-c-builder/) - Handle based file read and write methods can be used in Modern C++, In C++ Builder. In Modern C++ we highly recommend you to use Modern File Operations to support your application on all platforms and for the some benefits of using these methods like supporting worldwide languages by using UnicdeStrings etc. If you dont - [Easily Learn To Use Merge Sort Algorithm In C++ On Windows](https://learncplusplus.org/easily-learn-to-use-merge-sort-algorithm-in-c-on-windows/) - Merge Sort Algorithm, in another efficient sorting algorithm that divides the input array into two parts and it calls itself recursively for the two parts. Then merges these two sorted parts. It is a Divide and Conquer algorithm. Merge function used to merge two parts of array. The merge(arr, l, m, r) is a key process - [Easily Learn To Use The Clipboard In Modern C++ On Windows](https://learncplusplus.org/easily-learn-to-use-the-clipboard-in-modern-c-on-windows/) - Clipboard, also called as the paste buffer, is is a buffer which operating systems provide to copy things (texts, bitmaps, tables etc.) for short term and transfer within and between application programs. The clipboard is usually temporary and unnamed, and its contents reside in the computer's memory. In C++ Builder, you can use clipboard copy - [Learn To Create Alpha Color Bitmap From A Bitmap By A Given Color In Modern C++](https://learncplusplus.org/learn-to-create-alpha-color-bitmap-from-a-bitmap-by-a-given-color-in-modern-c/) - Photoshop, GIMP and other professional Photo Editors are capable to convert one color to a alpha color. You choose a color and all same colors of pixels are goes to alpha color which is transparent. These kind of images are good to blend in front o another background of images. You can also add glamorous - [Learn C++ With Effective Remote C++ Development with Codespaces by Nick Uhlenhuth (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-effective-remote-c-development-with-codespaces-by-nick-uhlenhuth-cppcon-2020-video/) - A lot of C++ projects have diverse hardware and software specifications, making efficient home-based coding more challenging than it needs to be. This video demonstrates how Codespaces can use cloud power and versatility to fix these issues. Using Codespaces, you can manage and access your project-specific online development environment from anywhere. https://www.youtube.com/watch?v=HrOEyJVU5As - [Quickly Learn To Sort Vectors With Parallel STL Algorithm In C++ On Windows](https://learncplusplus.org/quickly-learn-to-sort-vectors-with-parallel-stl-algorithm-in-c-on-windows/) - In C++, STL Standard Template Library has many algorithms for some operations like searching, counting, and manipulation of ranges and their elements. C++17 has a new feature that you can sort vectors with Parallel STL Algorithm. In C++ Builder, Vectors can be used and sorted by Parallel STL Algorithm as below. #include #include - [Learn C++ With Performance Matters by Emery Berger (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-performance-matters-by-emery-berger-cppcon-2020-video/) - Performance is one of the key reasons why so many C++ programmers enjoy the language. This video will be addressing some of the significant and unexpected challenges faced by C++ programmers trying to achieve high performance on modern hardware platforms: performance is much less reliable and predictable than you would expect. Since complier optimization run - [Learn To Code Simple Linked List In Modern C++ On Windows](https://learncplusplus.org/learn-to-code-simple-linked-list-in-modern-c-on-windows/) - A Linked List, composed of structural elements and it is a linear data structure, and each element is stored at different memory locations. Linked lists are good to add, inserts, subtract, delete each element from this list. Linked lists were popular much in the 80s to 2000s, nowadays mostly vectors with structures are used instead of linked lists, - [Tutorial: Learn To Copy Matrix As A Excel Clipboard In Modern C++](https://learncplusplus.org/tutorial-learn-to-copy-matrix-as-a-excel-clipboard-in-modern-c/) - Clipboard also called the paste buffer, is a buffer that operating systems provide to copy things (texts, bitmaps, tables, etc.) for the short term and transfer within and between application programs. The clipboard is usually temporary and unnamed, and its contents reside in the computer's memory. In C++ Builder there are good components to use Excel forms, excel supported - [Tutorial: Learn To Sort Numbers With Bubble Sort Method In C++ On Windows](https://learncplusplus.org/tutorial-learn-to-sort-numbers-with-bubble-sort-method-in-c-on-windows/) - Bubble Sort Method 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 sort sometimes referred to as sinking sort. You can use this bubble_sort() function to sort an integer array in its range as given below. void bubble_sort(int A[], int n) { - [Learn The Basics Of Dev-C++ With This Jackpot Demo In C++](https://learncplusplus.org/learn-the-basics-of-dev-c-with-this-jackpot-demo-in-c/) - Welcome to our new Embarcadero Dev-C++ video series and in this session you learn the basics of the C++ language using Dev-C++. Jackpot demo is a number guessing game which covers, C++ basics that covers the function prototypes, switch, while if statements and generating random number. - [Tutorial: Learn To Print Mandelbrot In Text Form In C++](https://learncplusplus.org/tutorial-learn-to-print-mandelbrot-in-text-form-in-c/) - In mathematics, fractals are a self-similar subset of Euclidean 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 illustrated in successive magnifications of the Mandelbrot set. Mandelbrot set is a good example to see how fractals are changing in every - [Learn To Easily Develop A Fun Fibonacci Number Generator In C++ For Windows](https://learncplusplus.org/learn-to-easily-develop-a-fun-fibonacci-number-generator-in-c-for-windows/) - Fibonacci Numbers are sequence numbers called the Fibonacci sequence, and in mathematics, it starts with 0 and 1, and then each number is the sum of the two preceding ones. Fibonacci numbers are strongly related to Golden Ratio. In mathematics, two quantities are in the golden ratio if their ratio is the same as the ratio of their sum - [Learn To Use Powerful Lambda Expressions In C++ On Windows](https://learncplusplus.org/learn-to-use-powerful-lambda-expressions-in-c-on-windows/) - Lambda Expressions are an expression that returns a function object, it comes with C++11 standards and used C++14, C++17, C++20 standards, it is well explained here. Lambda expressions are widely used in C++, C#, Groovy, Java, Python, Ruby languages too. The Greek letter Lambda (λ) refers to an anonymous function, it means chosen since it is equated - [Learn C++ With The Science of Unit Tests by Dave Steffen (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-the-science-of-unit-tests-by-dave-steffen-cppcon-2020-video/) - One of the foundations for modern software development that has emerged is unit testing. The video will begin with a summary of the fundamentals of good testing, and then discuss the near relationship between unit testing and the scientific method. https://www.youtube.com/watch?v=FjwayiHNI1w - [Learn C++ With Functional Error and Optional-value Handling with STX by Basit Ayantunde (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-functional-error-and-optional-value-handling-with-stx-by-basit-ayantunde-cppcon-2020-video/) - Error-handling is probably the most divergent part of C++. Many coding guidelines partially allow exception or completely bans, and this leads to many projects supporting multiple error-handling interfaces, such as exceptions, error-prone c-style error-handling, and/or custom error-handling types. This video talks about STX; a C++ library that seeks to fix some of these issues with - [Learn C++ With Introducing Microsoft's New Open Source Fuzzing Platform by Michael Walker and Justin Campbell (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-introducing-microsofts-new-open-source-fuzzing-platform-by-michael-walker-and-justin-campbell-cppcon-2020-video/) - Microsoft is currently fuzzing Windows continuously in Azure using the libfuzzer and the fuzzing tool built by Microsoft Research that we are releasing as Open Source at CPPCon. Developers who continuously create libfuzzer-based test binaries using sanitizers and coverage software can now launch cloud-based fuzzing jobs with a single command line. This video will introduce - [Tutorial: Learn To Sort A Text File On Windows With C++](https://learncplusplus.org/tutorial-learn-to-sort-a-text-file-on-windows-with-c/) - In C++ Builder sorting text string lines is very easy by setting Sorted property of a StringList to true. This example below sorts a given text file and saves as sorted in same name. void sort_textfile(UnicodeString filename) { auto str_list = new TStringList; str_list->LoadFromFile(filename); str_list->Sorted = true; str_list->SaveToFile(filename); str_list->Free(); } Sorting a Text File with - [Learn C++ With A Parallel and Heterogeneous Task Programming System Using Modern C++ by Tsung-Wei Huang (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-a-parallel-and-heterogeneous-task-programming-system-using-modern-c-by-tsung-wei-huang-cppcon-2020-video/) - Taskflow develops a simple and powerful task programming model to allow for efficient implementation of heterogeneous decomposition strategies. This video will cover three aspects: (1) a heterogeneous task programming model using modern C++, (2) an effective work-stealing technique that is generalizable to arbitrary heterogeneous domains, and (3) user experience that we have gained and suggested - [ASCII Art: Fun Code Spinning Donut In 3D Text Form In C++](https://learncplusplus.org/ascii-art-fun-code-spinning-donut-in-3d-text-form-in-c/) - There is no word to say, we would like to share this Amazing 3D Spinning Donut by Andy Sloane . This full post explains what is mathematic behind this. Please visit his awesome post here. There is also another video of his codes by Professor Lex Fridman here. We just made few changes on codes - [Learn C++ With Practical Memory Pool Based Allocators For Modern C++ by Misha Shalem (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-practical-memory-pool-based-allocators-for-modern-c-by-misha-shalem-cppcon-2020-video/) - This talk introduces an approach that uses a combination of a code-based memory allocator implementation and an LLVM-based tool that extracts instrumentation information. There is still considerable value in keeping up with the standard allocator model, as well as in following common conventions that are familiar to any C++ developer. The video will be presenting - [Tutorial: Easily Learn To Use optional In Modern C++ On Windows](https://learncplusplus.org/tutorial-easily-learn-to-use-optional-in-modern-c-on-windows/) - Optional definition (std::optional) manages an optional contained value, i.e. a value that may or may not be present. This class template comes with C++17 standard, it is used with CLANG and other C++ compilers which has this standard. A common use case for optional is the return value of a function that may fail. Any instance of optional at any given point - [Learn C++ With OO Considered Harmful by Phil Nash (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-oo-considered-harmful-by-phil-nash-cppcon-2020-video/) - Experienced C++ programmers think of C++ as a multi-paradigm language capable of moving between paradigms when needed. In this video, you will be looking at the actual code and techniques that can be implemented today or, in certain cases, in the near future, as well as a glimpse of what might be on the road. - [Learn C++ With Committee's Library Evolution Working Group hosted by Bryce Adelstein Lelbach (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-committees-library-evolution-working-group-hosted-by-bryce-adelstein-lelbach-cppcon-2020-video/) - Join the representatives of the Library Evolution Working Group of the C++ Committee to address the latest advances in and future of the C++ Standard Library. - [Tutorial: Easily Learn To Draw Mandelbrot In C++ On Windows](https://learncplusplus.org/tutorial-easily-learn-to-draw-mandelbrot-in-c-on-windows/) - In mathematics, Fractals are a self-similar subset of Euclidean 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 illustrated in successive magnifications of the Mandelbrot set. Mandelbrot set is a good example to see how fractals are changing in every - [Quickly Learn To Search And Count Words From A Text File In Modern C++](https://learncplusplus.org/quickly-learn-to-search-and-count-words-from-a-text-file-in-modern-c/) - C++ Builder is easy to operate on files on Windows. There are many methods to operate on files. Some of these methods are explained well in Windows File Operations in Modern C++. In this post we create a snippet to search and count a text from a text file. unsigned int count_text(UnicodeString text, UnicodeString filename) - [Interesting C++ Builder Compiler Counting Prime Number Benchmarks](https://learncplusplus.org/interesting-c-builder-compiler-counting-prime-number-benchmarks/) - 1. Introduction C++ Builder has a great IDE, includes compilers for Win32, Win64, Android and iOS. C++Builder has both CLANG Enhanced C/C++ Compiler and a Embarcadero's new Bcc C/C++ Compiler. It also features a modern, high-productivity RAD Studio IDE, debugger tools, and enterprise connectivity for to accelerate cross-platform UI development. You can develop GUI based applications - [C++ Is 9.4 Times Faster Than Python In Prime Number Test](https://learncplusplus.org/modern-c-is-9-5-times-faster-than-python-in-prime-number-test/) - Calculating prime numbers in a range is another comparison in programming languages. In this article, we compared the speed of codes to find Prime Number functions in C++ and Python 1. Introduction Prime numbers are an interesting area to research. A prime number, it is also called prime shortly, is a natural number (a positive integer) greater than - [Quickly Learn To Count Prime Numbers In GNU C++ On Windows](https://learncplusplus.org/quickly-learn-to-count-prime-numbers-in-gnu-c-on-windows/) - GNU C/C++ Compiler (gcc , g++) GNU GCC is another powerful C/C++ compiler originally written as the compiler for the Unix, 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 - [Quickly Learn To Develop A Simple Windows Paint Application in Modern C++](https://learncplusplus.org/quickly-learn-to-develop-a-simple-windows-paint-application-in-modern-c/) - 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 Learn How To Use Canvas Drawing In C++ On - [Learn To Develop Your Own Powerful Windows Media Player In C++ Builder](https://learncplusplus.org/learn-to-develop-your-own-powerful-windows-media-player-in-c-builder/) - 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 a TMediaPlayer component for easy access to media files. MediaPlayer (TMediaPlayer) is used with TMediaPlayerControl. Set MediaPlayer to link a TMediaPlayer to this TMediaPlayerControl, so the - [Easily Learn To Find Prime Numbers In Modern C++](https://learncplusplus.org/easily-learn-to-find-prime-numbers-in-modern-c/) - Prime numbers are interesting area to research. A prime number, it is also called prime shortly , is a natural number (a positive integer) greater than 1 that is not a product of two smaller natural numbers. If a number is not prime then it is called as a composed number. There are several mathematical questions regarding prime - [Quickly Learn To Draw Powerful Mathematical Functions Dynamically in Modern C++ on Windows](https://learncplusplus.org/quickly-learn-to-draw-powerful-mathematical-functions-dynamically-in-modern-c-on-windows/) - 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 - [Learn How To Easily Record Sound In Powerful Modern C++ On Windows](https://learncplusplus.org/learn-how-to-easily-record-sound-in-powerful-modern-c-on-windows/) - 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 C++ Builder Project, save all project and unit files - [Learn To Count Prime Numbers In Visual Studio Code C++](https://learncplusplus.org/learn-to-count-prime-numbers-in-visual-studio-code-c/) - Visual Studio Code Visual Studio Code (also called VS Code) is one of the most popular free IDEs, published by Microsoft. We can say it is a free version of Visual Studio. It can be used with MinGW Linux Simulation (with GNU C/C++ Compiler) to develop C++ applications running on the command console. It is - [How To Analyze Video Camera Images In C++ Builder On Windows](https://learncplusplus.org/how-to-analyze-video-camera-images-in-c-builder-on-windows/) - 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 methods of programming. In C++ Builder, it is easy to - [Quickly Learn How To Use Canvas Drawing In C++ On Windows](https://learncplusplus.org/quickly-learn-how-to-use-canvas-drawing-in-c-on-windows/) - In C++ Builder, it is easy to draw images on Bitmaps by using Canvas property and methods to draw, Canvas can be used on both VCL and FMX applications. Canvas provides an abstract drawing space for objects that must render their own images. TCanvas provides properties, events, and methods that assist in creating an image by: - [Quickly Learn How To Use Canvas Drawing In C++ On Windows](https://learncplusplus.org/quickly-learn-how-to-use-canvas-drawing-in-c-on-windows/) - In C++ Builder, it is easy to draw images on Bitmaps by using Canvas property and methods to draw, Canvas can be used on both VCL and FMX applications. Canvas provides an abstract drawing space for objects that must render their own images. TCanvas provides properties, events, and methods that assist in creating an image by: - [Easily Play Sounds In Modern C++ On Windows With This Snippets](https://learncplusplus.org/easily-play-sounds-in-modern-c-on-windows-with-this-snippets/) - 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 can use Beep(frequency, duration) command as below; Beep(1000,100); - [Learn About Bitmap Operations In C++ Builder (FireMonkey)](https://learncplusplus.org/learn-about-bitmap-operations-in-c-builder-firemonkey/) - Bitmap is a standard for reading and writing pixels of images of applications on all platforms (Windows, MacOS, iOS, Android, Linux, ...). A Bitmap includes bitmap information and full uncompressed image in pixels. Each pixel of this uncompressed image consists 4 color members called ARGB (Alpha Red Green Blue) and it can be set or - [Learn C++ With Exploration Of Powerful C++20 Meta Programming by Inbal Levi (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-exploration-of-powerful-c20-meta-programming-by-inbal-levi-cppcon-2020-video/) - This video will be focusing on compile-time. It will talk about adding templates to the existing software, overview overload resolution, and conditioning at compile time. It will then explore the new iteration of the meta programming template modified with the release of C++20. Techniques will also be presented for managing compiled-time logic while instantiating templates, - [40 Amazing Years Of Powerful C++ And C++20 Features By Bjarne Stroustrup (CppCon 2019)](https://learncplusplus.org/40-amazing-years-of-powerful-c-and-c20-features-by-bjarne-stroustrup-cppcon-2019/) - This presentation by Bjarne Stroustrup who began developing C++ (initially called "C with Classes") in 1979, is about to explain what's great about C++, C++20, as a modern language. Bjarne explains how do classes, templates, and lambdas fit together? What have constructors and destructors to do with exceptions? What's in the standard library? How can we - [Learn To Use Script Injection Method In Modern C++ On Windows With EdgeBrowser](https://learncplusplus.org/learn-to-use-script-injection-method-in-modern-c-on-windows-with-edgebrowser/) - If you want to analyze browsed web pages, first you need a web browser component. We can use Script Injection methods to get more details about the HTML or XML documents, for example to get Title of that webpage, or full Body of that page, or value of an element. This is very useful for - [Learn C++ With Halide: A Language for Fast, Portable Computation on Images and Tensors Video](https://learncplusplus.org/learn-c-with-halide-a-language-for-fast-portable-computation-on-images-and-tensors-video/) - Halide is used by big companies like Google, Adobe, and Qualcomm to optimize applications that are critical with performance. This video will explore how Halide achieves top-level efficiency in a fraction of the development time. Halide is closely integrated with C++ and offers both JIT and C++ pre-compatible. https://www.youtube.com/watch?v=1ir_nEfKQ7A - [Learn C++ With Building Coroutine Based Job System Without Standard Library by Tanki Zhang (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-building-coroutine-based-job-system-without-standard-library-by-tanki-zhang-cppcon-2020-video/) - Job system is a popular game engine component to increase total CPU performance. This video will walk you through the creation of coroutine-based work system and describe the benefits of using coroutines over the traditional ways of constructing a work system. This will address the design decision, the trade-offs and the current limitations. It is - [Learn C++ With The Many Shades of reference_wrapper by Zhihao Yuan (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-the-many-shades-of-reference_wrapper-by-zhihao-yuan-cppcon-2020-video/) - This video talks about these use cases and see how reference_wrapper's designs helps to go through the specifics carefully. This also compares reference_wrapper with other languages and the standard library facilities to give hints on how to select from reference-like forms. https://www.youtube.com/watch?v=EKJMZCL00Ak - [Learn C++ With Cross-Platform Pitfalls and How To Avoid Them by Erika Sweet (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-cross-platform-pitfalls-and-how-to-avoid-them-by-erika-sweet-cppcon-2020-video/) - Cross-platform development of C++ is challenging. This video is a discussion and presentation of C++ cross-platform development based on common pit-falls and commonly adopted tools. By the end of this session, you will learn how to use CMake to develop seamlessly across operating systems and platforms. https://www.youtube.com/watch?v=oYCin0B037Y - [Learn C++ With Lambda Expressions by Barbara Geller and Ansel Sermersheim (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-lambda-expressions-by-barbara-geller-and-ansel-sermersheim-cppcon-2020-video/) - Lambdas were introduced into C++ along with the C++ Standard. The lambda expression has many parts, which you should master for it to be used efficiently and effectively. In this video, programmers will understand and relearn the fundamentals of lambda expressions by learning its terminologies. https://www.youtube.com/watch?v=ZIPNFcw6V9o - [Learn C++ With Back to Basics: Algebraic Data Types by Arthur O'Dwyer (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-back-to-basics-algebraic-data-types-by-arthur-odwyer-cppcon-2020-video/) - In this session, the video will clarify the math behind the name and discuss the meaning and use of all algebraic data types in C++17: pair, tuple, optional, and variant. The video will also demonstrate how to use std::optional for delayed initialization and how to substitute dynamic polymorphism with visitation over std::variant. Audience will leave - [Learn C++ With C++ Standards Committee Fireside Chat (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-c-standards-committee-fireside-chat-cppcon-2020-video/) - Learn C++ Standards through this panel discussion lead by members of the C++ Standard Committee. Alongside the C++'s creator, the panelists also include leaders of key subgroups, who are the ones responsible for the evolution of language and library and subjects. The panel discussion also provides a portrayal of new forward-thinking with the members of - [Learn To Develop Your Own Web Browser App In C++ Builder On Windows (EdgeBrowser)](https://learncplusplus.org/learn-to-develop-your-own-web-browser-app-in-c-builder-on-windows-edgebrowser/) - Developing a full Web Browser may take a lot of time, instead of this there are many components and libraries that you can use in C++ development. In RAD Studio, C++ Builder 10.4 and above, there is new feature called EdgeBrowser which is using Edge Canary, it has new features and much more compatible than - [Learn Rapid C++ Development On Windows In This Series](https://learncplusplus.org/learn-rapid-c-development-on-windows-in-this-series/) - This video wraps up and finishes the Rapid C++ Development series. It is a review of all the tutorials that were done in the past video sessions. https://www.youtube.com/watch?v=FZjTMVJyuRE - [The Main Function of a C++ Program](https://learncplusplus.org/the-main-function-of-a-c-program/) - The source code written in C++ must be compiled (i.e. translated to the machine code) by one or another compiler such as Embarcadero RAD Studio C++ compilers before in can be runned. In general, there are two types of the resulting machine code: library and main executable (hereinafter simply executable). This post will briefly cover - [Traversing sequences without writing explicit loops](https://learncplusplus.org/traversing-sequences-without-writing-explicit-loops/) - The posts General Loop Statements in Modern C++ and Range-for-statement in modern C++ cover ways to write explicit loops. But explicit loops can be tedious to write and, what is more important, - harder to read, because the resulting code requires to spend the extra time by others in order to understand what is going - [General Loop Statements in Modern C++](https://learncplusplus.org/general-loop-statements-in-modern-c/) - Each loop statement in C++ has its loop body which is executed repeatedly until the loop condition expression that yields a loop condition becomes false (otherwise, the loop will run "forever"). The statement continue can be used to interrupt the current iteration and skip the rest of the loop body to immediately check the loop - [Colors In Modern C++ For Windows Development](https://learncplusplus.org/colors-in-modern-c-for-windows-development/) - Colors are very important in application development on both displaying and editing/analyzing operations. All images (pictures, photos, drawings, icons, emojis, all UI elements ...) are consist of pixels in colors. You just need to change the colors of a pixel to draw a beautiful drawing or to edit a photo. You can set your drawings, - [Easily Learn To Create Powerful C++ Windows GUIs](https://learncplusplus.org/learn-c-windows-gui-development-with-toolsbars-menus-and-images/) - Learn about the C++ Builder VCL GUI Development such as toolbars, menus, action list, images with this video. https://www.youtube.com/watch?v=q4JK-juru6A - [Learn How To Adapt Classic Windows C/C++ Samples To Modern C++ In C++ Builder](https://learncplusplus.org/learn-how-to-adapt-classic-windows-c-c-samples-to-modern-c-in-c-builder/) - There are many C++ examples and many tutorials over the classic C/C++, and when you jump to Modern C++ these examples may seem to be very hard to adapt. In real, it is not complicated much, you just need to modify input and output operations to GUI based input and output components. So basically, most - [Learn C++ With Visual C++ Windows GUI Development](https://learncplusplus.org/learn-c-with-visual-c-windows-gui-development/) - This video discusses how to create graphical user applications, win32 applications, using Microsoft Visual C++ using the Visual Studio. https://www.youtube.com/watch?v=g88xSPP14gM - [Switch Statement in Modern C++](https://learncplusplus.org/switch-statement-in-modern-c/) - The C++ language provides the switch statement which can be used to replace the set of if statements (see If Statements in Modern C++). First of all, let's define the enum type Traffic_light_color as follows: enum class Traffic_light_color { red, yellow, green }; Then, the following snippet: // Snippet 1 #include #include std::string_view - [Dev-C++ Download And Installation](https://learncplusplus.org/embarcadero-dev-c-installation/) - Welcome to new Embarcadero Dev-C++ video series. In this series, I will introduce you the new Embarcadero Dev-C++. In this tutorial, you learn about Embarcadero Dev-C++ and its installation. Embarcadero Dev-C++ is a new and improved fork (sponsored by Embarcadero) of Bloodshed Dev-C++ and Orwell Dev-C++. It is a full-featured Integrated Development Environment (IDE) and - [Tutorial: How To Compile And Run First Dev-C++ Win32 Desktop App](https://learncplusplus.org/embarcadero-dev-c-win32-desktop-application/) - Welcome to our Embarcadero Dev-C++ video series! In this tutorial, you will learn how to build and design Win32 desktop applications with Dev-C++. Win32 is the Windows application programming interface for developing 32-bit applications. And in this tutorial you will learn about: Windows Coding Conventions Basics of building Desktop application with C++ Working process of - [Learn C++ With Dynamic DLL Linkages For Windows](https://learncplusplus.org/learn-c-with-dynamic-dll-linkages-for-windows/) - In this video, you will learn how to dynamically link and call dll functions from C++ builder. https://www.youtube.com/watch?v=JFdFe6xKB8g - [Learn How To Create A Dev C++ Dynamic Link Library For Windows](https://learncplusplus.org/learn-how-to-create-a-dev-c-dynamic-link-library-for-windows/) - Welcome to our Embarcadero Dev-C++ video series. In this video tutorial you can learn about creating DLL (Dynamic Link Library) with C programming language. Since Dynamic Link Libraries are one of the essential components of Windows application development, you should learn about them. So, this video helps you to grasp knowledge about benefits and disadvantages - [How To Create A Dev C++ Static Library For Windows](https://learncplusplus.org/how-to-create-a-dev-c-static-library-for-windows/) - Welcome back to our Embarcadero Dev-C++ videos series. In this session is about creating C++ static libraries. Static libraries are collections of object files that are linked together when a file gets compiled into an executable. In this tutorial you can learn: Benefits of using Static Library Disadvantages of Static Library Hands on experience on - [Learn About Handling Android32 Permissions In C++](https://learncplusplus.org/learn-about-handling-android32-permissions-in-c/) - Mobile android applications developed in C++ Builder requires permissions to use some part of mobile devices (sensors, camera etc..). These should be allowed by the user. an these permissions can be checked over the project options from Project > Options > Application > Uses Permissions section. Some of these permissions were listed in this document - [Introduction to Random Number Generation in Modern C++](https://learncplusplus.org/introduction-to-pseudo-random-number-generation-in-modern-c/) - Every implementation of the C++ Standard Library like one included to Embarcadero RAD Studio C++ compilers provides two ways for (pseudo-)random numbers generation: old-fashioned facilities from and modern facilities provided by . Facilities from There are two very simple functions provided by the C random library: std::srand() and std::rand(). The former seeds the - [Range-for-statement in Modern C++](https://learncplusplus.org/range-for-statement-in-modern-c/) - Since C++11 there are elegant way to access each element of a containers (or, more generally, sequences) - so called range-for-statement. The syntaxes are follow: template void foo(Container& container) { for (auto element : container); // (1) for (const auto element : container); // (2) for (auto& element : container); // (3) for (const - [Helpers for Generic C++ Code Iterating Over Sequences](https://learncplusplus.org/helpers-for-generic-c-code-iterating-over-sequences/) - The iterator library that is part of the C++ Standard Library provides the following helpers for writing generic code: #include // helpers are defined here template void foo(Container& c) { // Generic way to obtain (constant) iterators auto b = std::begin(c); // (1) auto cb = std::cbegin(c); // (2) auto e = std::end(c); - [Helpers for Generic C++ Code Accessing Container Properties](https://learncplusplus.org/helpers-for-generic-c-code-accessing-container-properties/) - In addition to Helpers for Generic C++ Code Iterating Over Sequences the C++17 Standard Library provides the following helpers for writing generic code: #include // new helpers of C++17 are defined here template void foo(Container& c) { // Generic way to obtain: auto data = std::data(c); // - data; auto empty = std::empty(c); - [Learn About With Sharing C++ Data Structures On Windows](https://learncplusplus.org/learn-about-with-sharing-c-data-structures-on-windows/) - This session demonstrates how to share data structures. Using the Visual Studio created DLL header file, you will learn how to define the structure. By the end of the video, you will be able to gain more knowledge on sharing data structures. https://www.youtube.com/watch?v=IysP7LizDjI - [Learn About Sharing Open Files In C++ On Windows](https://learncplusplus.org/learn-about-sharing-open-files-in-c-on-windows/) - In this video, you will be learning how to share open files. By using a DLL function in Visual C++, it writes a string to a file and every time it's called it will append another string into the file with a new line separator for the C++ builder project. https://www.youtube.com/watch?v=KF0Kk-31biA - [Learn About Sharing Open Files In C++ On Windows](https://learncplusplus.org/learn-about-sharing-open-files-in-c-on-windows/) - In this video, you will be learning how to share open files. By using a DLL function in Visual C++, it writes a string to a file and every time it's called it will append another string into the file with a new line separator for the C++ builder project. https://www.youtube.com/watch?v=KF0Kk-31biA - [Learn Sharing Data Between C++ Projects On Windows](https://learncplusplus.org/learn-sharing-data-between-c-projects-on-windows/) - In this video, you will learn to create something a little more interesting. Creating another function to let you share data between dll's and applications or even pass the values in the applications. https://www.youtube.com/watch?v=laTE66m1Llk - [Learn About Delimiters (Tokens) in Modern C++ On Windows](https://learncplusplus.org/delimiters-tokens-in-modern-c/) - Delimiters (token term also used) are characters which separates strings between each of them. For example spaces, comas and other symbols can be used as a delimiter char to separate strings between them . Normaly in C++ strtok() were being used in C++, that is used with chars. In Modern C++, strings are now UnicodeStrings, - [Learn How To Create Compatible C++ DLL For Windows](https://learncplusplus.org/learn-how-to-create-compatible-c-dll-for-windows/) - This video discusses about utilizing the dynamic link library. It demonstrates how to create a DLL using Visual Studio. https://www.youtube.com/watch?v=cjotPqQxxAY - [Learn About C++ Object and Library Compatibilities On Windows](https://learncplusplus.org/learn-about-c-object-and-library-compatibilities-on-windows/) - Next up in the Rapid C++ Development series is a video about Object and Library Compatibilities. This video demonstrates how to integrate externally built object files with your C++ builder application. This is done by using the C++ builder IDE known as the RAD Studio and external source modules. https://www.youtube.com/watch?v=5ZFV-ACDIVg - [Learn How To Combine Embarcadero C++Builder And Visual C++ For Windows Development](https://learncplusplus.org/learn-how-to-combine-embarcadero-cppbuilder-and-visual-cpp-for-windows-development/) - In this video, you will get an overview of the course, discussing why you would combine Embarcadero C++ builder with Microsoft Visual C++. This video series will cover the development of Windows applications using C++ builder for the GUI or the graphics front end of the application. https://www.youtube.com/watch?v=QeIgJemdEfQ - [Categories of Iterators in C++](https://learncplusplus.org/categories-of-iterators-in-c/) - 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 - [Reverse Iterators in C++](https://learncplusplus.org/reverse-iterators-in-c/) - 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 reverse iterators if the operator -- is available for iterators with bidirectional traversing capabilities? The - [Insert Iterators Adapters in C++](https://learncplusplus.org/insert-iterators-adapters-in-c/) - Let's slightly modify the example from The Move Iterator Adapter in C++ post: #include #include #include #include /// @warning BUG! PLEASE, DON'T USE! auto deep_copy_to_list(const std::vector& src) { std::list dst; // constructs the empty list copy(cbegin(src), cend(src), begin(dst)); // cause memory corruption (if !src.empty())! return dst; } In the example above - [The Move Iterator Adapter in C++](https://learncplusplus.org/the-move-iterator-adapter-in-c/) - 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 #include #include #include auto deep_copy_to_list(const std::vector& src) { std::list dst(src.size()); // allocate the memory to - [Introduction to C++ Iterators](https://learncplusplus.org/introduction-to-c-iterators/) - 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 sequence. Iterator to the element of the sequence in range [begin, end) is valid from - [Stages of C++ Templates Compilation On Windows](https://learncplusplus.org/stages-of-c-templates-compilation/) - In order to compile C++ templates the compilers like Embarcadero RAD Studio C++ compilers are required to perform two stages: definition stage and instantiation stage. The template definition stage On this stage the following checks are performed: static assertions and availability of names declarations (such as names of classes and functions) independent on template parameters - [Learn C++ With Building an Intuition for Composition by Sy Brand (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-building-an-intuition-for-composition-by-sy-brand-cppcon-2020-video/) - This video is for you if you're tired of reading posts about "monads" and "endofunctors" that does not give you an idea of how they can actually support and improve your C++ programming. In C++, functions and data composition are becoming more relevant because of features such as ranges, continuable features, and new techniques for - [Learn C++ With Embedded: Customizing Dynamic Memory Management in C++ by Ben Saks (CPPCon 2020) Videos](https://learncplusplus.org/learn-c-with-embedded-customizing-dynamic-memory-management-in-c-by-ben-saks-cppcon-2020-videos/) - For several common programming problems, Dynamic Memory Allocation is a normal solution. New-expressions in C++ places dynamic memory through a function called operator new. However, too many resource-stricted systems fully ignore the use of new-expressions for customization, which is unfortunate because it has been developed for such purposes. This talk demonstrates how tailored dynamic memory - [Learn C++ With C++20 STL Features: One Year of Development on GitHub by Stephan T. Lavavej (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-c20-stl-features-one-year-of-development-on-github-by-stephan-t-lavavej-cppcon-2020-video/) - This video discusses the examples of C++20 features: span that makes it simpler to work with contiguous sequences, constexpr algorithms that make it possible to check if search tables are sorted at compiled time that eventually replaces the erase-move idiom, integer comparison features that make it easier to write correct code without thinking about the - [Learn C++ With Dealing With Embedded Limitations - Panel Discussion hosted by Ben Saks (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-dealing-with-embedded-limitations-panel-discussion-hosted-by-ben-saks-cppcon-2020-video/) - C++ in embedded contexts can both be very challenging and beneficial. This discussion showcases how to utilize the capability of Modern C++ features. Concerns based on facts and misconceptions will also be tackled in this session. https://www.youtube.com/watch?v=v_4D43nASt4 - [Learn C++ With C++20: An (Almost) Complete Overview by Marc Gregoire (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-c20-an-almost-complete-overview-by-marc-gregoire-cppcon-2020-video/) - This video summarizes the C++20 language and its Standard Library. It tackles new enhancements on the standard library as well, including: ranges, atomic smart pointers, cancellable threads, a synchronization library, and more. The content of the discussion has been updated with the final standard and a full overview of the C++20 characteristics. https://www.youtube.com/watch?v=FRkJCvHWdwQ - [Learn C++ With 2020: The Year of Sanitizers? by Victor Ciura (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-2020-the-year-of-sanitizers-by-victor-ciura-cppcon-2020-video/) - For most C++ programmers who are looking to enhance your code, Clang-tidy is their trusted assistant. However, even though static analysis is excellent, there are still false positives as well. Now that AddressSanitizer is available for windows, this video analyzes how it works and examine a ton of examples diagnosed by it. https://www.youtube.com/watch?v=xEzfnbTabyE - [Learn C++ With Modern Software Needs Embedded Modern C++ Programming by Michael Wong](https://learncplusplus.org/learn-c-with-modern-software-needs-embedded-modern-c-programming-by-michael-wong/) - This video discusses about Embedded Modern C++ Programming. It showcases common C++ features for each cases with Adopting to C++ and gradual adoption for various sizes of systems. Hopefully, this summary will give programmers a better understanding and practical view of what it takes to switch to Modern C++ for Embedded system. https://www.youtube.com/watch?v=885TI3jnB7g - [Learn C++ With Just-in-Time Compilation by JF Bastien (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-just-in-time-compilation-by-jf-bastien-cppcon-2020-video/) - In this video, you will learn about the C++ AOT Compiler, JITs for dynamic language, JITs for binary translation, and dive into compiler history. This explains how the understanding of compilers is monolithic and how compilers are really a continuum over time. https://www.youtube.com/watch?v=tWvaSkgVPpA - [Learn C++ With Back to Basics: Pointers and Memory by Ben Saks (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-back-to-basics-pointers-and-memory-by-ben-saks-cppcon-2020-video/) - 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 video explains how pointer operations behave - [Learn C++ With A Physical Units Library For The Next C++ by Mateusz Pusz (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-a-physical-units-library-for-the-next-c-by-mateusz-pusz-cppcon-2020-video/) - "MP-units' is a library that is proposed for C++ standardization. This video should get the audience acquainted and be familiar with its most significant principles, structure, and features. Mateusz illustrates code samples in his discussion on how the 'mp-units' library can use and solve real-life problems. https://www.youtube.com/watch?v=7dExYGSOJzo - [Learn C++ With 40 Years Of Evolution from Functions to Coroutines by Rainer Grimm (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-40-years-of-evolution-from-functions-to-coroutines-by-rainer-grimm-cppcon-2020-video/) - The evolution of C++ has a few main steps. From functions to function objects to lambda expressions to coroutines, these steps are far more important than just being syntactic steps. Each of these steps give new efficient ways to solve difficult tasks in programming. https://www.youtube.com/watch?v=jd6P9X8l2bY - [Learn C++ With Back to Basics: Templates by Andreas Fertig (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-back-to-basics-templates-by-andreas-fertig-cppcon-2020-video/) - 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 C++ developers who has not been using templates so far. - [Learn C++ With Test Driven C++ by Phil Nash (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-test-driven-c-by-phil-nash-cppcon-2020-video/) - The importance of testing can never be underestimated. Although sometimes, writing tests can be difficult and can be a little time-consuming. But there are other ways to make testing easier, like writing tests first. This video will give you insights on how to get you started and achieve more goals with TDD. https://www.youtube.com/watch?v=N2gTxeIHMP0 - [Learn C++ With Plenary: The Beauty and Power of "Primitive" C++ by Bjarne Stroustrup (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-plenary-the-beauty-and-power-of-primitive-c-by-bjarne-stroustrup-cppcon-2020-video/) - Advanced features of C++ mostly have the attention of programmers. Simple issues can be solved in simple ways under performance constraints. This video takes a deep dive into a design space and the use of C++ int that space. https://www.youtube.com/watch?v=ERzENfQ51Ck - [Learn C++ With Making Iterators, Views and Containers Easier to Write with Boost.STLInterfaces by Zach Laine (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-making-iterators-views-and-containers-easier-to-write-with-boost-stlinterfaces-by-zach-laine-cppcon-2020-video/) - One can easily mistake errors when writing standard-compliant iterators, since they have such broad interfaces. This video introduces Boost.STLInterfaces, a Boost library that was recently approved. This helps users to write correct iterators using uncomplicated codes. https://www.youtube.com/watch?v=JByCzWaGxhE - [Learn How To Use Auto-Typed Variables In C++ For Windows Development](https://learncplusplus.org/learn-how-to-use-auto-typed-variables-in-c-for-windows-development/) - auto-typed variables is a C++11 feature that allows the programmer to declare a variable of type auto, the type itself being deduced from the variable's initializer expression. The auto keyword is treated as a simple type specifier (that can be used with * and &), and its semantics are deduced from the initializer expression. auto-typed - [Introduction To C++ Windows Development With C++Builder](https://learncplusplus.org/introduction-to-c-windows-development-with-cbuilder/) - This video gives you a quick introduction to the RAD Studio and C++Builder IDE for quickly building beautiful Windows apps with C++. Eli M. walks you through how to set up both VCL and FireMonkey projects while going through some of the key IDE features. C++Builder is a rapid application development environment, originally developed by - [Learn The Initialization Of Class Objects By Rvalues When Building Windows Apps In C++](https://learncplusplus.org/learn-the-initialization-of-class-objects-by-rvalues-when-building-windows-apps-in-c/) - C++Builder includes the use of rvalue references, which allow creating a reference to temporaries. When you initialize to an class object using an rvalue(a temporary object), C++11 looks to see if you have defined a move constructor in your class. If you have, the temporary object is passed to it as a modifiable (non-const) rvalue - [Learn About Using Right Angle Brackets In This C++11 Feature For Windows Development](https://learncplusplus.org/learn-about-using-right-angle-brackets-in-this-c11-feature-for-windows-development/) - In the Clang-enhanced C++ compilers, two consecutive right angle brackets no longer generate an error, and these constructions are treated according to the C++11 standard. C++03's parser defines “>>” as the right shift operator or stream extraction operator in all cases. However, with nested template declarations, there is a tendency for the programmer to neglect - [Learn C++ With Back to Basics: The Structure of a Program by Bob Steagall (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-back-to-basics-the-structure-of-a-program-by-bob-steagall-cppcon-2020-video/) - In this talk, the fundamentals of how source code is converted into executable programs will be tackled. If fundamental concepts like declarations, definitions, translation units, and one-definition rule can be a bit confusing for you, then this refresher can help you have a better understanding. This session covers key concepts with more useful C++ information. - [Learn C++ With Back to Basics: The Abstract Machine by Bob Streagall (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-back-to-basics-the-abstract-machine-by-bob-streagall-cppcon-2020-video/) - The C++ abstract machine is commonly unknown to many programmers. This video introduces the C++ abstract machine; how it is relative to the C++ language and how it affects our perception with coding in C++. If you are only discovering about the C++ abstract at the moment, then this talk is for you. Participants will - [Learn About Using C++ rvalue References In The C++Builder BCC32 Compiler](https://learncplusplus.org/learn-about-using-c-rvalue-references-in-the-cbuilder-bcc32-compiler/) - BCC32, which is the classic C++Builder 32 bit compiler, includes the use of rvalue references, which allow creating a reference to temporaries. Also, rvalue references avoid unnecessary copying and make possible perfect forwarding functions. This feature is one of the C++11 features. Rvalue references are a compound type like standard C++ references, which are referred - [Learn C++ With Collaborative C++ Development with Visual Studio Code by Julia Reid (CppCon 2020) Video](https://learncplusplus.org/learn-c-with-collaborative-c-development-with-visual-studio-code-by-julia-reid-cppcon-2020-video/) - This video demonstrates how to optimize Visual Studio Code for productive open-source projects and collaborations. Programmers will learn how to work on collaborative projects while still having their own editor preferences. It showcases an in-depth exploration on C++ extensions and other necessary features for C++ development. https://www.youtube.com/watch?v=qCn6zT76zTs - [Learn C++ With Back to Basics: Class Layout by Stephen Dewhurst (CppCon 2020) Video](https://learncplusplus.org/learn-c-with-back-to-basics-class-layout-by-stephen-dewhurst-cppcon-2020-video/) - The main function that supports data abstraction in C++ are classes. In essence, a C++ class is a C framework with additional features. This video discusses the practical way of using classes to get a better sense of different programming tasks, as many programmers often think that classes take up space and speed penalties, when - [Learn C++ With Calling Functions: A Tutorial by Klaus Iglberger (CppCon 2020) Video](https://learncplusplus.org/learn-c-with-calling-functions-a-tutorial-by-klaus-iglberger-cppcon-2020-video/) - This tutorial summarizes what calling functions are and its step by step actions for a function call resolution. Programmers can gain a better understanding of the different details of function calls. https://www.youtube.com/watch?v=GydNMuyQzWo - [Learn C++ With The Hidden Secrets of Move Semantics by Nicolai Josuttis (CppCon 2020) Video](https://learncplusplus.org/learn-c-with-the-hidden-secrets-of-move-semantics-by-nicolai-josuttis-cppcon-2020-video/) - A distinctive feature of C++ modern programming is Move Semantics. Although, it can also be a complex subject as it complicates the language in several cases. Experts still have a hard time with its specifics. This video talks about the hidden secrets to understand move semantics and C++ better. https://www.youtube.com/watch?v=TFMKjL38xAI - [Learn C++ With The Hidden Secrets of Move Semantics by Nicolai Josuttis (CppCon 2020) Video](https://learncplusplus.org/learn-c-with-the-hidden-secrets-of-move-semantics-by-nicolai-josuttis-cppcon-2020-video/) - A distinctive feature of C++ modern programming is Move Semantics. Although, it can also be a complex subject as it complicates the language in several cases. Experts still have a hard time with its specifics. This video talks about the hidden secrets to understand move semantics and C++ better. https://www.youtube.com/watch?v=TFMKjL38xAI - [Learn C++ With Breaking Dependencies: The SOLID Principle by Klaus Iglberger (CppCon 2020) Video](https://learncplusplus.org/learn-c-with-breaking-dependencies-the-solid-principle-by-klaus-iglberger-cppcon-2020-video/) - SOLID consists of the five most essential software design principles namely: (S)ingle Responsibility (O)pen-closed Principle (L)iskov Substitution Principle (I)nterface Segregation Principle (D)ependency Inversion Principle These five principles have been established to be an effective collection of guidelines for nearly two decades. It was initially implemented as object-oriented programming which can be used for different methods - [Learn C++ With The Future of C++ Parallel and Concurrency Safety Guidelines by Michael Wong and Ilya Burylov (CppCon 2020) Video](https://learncplusplus.org/learn-c-with-the-future-of-c-parallel-and-concurrency-safety-guidelines-by-michael-wong-and-ilya-burylov-cppcon-2020-video/) - The guidelines for safe parallel/concurrency C++ has never been established. It is a challenge that has taken the most of time, especially with the constant change of the C++ standard. This video talks about the developing rules, which has yet to be finalized, but can give insights on the rationale of these rules. https://www.youtube.com/watch?v=SbQVY-JOrgg - [Learn C++ With Closing the Gap between Rust and C++ Using Principles of Static Analysis by Sunny Chatterjee (CppCon 2020) Video](https://learncplusplus.org/learn-c-with-closing-the-gap-between-rust-and-c-using-principles-of-static-analysis-by-sunny-chatterjee-cppcon-2020-video/) - The safety benefits of Rust language are commonly familiar for C++ developers. In the system programming languages, both Rust and C++ perform in high quality. However, customers and security researchers say that C++ is more secure when it comes to safety and correctness. This video provides ideas and guaranteed static analysis using the same concepts - [Learn C++ With Template Metaprogramming: Type Traits by Jodi Haggins (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-template-metaprogramming-type-traits-by-jodi-haggins-cppcon-2020-video/) - Template metaprogramming can be very broad. However, fundamental idioms exist and can be found useful with the modern C++ code. This video focuses on applying type traits from the standard library, as having knowledge in the fundamental idioms of template metaprogramming can be valuable when solving problems. https://www.youtube.com/watch?v=tiAVWcjIF6o https://www.youtube.com/watch?v=dLZcocFOb5Q - [How To Convert u32string To A wstring In C++](https://learncplusplus.org/how-to-convert-u32string-to-a-wstring-in-c/) - While C++ is one of the most modern programming languages in the world, in 2024, it still has problems with strings and conversions. One of the problems is new std::basic_string types, it is hard to display and convert them. For example, there are no perfect conversion methods between basic_strings, especially, from higher character type strings - [How To Convert u32string To A wstring In C++](https://learncplusplus.org/how-to-convert-u32string-to-a-wstring-in-c/) - While C++ is one of the most modern programming languages in the world, in 2024, it still has problems with strings and conversions. One of the problems is new std::basic_string types, it is hard to display and convert them. For example, there are no perfect conversion methods between basic_strings, especially, from higher character type strings - [Learn Copy Constructors in C++ Classes](https://learncplusplus.org/learn-copy-constructors-in-c-classes/) - In C++, constructors are one of the important parts of class types. There are different constructor types in C++ classes and the Copy Constructor is one of these. Copy Constructors are not only used in classes but also used with struct and union data types. In this post, we will try to explain the types - [Learn Copy Constructors in C++ Classes](https://learncplusplus.org/learn-copy-constructors-in-c-classes/) - In C++, constructors are one of the important parts of class types. There are different constructor types in C++ classes and the Copy Constructor is one of these. Copy Constructors are not only used in classes but also used with struct and union data types. In this post, we will try to explain the types - [How To Convert Char Array String To Unicode String Correctly In C++?](https://learncplusplus.org/how-to-convert-char-array-string-to-unicode-string-correctly-in-c/) - I think one of the biggest problems in C++ today is there's no perfect library to do conversions between strings in a global locale distribution. There are most problems when displaying or converting some characters in most languages. Moreover, there are more conversion problems between UTF8, UTF16, and UTF32 strings. There are solutions but I - [How To Develop A Simple Hopfield Network In C++](https://learncplusplus.org/how-to-develop-a-simple-hopfield-network-in-c/) - In the history of AI development, one of the greatest AI technologies was the pattern recognition models, especially to read texts from pixel images. One of them was the Hopfield network (or Ising model of a neural network or Ising–Lenz–Little model), which is a form of recurrent neural network, it was invented by Dr. John J. Hopfield - [How To Develop A Simple Hopfield Network In C++](https://learncplusplus.org/how-to-develop-a-simple-hopfield-network-in-c/) - In the history of AI development, one of the greatest AI technologies was the pattern recognition models, especially to read texts from pixel images. One of them was the Hopfield network (or Ising model of a neural network or Ising–Lenz–Little model), which is a form of recurrent neural network, it was invented by Dr. John J. Hopfield - [How To Develop Special AI Activation Functions In C++?](https://learncplusplus.org/how-to-develop-special-ai-activation-functions-in-c/) - Artificial Intelligence models in today's AI development are rapidly increasing. These models execute and learn using mathematical functions that optimize the best result when it propagates or chooses the best solutions when it back propagates between artificial neurons. One of these functions is the Activation Function. Also called a transfer function, or threshold function it - [Learn Default Constructors Of Classes In Modern C++](https://learncplusplus.org/learn-default-constructors-of-classes-in-modern-c/) - Classes in C++ are the main building blocks of Object Oriented Programming Tools. They have a special function known as a constructor which is automatically called when an object of a class is created. There is a default constructor type in classes that is called when a class is defined with no arguments, or it - [Learn How To Read The WAV Waveform Audio File Format In C++](https://learncplusplus.org/learn-how-to-read-the-wav-waveform-audio-file-format-in-c/) - Sound is one of the important parts of computer science and programming. The correct use of sound can add excitement to recreational apps such as games or it can act to alert the user to an important event or state change in a utility or business-focused program. We have many different sound formats to play sound files in our - [Learn How To Read The WAV Waveform Audio File Format In C++](https://learncplusplus.org/learn-how-to-read-the-wav-waveform-audio-file-format-in-c/) - Sound is one of the important parts of computer science and programming. The correct use of sound can add excitement to recreational apps such as games or it can act to alert the user to an important event or state change in a utility or business-focused program. We have many different sound formats to play sound files in our - [What Is Atomic (std::atomic) In Modern C++?](https://learncplusplus.org/what-is-atomic-stdatomic-in-modern-c/) - In modern C++, the concurrency support library is designed to solve problems in multi-thread operations. This library includes built-in support for threads (std::thread), atomic operations (std::atomic), mutual exclusion (std::mutex), condition variables (std::condition_variable), and many other features of a modern C++ compiler. In this post, we explain what is std::atomic and how we can use atomic types efficiently - [What Is An Implicitly-declared Move Constructor In Modern C++?](https://learncplusplus.org/what-is-an-implicitly-declared-move-constructor-in-modern-c/) - Since the C++11 standards, in modern C++ Programming, one of the features is the move constructor that allows you to move the resources from one object to another object without copying them. One of the move constructors is the implicitly-declared move constructor, which is declared in a base class. In this post we explain the - [How To Use Gamepad Or Joystick Controller In A C++ Builder VCL App?](https://learncplusplus.org/how-to-use-gamepad-or-joystick-controller-in-a-c-builder-vcl-app/) - C++ is one of the most powerful programming languages that we can use to create games that are playable with mouse, keyboard and gamepads or joysticks. We use C++ not just in games but also in almost every kind of industry, in robotics, and in the control of IoT devices. Games frequently have better playability - [Learn About Extern Templates In Modern C++](https://learncplusplus.org/learn-about-extern-templates-in-modern-c/) - The template feature in C++ is one of the great capabilities of modern C++. A template is a simple and very powerful statement in C++ that defines the operations of a class or function. In this article, we will show how extern templates can be used in a modern C++ app based on recent C++ standards. First of - [How To Write A C program](https://learncplusplus.org/how-to-write-a-c-program/) - Before you start C programming, you should know what modern tools you need to write a C app. You need a professional C/C++ IDE and a C/C++ compiler to compile and run your applications. The RAD Studio and C++ Builder IDEs are extremely powerful development tools for those who want to develop C and C++ - [How To Replace A Wide String Into Another In A C++ App](https://learncplusplus.org/how-to-replace-a-wide-string-into-another-in-a-c-app/) - How can I use replace() method of std::wstring in my C++ app? How can I replace a wstring into another wstring? Can we replace char array to a wstring? How can I replace number of chars to a wstring? Is it possible to replace a wide string with a substring of another wide string? Here - [3 Ways To Remove Characters From WString In A Modern C++ App](https://learncplusplus.org/3-ways-to-remove-characters-from-wstring-in-a-modern-c-app/) - How can I remove a character from a wide string in my C++ app? How can I use pop_back() method in wide strings? Can I use erase() and resize() methods in std::wstring to remove characters? Modern C++ uses Wide Strings and Unicode Strings to support worldwide languages. Wide Strings (std::wstring) uses wcha_tr as the character type which means they are 2-bytes chars and they - [How To Convert A String to a Wide String In A Modern C++ App](https://learncplusplus.org/how-to-convert-a-string-to-a-wide-string-in-a-modern-c-app/) - How can I convert std::string to a std::wstring in a modern C++ app? How can I convert single byte string to 2-bytes wide string? Here are the answers with C++ examples. In Modern C++, there are several typedefs for common character types are provided: Wide string types are defined in header . strings are the string class - [What You Need To Know About std::basic_string In Modern C++](https://learncplusplus.org/what-you-need-to-know-about-stdbasic_string-in-modern-c/) - In this post, you'll learn what a basic string is in modern C++ and how to use it. Is std::basic string equivalent to std::string? By learning more about std::basic string, it will help you to easily build C++ applications using the C++ IDE. What is basic_string? The basic_string (std::basic_string and std::pmr::basic_string) is a class template - [What You Need To Compile Delphi Projects in C++ Builder](https://learncplusplus.org/what-you-need-to-compile-delphi-projects-in-c-builder/) - Do you know you can use Delphi or Pascal files in your C++ applications? RAD Studio is a very powerful IDE that comes with Delphi and C++ Builder. Delphi uses a version of the Object Pascal programming language while C++ Builder uses mainly C++. If you have Rad Studio you can easily use Delphi functions - [Learn to Display Formatted Floating Numbers in C++ Builder](https://learncplusplus.org/learn-to-display-formatted-floating-numbers-in-c-builder/) - How we can display floating or double numbers in C++ Builder? How we can apply formatting display to floating numbers? How we can use StrToFloatF method in C++ Builder? Can we use printf in Modern C++? Let's answer all these questions. What does the phrase "formatted floating point numbers" mean in C++? In programming, we - [AI Techs :: Minimum Edit Distance Method in Unicode Strings in C++](https://learncplusplus.org/ai-techs-minimum-edit-distance-method-in-unicode-strings-in-c/) - In the Artificial Intelligence Technology, mostly in the field of Natural Language Processing (NLP), Computer Linguistics and in other fields of Computer Science, The Edit Distance Method is a way of quantifying how dissimilar two text far from each other in char comparison by counting the minimum number of operations required to transform one string into the - [Learn about Eligible Default Constructor in C++](https://learncplusplus.org/learn-about-eligible-default-constructor-in-c/) - Do you want to learn what is Eligible Default Constructor or what kind of methods we have that we can declare and use Eligible default constructors? In this post, we will try to explain the Eligible Default Constructor with examples. The Constructor in C++ is a function, a method in the class, but it is a - [Learn Implicitly Declared Default Constructor in C++](https://learncplusplus.org/learn-implicitly-declared-default-constructor-in-c/) - The Constructor in C++ is a function, a method in the class, but it is a 'special method' that is automatically called when an object of a class is created. We don't need to call this function. Whenever a new object of a class is created, the Constructor allows the class to initialize member variables or - [Learn C++ With No Touchy! A Case Study of Software Architecture with Immutable Objects by Borislav Stanimirov (CPPCon 2020) Video](https://learncplusplus.org/learn-c-with-no-touchy-a-case-study-of-software-architecture-with-immutable-objects-by-borislav-stanimirov-cppcon-2020-video/) - This video is concerned with the multi-threaded and multi-process architecture of the software. It focuses on one of its components: immutable objects. It talks about how we ended up sticking to immutable objects, how they helped (and sometimes hindered) our development, what we invented to make them practical in C++, and the problems and solutions - [Modern Windows "Hello World" 3D Example in C++ Builder](https://learncplusplus.org/modern-windows-hello-world-3d-example-in-c-builder/) - If you are a beginner "Hello World" examples are good to understand feature of that programming language. It is good to understand how to edit text, how to write in its format, how to compile and link, how to debug and execute, how to deploy or release. This example below is a modern "Hello World" - [Learn To Use Mathematical And Trigonometric Functions In C++](https://learncplusplus.org/learn-to-use-mathematical-and-trigonometric-functions-in-c/) - C & C++ is good to operate in mathematical operations because of its wide variety of variable definitions, wise memory usage and it's operators in mathematics. C++ has a lot of mathematical functions that you can do mathematical tasks. Some operators may work with integers, some works with floating numbers, most are usable with both - [Quickly Learn How To Use Canvas Drawing In C++ On Windows](https://learncplusplus.org/quickly-learn-how-to-use-canvas-drawing-in-c-on-windows/) - In C++ Builder, it is easy to draw images on Bitmaps by using Canvas property and methods to draw, Canvas can be used on both VCL and FMX applications. Canvas provides an abstract drawing space for objects that must render their own images. TCanvas provides properties, events, and methods that assist in creating an image by: ## Pages - [Licenses](https://learncplusplus.org/licenses/) - LICENSES One of the best way to learn C++Builder and C++ is with Embarcadero’s RAD Studio, a powerful Integrated Development Environment (IDE) and a robust set of libraries and frameworks that makes building applications easy. C++Builder in RAD Studio is a commercial product, but is available for most education uses for free. Additionally, it has - [Licenses](https://learncplusplus.org/licenses/) - LICENSES One of the best way to learn C++Builder and C++ is with Embarcadero’s RAD Studio, a powerful Integrated Development Environment (IDE) and a robust set of libraries and frameworks that makes building applications easy. C++Builder in RAD Studio is a commercial product, but is available for most education uses for free. Additionally, it has - [Privacy Policy](https://learncplusplus.org/privacy-policy-2/) - At www.yourdomain.com, the privacy of our visitors is of extreme importance to us. This privacy policy document outlines the types of personal information is received and collected by www.yourdomain.com and how it is used. Log Files Like many other Web sites, www.yourdomain.com makes use of log files. The information inside the log files includes internet ## MailPoet Page - [MailPoet Page](https://learncplusplus.org/?mailpoet_page=captcha) - [mailpoet_page] - [MailPoet Page](https://learncplusplus.org/?mailpoet_page=subscriptions) - [mailpoet_page]