C++ / Documentation search
Find the error. Find the next step.
Search by diagnostic code, copied message, or symptom. Filter by content and project system.
205 results
Browse documentation →MSB8036: Windows SDK version not found
Fix MSB8036: install the Windows SDK version the project asks for, or retarget it to an installed one.
C++ Build Insights
Microsoft's tools and tutorials for investigating build bottlenecks, parallelism, and repeated header parsing.
CMake Presets in Visual Studio
Microsoft's configuration guide for CMakePresets.json, configure presets, build presets, and Visual Studio integration.
CMake projects in Visual Studio
Microsoft's reference for opening, configuring, building, and debugging a folder-based CMake workspace.
Check your build settings
CppPilot finds inconsistent, accidental, slow, and outdated settings in Visual Studio C++ solutions, property sheets included.
Debug with the AI
Use your own Codex or Claude account to inspect a paused C++ program in Visual Studio and request debugger actions with your approval.
Explain crashes and dumps with AI
CppPilot explains native C++ crashes in Visual Studio from the call stack, arguments, and local variables, live or from a .dmp file.
Fix build errors with AI
CppPilot explains and fixes MSVC compiler, linker, and MSBuild errors and warnings in Visual Studio, then rebuilds to check each fix.
MSVC binary compatibility and its restrictions
Microsoft's compatibility rules for the linker, Redistributable, and objects built with /GL or /LTCG.
MSVC runtime library options: /MD and /MT
Microsoft's reference for selecting the dynamic or static C runtime, with the corresponding Debug variants.
Review Git changes with AI
Review your C++ Git changes with AI before you commit, from the Git Changes window of Visual Studio, and fix the findings you keep.
Troubleshoot breakpoints in Visual Studio
Microsoft's checks for unbound breakpoints, missing symbols, unloaded modules, and source files that do not match the build.
Analyze a crash dump in Visual Studio: Keep the symbols
A dump without symbols shows only addresses. Keep the .pdb files of every build you ship, including Release ( Linker > Debugging > Generate Debug Info ): the symbols must come from the exact build that crashed. For Windows DLLs, enable the…
Analyze a crash dump in Visual Studio: Read the exception code
0xC0000005 , access violation: a null, dangling, or out-of-range pointer. The address read or written is in the message; near 0x0 , it is a null pointer. 0xC00000FD , stack overflow: usually an unbounded recursion, visible as a repeated…
C1004: A closing brace is missing.
Look for an unclosed function, class, or namespace above the end of the file. Editor outlining (the collapse markers in the margin) shows where a block does not end where you expect.
C1004: A conditional compilation block has no #endif .
Match every #if , #ifdef , and #ifndef with its #endif , even when the condition is false. An unterminated conditional can also produce a more specific diagnostic such as C1070, depending on compiler version and context.
C1004: A macro hides a brace.
A macro that opens a block, such as BEGIN_MESSAGE_MAP , needs its closing macro.
C1004: An included header leaves a block open.
A header that ends inside a namespace or an extern "C" { moves the error to the file that includes it: check the headers included last.
C1010: The file does not include the precompiled header.
Add #include "pch.h" , or stdafx.h in older projects, as the first line of the file.
C1010: The file should not use it.
For C files and third-party sources, set C/C++ > Precompiled Headers > Precompiled Header to Not Using Precompiled Headers in that file's properties.