Site icon Embarcadero RAD Studio, Delphi, & C++Builder Blogs

In C++ – Fantastic Ball Physics And Wonderful Wide Strings

In C++ Fantastic Ball Physics And Wonderful Wide Strings

Hello Again C++ Developers,

We have new LearnCPlusPlus.org  picks for you this week.

LearnCPlusPlus.org is the fresh source to learn how to use the powerful Modern C++ language in easy steps. We test examples with the latest RAD Studio, C++ Builder versions (10.4.2) to test modern ways in CLANG C++ Standards. Because of CLANG, most of our posts are compatible with Dev-C++, C++ Builder Community Edition, Visual C++, GNU C+/C++, Objective-C. Some of our posts are specific to VCL and FMX examples in C++ Builder. We are also trying to run old core methods in new modern ways in the latest C++ IDE. We really believe this and everything we do is aimed at giving you a rapid introduction to programming in C++ if you’re a beginner, all the way to the most robust, modern, and latest techniques for those more experienced with the language or for those who are perhaps wanting to expand their knowledge with the most up-to-date features, routines, and methodologies.

Here are our favorite C++ posts of this week

Lots of great posts this week. Here are our picks from LearnCPlusPlus.org,

What are the top C++ questions from the game developers?

We answer some C++ questions especially for C++ beginners

How to simulate realistic 2D or 3D ball physics with Viewport3D or OpenGL

In C++, we can simulate realistic 2D and 3D ball physics in easy and accessible ways. We can simulate ball physics with given ball velocity, and gravity in that environment. Here are our posts about these,

Learn how to use C++ Wide String methods

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 <string>. Here are the some of methods about using wide strings;

We keep adding new topics about C++ in general and specific topics for C++ Builder, Dev-C++, and for the other C++ compilers. Please keep following our LearnCPlusPlus.org website for the latest posts and updates. Feel free to comment and share with your colleagues, students, members – knowledge is power, and knowledge shared is empowering.

Check out everything you need to know about Substring C++ in this informative blog.


C++ Builder is the easiest and fastest C and C++ IDE for building simple or professional applications on the Windows, Mac-OS, iOS & Android operating systems. There is a free C++ Builder Community Edition for students, beginners, and startups; it can be downloaded from here. For professional developers, we have Professional, Architect, or Enterprise versions of C++ Builder and there is a trial version you can download from here.

Exit mobile version