Hello C++ Developers, this week, we have 3 more modern C++ features that can be used in C++ Builder. In C++14 you can store string in strings using modern programming methods. In the first post, we explain how you can preserve the string format especially when we use a string in a string with /”. Containers are powerful data storage arrays in modern C++ and they are very useful for iterating and searching data with their amazing methods and properties. In another post today we explain what the containers in modern C++ are, their types, and their methods. In C++14, there is a new
decltype that is used with the
auto keyword, and in the last post pick, we explain how you can use it.
Our educational LearnCPlusPlus.org site 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.
Table of Contents
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 development, sometimes we want to preserve the string format especially when we use a string in a string with /”. In C++14 and above, there is a
std::quoted template that allows handling strings safely where they may contain spaces and special characters and it keeps their formatting intact. In the first post, we explain the
std::quoted template, and how you can use it with in examples.
Containers are powerful data storage arrays in modern C++ and they are very useful to iterate and search data with their amazing methods and properties. The C++ Standards library defines 4 container types. In the next post, we explain containers and types in modern C++.
auto keyword arrives with the new features of C++11 and the standards above. In C++14, there is a new
decltype that is used with the
auto keyword. In modern C++, the
auto) type-specifier deduces return types while keeping their references and cv-qualifiers, while auto does not. In the last post, we explain what
auto) is in modern C++ and how to use it.
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.
Do you want to know some news about C++ Builder 12?
A few weeks ago, David Millington, Senior Product Manager of C++ Builder, released a new video about “Behind the Build: RAD Studio and C++Builder 12.0“. According to David Millington’s post, C++ Builder is aiming to include some amazing features and a lot of performance improvements in operations. C++Builder 12 plans to bring some massive improvements, the enhanced Clang toolchain and Visual Assist integration, substantial improvements across RTL, STL, debugging, and more. Here is the full presentation,
Please note that all comments and statements about potential new features are subject to change and should not be relied on until the GA release of a product is available.
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 cross-platform 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 version.