C++C++11C++14C++17Code SnippetLanguage FeatureLearn C++

Quickly Learn How To Use Canvas Drawing In C++ On Windows

In C++ Builder, it is easy to draw images on Bitmaps by using Canvas property and methods to draw, Canvas can be used on both VCL and FMX applications. Canvas provides an abstract drawing space for objects that must render their own images. TCanvas provides properties, events, and methods that assist in creating an image by: Specifying the type of brush, stroke, and font to use.Drawing and…
Read more
C++Learn C++Videos

Learn C++ With Back to Basics: Algebraic Data Types by Arthur O'Dwyer (CPPCon 2020) Video

In this session, the video will clarify the math behind the name and discuss the meaning and use of all algebraic data types in C++17: pair, tuple, optional, and variant. The video will also demonstrate how to use std::optional for delayed initialization and how to substitute dynamic polymorphism with visitation over std::variant. Audience will leave the session with a newfound respect for the…
Read more
C++Game DevelopmentLanguage FeatureLearn C++

Learn To Display 360 Degree Spherical Images In C++ Builder On Windows

360 Degree Spherical photos are good to capture all around in that moment. In this post here we give a simple example to display this pictures in eyeview with ability to rotate in any angle. This method can be used on drawings or generated drawings too. In this method we use a 3D environment, we put the camera to the center of this environment and we put a 3D Sphere with a texture which has this…
Read more