Skip to content

Fix wrong language for Output code blocks #5588

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions docs/cpp/rvalue-reference-declarator-amp-amp.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
description: "Learn more about: Rvalue reference declarator: &&"
title: "Rvalue reference declarator: &&"
description: "Learn more about: Rvalue reference declarator: &&"
ms.date: 09/27/2022
f1_keywords: ["&&"]
helpviewer_keywords: ["&& rvalue reference declarator"]
ms.assetid: eab0ce3a-c5a3-4992-aa70-6a8ab1f7491d
---
# Rvalue reference declarator: `&&`

Expand Down Expand Up @@ -223,7 +222,7 @@ int main()

This example produces the following output:

```cpp
```Output
In g(const MemoryBlock&).
In g(MemoryBlock&&).
```
Expand Down Expand Up @@ -266,7 +265,7 @@ int main()

This example produces the following output:

```cpp
```Output
In g(const MemoryBlock&).
In g(MemoryBlock&&).
```
Expand Down Expand Up @@ -360,7 +359,7 @@ int main()

This example produces the following output:

```cpp
```Output
print<T&>: first
print<const T&>: second
print<T&&>: third
Expand Down
7 changes: 3 additions & 4 deletions docs/cpp/scope-visual-cpp.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
description: "Learn more about: Scope (C++)"
title: "Scope (C++)"
ms.date: "11/19/2018"
description: "Learn more about: Scope (C++)"
ms.date: 11/19/2018
helpviewer_keywords: ["classes [C++], scope", "scope [C++]", "function prototypes [C++], scope", "class scope", "prototype scope", "functions [C++], scope", "scope, C++ names"]
ms.assetid: 81fecbb0-338b-4325-8332-49f33e716352
---
# Scope (C++)

Expand Down Expand Up @@ -34,7 +33,7 @@ Block scope and name hiding

The output from the program shown in the figure is:

```cpp
```Output
i = 0
i = 7
j = 9
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
description: "Learn more about: Using Insertion Operators and Controlling Format"
title: "Using Insertion Operators and Controlling Format"
description: "Learn more about: Using Insertion Operators and Controlling Format"
ms.date: 10/07/2021
helpviewer_keywords: ["insertion operators"]
---
Expand Down Expand Up @@ -165,7 +165,7 @@ Stan 4358.2

If you change the `ios::fixed` flag to `ios::scientific`, the program prints this:

```cpp
```Output
Zoot 1.2e+00
Jimmy 3.5e+01
Al 6.5e+02
Expand Down