Logic#

The Logic pages collect the core C++ language features and helper classes used to control program flow, store data, organize reusable code, and handle timing, events, or utilities that are not tied to a specific device.

  • Control - Manages project flow using conditionals and loops.

  • Math - Provides mathematical operations and built-in calculation functions.

  • Random - Generates random numbers and selects random values.

  • Operators - Compares values, combines expressions, and performs logical tests.

  • Comments - Write notes inside of the code without affecting project execution.

  • Events - Lets you define and trigger event-driven behavior using broadcast functions.

  • Variables - Stores and manages data used throughout your program.

  • Functions - Groups reusable blocks of code into callable units.

  • Threads - Allows multiple parts of a program to run concurrently.

  • Custom Timer - Measures time intervals and triggers actions after a set duration.

  • Custom Colors - Defines custom colors using RGB or hexadecimal values.

  • String Formatting - Formats text and numerical output for display.

Together, these features provide the foundational tools for building structured, responsive, and maintainable C++ projects.