From 5733f63e7d81287e51fb3e17da63dfa2deded8c8 Mon Sep 17 00:00:00 2001
From: Rageking8 <106309953+Rageking8@users.noreply.github.com>
Date: Tue, 3 Jun 2025 15:17:51 +0800
Subject: [PATCH 1/5] Add missing escapes in a few topics
---
docs/build/reference/msbuild-reference-cpp.md | 2 +-
docs/cpp/c-cpp-language-and-standard-libraries.md | 2 +-
docs/security/security-best-practices-for-cpp.md | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/build/reference/msbuild-reference-cpp.md b/docs/build/reference/msbuild-reference-cpp.md
index e779a699b2..1aed2693cd 100644
--- a/docs/build/reference/msbuild-reference-cpp.md
+++ b/docs/build/reference/msbuild-reference-cpp.md
@@ -27,7 +27,7 @@ Describes the MSBuild-based project types that are available for C++.
[C++ new item templates](using-visual-cpp-add-new-item-templates.md)
Describes source files and other items you can add to a Visual Studio project.
-[Precompiled header files](../creating-precompiled-header-files.md)
+[Precompiled header files](../creating-precompiled-header-files.md)\
How to use precompiled header files and how to create your own custom precompiled code to speed up build times.
[Visual Studio project property reference](property-pages-visual-cpp.md)
diff --git a/docs/cpp/c-cpp-language-and-standard-libraries.md b/docs/cpp/c-cpp-language-and-standard-libraries.md
index 69a5e4afc8..6e771789a6 100644
--- a/docs/cpp/c-cpp-language-and-standard-libraries.md
+++ b/docs/cpp/c-cpp-language-and-standard-libraries.md
@@ -66,7 +66,7 @@ A header-only C++20 library for using polymorphism in C++ without inheritance. F
[SafeInt library](../safeint/safeint-library.md)\
A portable library that can be used with MSVC, GCC, or Clang to help prevent integer overflows.
-[Data Access Libraries](../data/data-access-in-cpp.md)
+[Data Access Libraries](../data/data-access-in-cpp.md)\
Libraries to support data access using ATL or MFC, and legacy services such as OLE DB and ODBC.
## Related articles
diff --git a/docs/security/security-best-practices-for-cpp.md b/docs/security/security-best-practices-for-cpp.md
index 3774d17083..4cd4b79bb1 100644
--- a/docs/security/security-best-practices-for-cpp.md
+++ b/docs/security/security-best-practices-for-cpp.md
@@ -23,7 +23,7 @@ Instructs the compiler to insert overrun detection code into functions that are
[`/SAFESEH` (Image has Safe Exception Handlers)](../build/reference/safeseh-image-has-safe-exception-handlers.md)
Instructs the linker to include in the output image a table that contains the address of each exception handler. At run time, the operating system uses this table to make sure that only legitimate exception handlers are executed. This helps prevent the execution of exception handlers that are introduced by a malicious attack at run time. By default, this option is off.
-[`/NXCOMPAT`](../build/reference/nxcompat.md), [`/NXCOMPAT` (Compatible with Data Execution Prevention)](../build/reference/nxcompat-compatible-with-data-execution-prevention.md)
+[`/NXCOMPAT`](../build/reference/nxcompat.md), [`/NXCOMPAT` (Compatible with Data Execution Prevention)](../build/reference/nxcompat-compatible-with-data-execution-prevention.md)\
These compiler and linker options enable Data Execution Prevention (DEP) compatibility. DEP guards the CPU against the execution of non-code pages.
[`/analyze` (Code Analysis)](../build/reference/analyze-code-analysis.md)
From 4e02c12a9162881a475d4ba5ca82e51b08d44e31 Mon Sep 17 00:00:00 2001
From: Rageking8 <106309953+Rageking8@users.noreply.github.com>
Date: Tue, 3 Jun 2025 15:20:01 +0800
Subject: [PATCH 2/5] Replace `br` elements with escapes in 2 topics
---
docs/build/reference/msbuild-reference-cpp.md | 12 ++++++------
docs/security/security-best-practices-for-cpp.md | 14 +++++++-------
2 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/docs/build/reference/msbuild-reference-cpp.md b/docs/build/reference/msbuild-reference-cpp.md
index 1aed2693cd..11ea5360e3 100644
--- a/docs/build/reference/msbuild-reference-cpp.md
+++ b/docs/build/reference/msbuild-reference-cpp.md
@@ -12,25 +12,25 @@ If for some reason you wish to use MSBuild directly from the command line, see [
## In this section
-[MSBuild internals for C++ projects](msbuild-visual-cpp-overview.md)
+[MSBuild internals for C++ projects](msbuild-visual-cpp-overview.md)\
Information about how properties and targets are stored and consumed.
-[Common macros for build commands and properties](common-macros-for-build-commands-and-properties.md)
+[Common macros for build commands and properties](common-macros-for-build-commands-and-properties.md)\
Describes macros (compile-time constants) that can be used to define properties such as paths and product versions.
-[File types created for C++ projects](file-types-created-for-visual-cpp-projects.md)
+[File types created for C++ projects](file-types-created-for-visual-cpp-projects.md)\
Describes the various kinds of files that Visual Studio creates for different project types.
-[Visual Studio C++ project templates](visual-cpp-project-types.md)
+[Visual Studio C++ project templates](visual-cpp-project-types.md)\
Describes the MSBuild-based project types that are available for C++.
-[C++ new item templates](using-visual-cpp-add-new-item-templates.md)
+[C++ new item templates](using-visual-cpp-add-new-item-templates.md)\
Describes source files and other items you can add to a Visual Studio project.
[Precompiled header files](../creating-precompiled-header-files.md)\
How to use precompiled header files and how to create your own custom precompiled code to speed up build times.
-[Visual Studio project property reference](property-pages-visual-cpp.md)
+[Visual Studio project property reference](property-pages-visual-cpp.md)\
Reference documentation for project properties that are set in the Visual Studio IDE.
## See also
diff --git a/docs/security/security-best-practices-for-cpp.md b/docs/security/security-best-practices-for-cpp.md
index 4cd4b79bb1..5557fc5d4f 100644
--- a/docs/security/security-best-practices-for-cpp.md
+++ b/docs/security/security-best-practices-for-cpp.md
@@ -14,22 +14,22 @@ This article contains information about security tools and practices. Using them
These security features are built into the Microsoft C++ compiler and linker:
-[`/guard` (Enable Control Flow Guard)](../build/reference/guard-enable-control-flow-guard.md)
+[`/guard` (Enable Control Flow Guard)](../build/reference/guard-enable-control-flow-guard.md)\
Causes the compiler to analyze control flow for indirect call targets at compile time, and then to insert code to verify the targets at runtime.
-[`/GS` (Buffer Security Check)](../build/reference/gs-buffer-security-check.md)
+[`/GS` (Buffer Security Check)](../build/reference/gs-buffer-security-check.md)\
Instructs the compiler to insert overrun detection code into functions that are at risk of being exploited. When an overrun is detected, execution is stopped. By default, this option is on.
-[`/SAFESEH` (Image has Safe Exception Handlers)](../build/reference/safeseh-image-has-safe-exception-handlers.md)
+[`/SAFESEH` (Image has Safe Exception Handlers)](../build/reference/safeseh-image-has-safe-exception-handlers.md)\
Instructs the linker to include in the output image a table that contains the address of each exception handler. At run time, the operating system uses this table to make sure that only legitimate exception handlers are executed. This helps prevent the execution of exception handlers that are introduced by a malicious attack at run time. By default, this option is off.
[`/NXCOMPAT`](../build/reference/nxcompat.md), [`/NXCOMPAT` (Compatible with Data Execution Prevention)](../build/reference/nxcompat-compatible-with-data-execution-prevention.md)\
These compiler and linker options enable Data Execution Prevention (DEP) compatibility. DEP guards the CPU against the execution of non-code pages.
-[`/analyze` (Code Analysis)](../build/reference/analyze-code-analysis.md)
+[`/analyze` (Code Analysis)](../build/reference/analyze-code-analysis.md)\
This compiler option activates code analysis that reports potential security issues such as buffer overrun, un-initialized memory, null pointer dereferencing, and memory leaks. By default, this option is off. For more information, see [Code Analysis for C/C++ Overview](../code-quality/code-analysis-for-c-cpp-overview.md).
-[`/DYNAMICBASE` (Use address space layout randomization)](../build/reference/dynamicbase-use-address-space-layout-randomization.md)
+[`/DYNAMICBASE` (Use address space layout randomization)](../build/reference/dynamicbase-use-address-space-layout-randomization.md)\
This linker option enables the building of an executable image that can be loaded at different locations in memory at the beginning of execution. This option also makes the stack location in memory much less predictable.
## Security-Enhanced CRT
@@ -86,6 +86,6 @@ For information about how to indentify and mitigate against speculative executio
## See also
-
-[Security](/dotnet/standard/security/index)
+\
+[Security](/dotnet/standard/security/index)\
[How User Account Control (UAC) Affects Your Application](how-user-account-control-uac-affects-your-application.md)
From 8da83f462fc4252f5adf7b7ff84a07d1d41975c2 Mon Sep 17 00:00:00 2001
From: Rageking8 <106309953+Rageking8@users.noreply.github.com>
Date: Tue, 3 Jun 2025 15:23:31 +0800
Subject: [PATCH 3/5] Elide one redundant relative link prefix in "C/C++
language and standard libraries reference"
---
docs/cpp/c-cpp-language-and-standard-libraries.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/cpp/c-cpp-language-and-standard-libraries.md b/docs/cpp/c-cpp-language-and-standard-libraries.md
index 6e771789a6..79a990fdc1 100644
--- a/docs/cpp/c-cpp-language-and-standard-libraries.md
+++ b/docs/cpp/c-cpp-language-and-standard-libraries.md
@@ -16,7 +16,7 @@ You'll also find documentation for the C runtime library, the C++ standard libra
[C language](../c-language/c-language-reference.md)\
Reference content for the Microsoft implementation of the C language.
-[C++ language](../cpp/cpp-language-reference.md)\
+[C++ language](cpp-language-reference.md)\
Reference content for the Microsoft implementation of the C++ language.
[C/C++ preprocessor](../preprocessor/c-cpp-preprocessor-reference.md)\
From 970895b0a42788c25182728e952aaa1ee6cc388c Mon Sep 17 00:00:00 2001
From: Rageking8 <106309953+Rageking8@users.noreply.github.com>
Date: Tue, 3 Jun 2025 15:24:14 +0800
Subject: [PATCH 4/5] Update metadata in a few topics
---
docs/build/reference/msbuild-reference-cpp.md | 4 ++--
docs/cpp/c-cpp-language-and-standard-libraries.md | 2 +-
docs/security/security-best-practices-for-cpp.md | 5 ++---
3 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/docs/build/reference/msbuild-reference-cpp.md b/docs/build/reference/msbuild-reference-cpp.md
index 11ea5360e3..bbc889a922 100644
--- a/docs/build/reference/msbuild-reference-cpp.md
+++ b/docs/build/reference/msbuild-reference-cpp.md
@@ -1,7 +1,7 @@
---
-description: "Learn more about: MSBuild reference for C++ projects"
title: "MSBuild reference for C++ projects in Visual Studio"
-ms.date: "12/08/2018"
+description: "Learn more about: MSBuild reference for C++ projects"
+ms.date: 12/08/2018
helpviewer_keywords: ["MSBuild reference [C++]"]
---
# MSBuild reference for C++ projects
diff --git a/docs/cpp/c-cpp-language-and-standard-libraries.md b/docs/cpp/c-cpp-language-and-standard-libraries.md
index 79a990fdc1..59218ff5e3 100644
--- a/docs/cpp/c-cpp-language-and-standard-libraries.md
+++ b/docs/cpp/c-cpp-language-and-standard-libraries.md
@@ -1,6 +1,6 @@
---
-description: "Learn more about: C/C++ language and standard libraries reference"
title: "C/C++ language and standard libraries reference"
+description: "Learn more about: C/C++ language and standard libraries reference"
ms.date: 09/11/2024
ms.topic: "overview"
ms.custom: intro-overview
diff --git a/docs/security/security-best-practices-for-cpp.md b/docs/security/security-best-practices-for-cpp.md
index 5557fc5d4f..2de326caa9 100644
--- a/docs/security/security-best-practices-for-cpp.md
+++ b/docs/security/security-best-practices-for-cpp.md
@@ -1,10 +1,9 @@
---
-description: "Learn more about: Security Best Practices for C++"
title: "Security Best Practices for C++"
-ms.date: "05/08/2018"
+description: "Learn more about: Security Best Practices for C++"
+ms.date: 05/08/2018
f1_keywords: ["securitybestpracticesVC"]
helpviewer_keywords: ["Visual C++, security", "security [C++]", "security [C++], best practices"]
-ms.assetid: 86acaccf-cdb4-4517-bd58-553618e3ec42
---
# Security Best Practices for C++
From 01ef9c35d4edaff4e5a384ecff2a261fe277ba2d Mon Sep 17 00:00:00 2001
From: Rageking8 <106309953+Rageking8@users.noreply.github.com>
Date: Tue, 3 Jun 2025 15:26:41 +0800
Subject: [PATCH 5/5] Improve see also security link in "Security Best
Practices for C++"
---
docs/security/security-best-practices-for-cpp.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/security/security-best-practices-for-cpp.md b/docs/security/security-best-practices-for-cpp.md
index 2de326caa9..c895388f5f 100644
--- a/docs/security/security-best-practices-for-cpp.md
+++ b/docs/security/security-best-practices-for-cpp.md
@@ -86,5 +86,5 @@ For information about how to indentify and mitigate against speculative executio
## See also
\
-[Security](/dotnet/standard/security/index)\
+[Security in .NET](/dotnet/standard/security/index)\
[How User Account Control (UAC) Affects Your Application](how-user-account-control-uac-affects-your-application.md)