Hello C++ Developers, Yilmaz here from LearnCPlusPlus.org. This month, the new RAD Studio 12, the new C++ Builder 12, and the new Delphi 12 were released packed full of great features, optimizations, and improvements. We’ve had some great positive and encouraging feedback especially about one of the great features of C++ Builder 12 the new Visual Assist (VA) with code completion, refactoring, and very powerful navigation. Feedback for the CLANG C++ compiler preview is also very encouraging for the future of C++ Builder. It is another big step introducing a new 64bit bcc64x CLANG (15.x) compiler (Version 7.60), which supports C++11, C++14, C++17, and partially the C++20 standards. There were many new features in IDE, libs, components, and compilers on both C++ Builder and Delphi side. Please see below for details.
This week 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
std::is_final type trait that can be used to detect if a class or a method is marked as a final or not. The second post is about the new
end() iterators that come with C++14 and are used to define the start of iteration and the end of the iteration. The other new post is about the
std::integer_sequence is a class template for the sequence of integers that is generated at compile-time.
It has been 3 years since we start adding posts to our educational LearnCPlusPlus.org site, it has a broad selection of new and unique posts with examples suitable for everyone from beginners to professionals alike. It is growing well thanks to you, and we have many new readers, thanks to your support! The site features a treasure-trove of posts that are great for learning the features of modern C++ compilers with very simple explanations and examples.
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 modern C++ with C++ Builder?
In C++11, the
final specifier is used for a function or for a class that cannot be overridden by derived classes, and there was no way to check if that class or method is the final. In C++14, there is a
std::is_final type trait that can be used to detect if a class or a method is marked as a final or not. In the first post, we explain how we can use the
std::is_final type trait in C++14 and C++17.
Iterators are one of the most useful features of containers in modern C++. Mostly we use them with vectors, maps, strings, and other containers of C++. In C++11, the
end() iterators are used to define the start of iteration and the end of the iteration, mostly used in the for loops. In C++14, there are new additions to the global
std::end functions, and in the next post, we explain these new begin-end iterators.
In modern programming sometimes we want to use a sequence of integers that are created at compile-time. In C++14, the
std::integer_sequence is a class template for the sequence of integers that is generated at compile-time. In the last post, we explain what integer sequence (
std::integer_sequence) is in modern programming.
How to learn modern C++ 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.
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.