All apps/c++

c++

cpp

The system C++ compiler driver.

Runs as c++|macOS, Linux, Windows

Command form

ai-draft · 2 tasks · 10 fields

Compile or link C++ sources. Only common options are offered; warnings, optimization levels and linker libraries are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui cpp
Compile C++Example values, fixed in this page — nothing here reaches a terminal
Basic
Source files*
file
Output file
file
Language standard
string
TasksEach one presets the form for one job
Build an executable
filesoutputstd
Compile to an object file
filesstdcompile_only
ParametersOnly these flags are editable in the form
Source files
path · positional 0 · repeatable
Output file
path
-o
Language standard
string
-std=c++11c++14c++17c++20c++2b
Compile only (no link)
boolean
-c
Debug info
boolean
-g
Include directories
path · repeatable
-I
Library directories
path · repeatable
-L
Macro definitions
NAME or NAME=value.
string · repeatable
-D
POSIX threads
boolean
-pthread
Preprocess only
boolean
-E
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed c++ against its version. A form that does not match your version is not offered.