The C++ questions were only shown to the developers who chose C++ as one of their three primary programming languages.

Which C++ standards do you regularly use?

28%
C++17
33%
C++14
61%
C++11
8%
C++03
13%
C++98

People continue to adopt the new C++ standards. The usage of C++17 has grown by 10 percentage points since last year.

One in three developers is planning to adopt C++17 in the next 12 months. Let’s wait and see if our survey next year confirms this!

Which IDE / editor do you use the most for C++ development?

27%22%18% 7% 5% 4% 3% 3% 2% 2%Visual StudioCLionVisual Studio CodeVi/VimEclipse CDTQtCreatorXcodeSublimeAtomNetBeans
All results

Which unit-testing frameworks do you regularly use?

37%25%10% 8% 4% 3%34%Google TestCppUnitBoost.TestCatchCppUTestOtherNone

Use of CppUnit has increased by 10 percentage points since last year.

Half of the C++ devs don't use anything to manage their dependencies.

What dependency managers do you use in your projects?

27%12% 5% 4% 4% 3% 2%50%I rely on a system package managerNugetConanbuild2vcpkgHunterOtherNone

Which project models or build systems do you regularly use?

42%37%33% 9% 9% 8% 8% 6% 2% 1% 3%12%CMakeVisual Studio projectMakefilesQmakeXcode projectAutotoolsCustomBoost.BuildBazelSConsOtherNone

Last year CMake beat Visual Studio project to become the most popular project model / build system used for C++ development.

Its share has since added 5 percentage points and reached 42%.

Which compilers do you regularly use?

66%GCC
32%Clang
30%MSVC
12%Intel
10%Custom
1%Other

Other than a slight increase in Clang usage, the popularity of C++ compilers hasn’t changed.

Which of the following tools do you or your team use for guideline enforcement or other code quality/analysis?

38%14%12%10% 6% 5% 5% 5% 4% 3%Tool provided by my IDEClang-analyzer / Clang Static AnalyzerClang-tidyCppcheckCpplintParasoft C/C++testCoverityQA-C++StackPC-lint / Flexelint
All results

Which of the following coding advice/guidelines sources do you or your team actively use?

30%25%21%10% 7% 5% 5% 4% 3% 1%Effective C++ seriesGoogle C++ Style GuideC++ Core Guidelines – main projectC++ Coding StandardsC++ Core Guidelines – a company-specific fork/branch augmented with internal rulesCERT C++ Secure Coding StandardCoding StandardsGuru of the Week / Exceptional C++ seriesHigh Integrity C++ Coding StandardMISRA C++
All results

The adoption of style guides and guideline enforcement tools correlates with team size: the larger the team, the more likely they are to use a standard and a tool to enforce it.

Interestingly, the majority of C++ developers claim that Python is the language they like the most.