Hello Developers, 2024 is getting closer, and on your desktop or laptop there is a RAD Studio, C++ Builder 12, a modern C++ IDE. Combine these with a hot coffee, these are enough to develop great applications. C++ remains hugely popular and C++17 was another big milestone in the history of C++. It comes with a lot of new features, and today we have 3 posts about them.
We have 3 new post picks from LearnCPlusPlus.org that can be used with the new C++ Builder 12. The first post-pick is about the new fold expressions in C++ 17. Another post is about the filesystem library features that come with C++17 and the other post is about the strings in C++, we teach you what is
UnicodeString in Modern C++.
We are amazed by the new RAD Studio 12 that we can develop modern computational applications, and there are big improvements and massive changes in C++ Builder 12 as well as in Delphi 12. Here is an extensive video that explains details of some of the many improvements and changes.
Where I can I learn C++ and test these examples with a free C++ compiler?
If you don’t know anything about C++ or the C++ Builder IDE, don’t worry, we have a lot of great, easy to understand examples on the LearnCPlusPlus.org website and they’re all completely free. Just visit this site and copy and paste any examples there into a new Console, VCL, or FMX project, depending on the type of post. We keep adding more C and C++ posts with sample code. In today’s round-up of recent posts on LearnCPlusPlus.org, we have new articles with very simple examples that can be used with:
- The free version of C++ Builder 11 CE Community Edition
- or a professional version of C++ Builder
- or free BCC32C C++ Compiler and BCC32X C++ Compiler
- or the free Dev-C++
How to use C++ with C++ Builder?
C++17 is another big milestone in the history of C++, it comes with a lot of new features. In C++17, the fold expressions feature is a powerful tool that allows us to fold a parameter pack over a binary operator. Folding Expressions are very useful with variadic templates, and this feature makes template arguments more readable and concise. There are 4 different types of usage and in the first post we will give syntax and simple examples about each of them.
In modern C++, the filesystem library allows portable interaction with directories and directory-like structures providing functions such as listing directory contents and moving files. After the C++17 standard, the contents of the Filesystems Technical Specification are now part of modern C++ and are implemented in the filesystem library. Some of classes are
file_status, … and some of non-member functions in this library are
is_empty, … In the last post we explain what is the Filesystem Library in modern C++ and we have very educational examples.
In programming, one of the most used variable types are text strings, and they are sometimes really important when storing and retrieving valuable data. It is important to store your data safely in its language and localization. Most programming languages have issues when storing texts and letters. In C++, there is very old well-known string type (arrays of chars) and modern types of
std::basic_string types such as
std::wstring. In addition to these modern string types, C++ Builder has another amazing string feature, UnicodeString. In the next post, we explain what a basic string and UnicodeString are in modern C++ and how to use them.
There are C++ examples and more resources in each post, please see them below.
How to learn C++ 17 features for free using C++ Builder?
LearnCPlusPlus.org has been producing full of educational daily articles about C and modern C++ that can be used with C++ Builder, C++ Builder CE, Dev-C++, BCC Compiler and some other compilers such as the GCC compiler. Here are our post picks for today.
If you need more details about any topic, you can search your keywords in our LearnCPlusPlus.org website.
We like to hear your feedback. You motivate us so much with your likes and comments on social media (find us on Facebook, LinkedIn, Reddit, Twitter / X and all over) and here on the blogs too. Thank you for your valuable comments and questions. All of them help improve the quality of our future posts.
We have a lot of unique posts waiting to come. We keep adding new topics every week 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.
C++ Builder is the easiest and fastest C and C++ IDE for building everything from simple to professional applications. It is also easy for beginners to learn with its wide range of samples, tutorials, help files, and LSP support for code. RAD Studio’s C++ Builder version comes with the award-winning VCL framework for high-performance native Windows apps and the powerful FireMonkey (FMX) framework for UIs.
There is a free C++ Builder Community Edition for students, beginners, and startups; it can be downloaded from here. For professional developers, there are Professional, Architect, or Enterprise versions of C++ Builder and there is a trial version you can download from here.