C++C++11C++14C++17Learn C++SyntaxTemplates

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 all, let’s remind ourselves of what templates are in C++. What is a…
Read more
CC++C++11C++14C++17Learn C++Syntax

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…
C++C++11C++14C++17Game DevelopmentIntroduction to C++Learn C++Syntax

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 engine you will find an IDE like C++ Builder supports event handling just fine, and you can…
Read more
C++C++11C++14C++17Learn C++SyntaxTemplates

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 C++ IDE and compiler to try things out for yourself.  What is a template…
Read more
C++C++17Learn C++SyntaxTemplates

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, we will explain the Implicit Instantiation of a Template…
Read more