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++C++11C++14C++17ComponentsLanguage FeatureLearn C++

Quickly Learn About Basic Windows C++ Components (QuickLook Part 4)

TrackBar Trackbar is a slider on the form that allows users to get numeric values by dragging the track. A track bar can set integer values on a continuous range. It is useful for adjusting properties like color, volume and brightness. The user moves the slide indicator by dragging it to a particular location or clicking within the bar. We can set its Oriantaion to Horizantal or Vertial. We…
Read more