Tutorials

C++ Mode comes in two forms. One is a plugin for the Processing IDE, which lets you write sketches inside Processing itself just like you normally would. The other is a standalone header library you can drop into any C++ project and use from your own editor and build system. Pick the section that matches what you're trying to do.

Using C++ Mode inside the Processing IDE

This is for people who want the Processing experience they're already familiar with, writing setup() and draw() inside the Processing app, hitting Run, and seeing a window open. C++ Mode compiles your sketch to native C++ behind the scenes, but the workflow is identical to any other Processing mode.

Getting Started with C++ Mode
How to install the C++ Mode plugin and write your first sketch in the Processing IDE.
Installing the plugin
How to install C++ Mode through the Processing Contribution Manager, with screenshots.

Using the header library in your own C++ project

This is for people who want to use the Processing-style API directly in a C++ project, without opening the Processing IDE at all. You write #include "Processing.h" at the top of your file and build with your own compiler and tools. Two setup options are available depending on whether you use CMake or not.

Plug and Play Setup
The simplest path. Unzip one folder next to your source file and run a script to build. No CMake, no configuration. Good if you're just starting out or want something running quickly.
CMake Setup
Adds the engine to your project as a proper CMake library target. Pick this if your project already uses CMake, or if you want a setup that scales as your project grows.

Still not sure which one fits? If you know Processing and just want to keep working the same way, go with Getting Started. If you want to use the engine in a C++ project you're writing yourself, Plug and Play is the quickest way in.