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 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 along too.  First of all, let’s try to explain what a template…
Read more
C++C++11C++14C++17Learn C++Templates

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