pocketcpp
pocketcpp copied to clipboard
Compile C++11 / C++14 / C++17 / C++20 snippets with Notepad++ and MinGW/gcc 9.2.0
Pocket C++
Portable and easy to use editor to write and test C++11/14/17/20 snippets.
Features
- Press
F9
key to compile C++ files - Press
Ctrl+F9
to execute the compiled program - Press
F4
/Ctrl+F4
to go to next/previous compiler error - Includes MinGW Distro by Stephan T. Lavavej, gcc 9.2.0 (supported features)
- Includes Notepad++ v7.8.9 with NppExec plugin
- Includes cmake v3.18.2
Download
See FAQ for installation instructions and more.
Notes
- The
.cpp
file must be self-contained (it must contain amain()
function), - The file is compiled using
-std=c++2a
flag with gcc 9.2.0 - Static linking (
-static
) is used to generate the output (.exe
file), in this way it doesn't depend on external.dll
(e.g. C++ runtime). - In next versions you'll be able to link multiple
.cpp
files and to use third party libraries like Boost and SDL (which are already included in the Pocket C++ distribution).
Pocket C++ looks like (is) Notepad++

You can press F9 to compile your .cpp files. If there are compilation errors you can double-click them to go to the specific line.

You can press Ctrl+F9 to execute the compiled program
