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

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…
Read more
C++C++11C++14C++17Introduction to C++Learn C++

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…
Read more
C++Introduction to C++Language FeatureLearn C++

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 C++ programs a lot easier C++ Builder is the easiest and fastest C and C++…
Read more
C++Game DevelopmentLanguage FeatureLearn C++

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 environment. C++ Builder is a great compiler and IDE with FireMonkey and VCL frameworks. It has compilers…
Read more