Skip to content

Compile C++11 / C++14 / C++17 / C++20 snippets with Notepad++ and MinGW/gcc 9.2.0

Notifications You must be signed in to change notification settings

dacap/pocketcpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

Pocket C++

Portable and easy to use editor to write and test C++11/14/17/20 snippets.

Features

Download

Pocket C++ 0.8 Windows 64-bit

See FAQ for installation instructions and more.

Notes

  • The .cpp file must be self-contained (it must contain a main() 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