C++C++11C++14C++17Introduction to C++Learn C++

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…
Read more
C++Learn C++

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 pixels in colors. You just need to change the…
Read more
C++Game DevelopmentLanguage FeatureLearn C++

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. Using C++ Builder for animations, simulations and games is not difficult C++…
Read more
C++C++11C++14C++17Introduction to C++Learn C++

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…
Read more