Skip to content

Conversation

@Rageking8
Copy link
Contributor

Prefer regular relative links to maintain uniformity with other links, and allow navigation on GitHub/Visual Studio Code (the (/cpp links don't work here).

@prmerger-automator
Copy link
Contributor

@Rageking8 : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change.

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 0d4dc23:

✅ Validation status: passed

File Status Preview URL Details
docs/build/arm64-windows-abi-conventions.md ✅Succeeded
docs/c-runtime-library/crt-debugging-techniques.md ✅Succeeded
docs/cpp/char-wchar-t-char16-t-char32-t.md ✅Succeeded
docs/cpp/transporting-exceptions-between-threads.md ✅Succeeded
docs/error-messages/compiler-warnings/compiler-warning-c5072.md ✅Succeeded
docs/windows/attributes/cpp-attributes-com-net.md ✅Succeeded
docs/windows/redist-version-auditing.md ✅Succeeded

For more details, please refer to the build report.

In the C++ standard library, the [`basic_string`](../standard-library/basic-string-class.md) type is specialized for both narrow and wide strings. Use `std::string` when the characters are of type **`char`**, `std::u8string` when the characters are of type **`char8_t`**, `std::u16string` when the characters are of type **`char16_t`**, `std::u32string` when the characters are of type **`char32_t`**, and `std::wstring` when the characters are of type **`wchar_t`**.
Other types that represent text, including [`std::stringstream`](/cpp/standard-library/sstream-typedefs/#stringstream) and [`std::cout`](/cpp/standard-library/iostream#cout) have specializations for narrow and wide strings.
Other types that represent text, including [`std::stringstream`](../standard-library/sstream-typedefs.md#stringstream) and [`std::cout`](../standard-library/iostream.md#cout) have specializations for narrow and wide strings.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed the rogue forward slash here.

## Debug injected code
Using attributes can greatly simplify C++ programming. For more information, see [Concepts](/cpp/windows/attributed-programming-concepts). Some attributes are interpreted directly by the compiler. Other attributes inject code into the program source, which the compiler then compiles. This injected code makes programming easier by reducing the amount of code you have to write. Sometimes, however, a bug may cause your application to fail while it is executing injected code. When this happens, you will probably want to look at the injected code. Visual Studio provides two ways for you to see injected code:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "For more information" sentence is removed as the link just redirects back to this topic:

"source_path": "docs/windows/attributed-programming-concepts.md",
"redirect_url": "/cpp/windows/attributes/cpp-attributes-com-net",

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we meant "for more information, read it again" ;-)

@v-regandowner
Copy link
Contributor

@TylerMSFT - Can you review the proposed changes? Editorial Changes LGTM.

IMPORTANT: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@prmerger-automator prmerger-automator bot added the aq-pr-triaged Tracking label for the PR review team label Sep 8, 2025
Copy link
Collaborator

@TylerMSFT TylerMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As they say, it's all relative...

@TylerMSFT
Copy link
Collaborator

#sign-off

@Court72 Court72 merged commit f31bfbb into MicrosoftDocs:main Sep 8, 2025
2 checks passed
@Rageking8 Rageking8 deleted the convert-cpp-links-to-relative branch September 9, 2025 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants