Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
C++Code

How To Use Graphics With Modern Data Containers In C++ Builder 12

How To Use Graphics With Modern Data Containers In C++ Builder 12

Hello C++ Developer, this week we have a new meeting about the latest C++ Builder 12 update, and we have 3 new posts to share with you. In these posts, we explain TViewport3D and TMesh components and we create a parametric torus function to draw different torus types in modern C++. We have two more posts about modern data containers, these are std::set and set::deque

C++Builder has a brand new Clang compiler, and it’s a big deal for the IDE’s toolchain! Embarcadero’s C++Builder Product Manager David Millington took us through a new “Behind The Build” session for a frank and open behind-the-scenes look at the new Clang. Please note all features are not final and are subject to change or removal until the GA release.

Where I can I learn C++ to 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:

How to use modern data containers with C++ Builder 12?

In C++ Builder, 3D objects can be easily displayed by using a Viewport3D component. We can change their shape, position, color, materials, etc. on design time or runtime. We can add Texture Materials or Light Materials to them. We can group them by using Dummy objects. In the first post, we explain what a Viewport3D is and how to draw a very parametric 3D Torus in C++ Builder.

Modern C++ has a lot of options to add and modify data members with its amazing data holders, arrays, structs, pointers, and containers. Containers are powerful data storage arrays in C++ and they are very useful to iterate and search. A container is a holder object that stores data elements (a collection of data objects). std::arraystd::vector, and std::map are these kinds of containers. There is another useful container std::set, in the next post, we explain what std::set is.

In addition to the std::set data container, there is another useful container std::deque that allows you to add members to the front or the back of the member list efficiently. In the last post, we explain what std::deque is and give some examples.

How to learn modern C++ for free using C++ Builder?

LearnCPlusPlus.org has been producing full of educational 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.

How to learn modern C++ for free using C++ Builder?

LearnCPlusPlus.org has been producing full of educational 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?

RAD Studio 12 focused on many quality and stability improvements for both Delphi and C++ as well as the whole IDE. However, it also contains a number of really great improvements specifically for C++ developers including a new preview of the CLANG toolchain and the totally awesome integration of the popular Visual Assist functionality. Here are every new and enhanced feature of RAD Studio 12, C++ Builder 12 and Delphi 12.

How To Use Graphics With Modern Data Containers In C++ Builder 12 C++ Logo

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.

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.

See What's New in 12.2 Athens See What's New in 12.2 Athens Dev Days of Summer 2-24

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

About author

Dr. Yilmaz Yoru has 35+ years of coding with more than 30+ programming languages, mostly C++ on Windows, Android, Mac-OS, iOS, Linux, and some other operating systems. He graduated and received his MSc and PhD degrees from the Department of Mechanical Engineering of Eskisehir Osmangazi University. He is the founder and CEO of ESENJA LLC Company. His interests are Programming, Thermodynamics, Fluid Mechanics, Artificial Intelligence, 2D & 3D Designs, and high-end innovations.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES