Skip to content

Commit 0c98748

Browse files
authored
Replace term "sample" with "example" for error references in range [C2161, C2180]
1 parent ee4f1c1 commit 0c98748

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

docs/error-messages/compiler-errors-1/compiler-error-c2161.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A macro definition ended with a token-pasting operator (##).
1616

1717
## Example
1818

19-
The following sample generates C2161:
19+
The following example generates C2161:
2020

2121
```cpp
2222
// C2161.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2164.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ An `intrinsic` pragma uses an undeclared function (only occurs with **/Oi**). Or
1616

1717
## Example
1818

19-
The following sample generates C2164:
19+
The following example generates C2164:
2020

2121
```c
2222
// C2164.c

docs/error-messages/compiler-errors-1/compiler-error-c2165.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The **`__stdcall`**, **`__cdecl`**, or **`__fastcall`** keyword attempts to modi
1616

1717
## Example
1818

19-
The following sample generates C2165:
19+
The following example generates C2165:
2020

2121
```cpp
2222
// C2165.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2171.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A unary operator is used with an invalid operand type.
1616

1717
## Examples
1818

19-
The following sample generates C2171.
19+
The following example generates C2171.
2020

2121
```cpp
2222
// C2171.cpp
@@ -30,7 +30,7 @@ int main() {
3030
}
3131
```
3232

33-
The following sample generates C2171.
33+
The following example generates C2171.
3434

3535
```cpp
3636
// C2171_b.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2177.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A constant value is too large for the variable type it is assigned.
1616

1717
## Example
1818

19-
The following sample generates C2177:
19+
The following example generates C2177:
2020

2121
```cpp
2222
// C2177.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2178.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The **`mutable`** specifier can be applied only to names of class data members,
1818

1919
## Example
2020

21-
The following sample shows how C2178 may occur, and how to fix it.
21+
The following example shows how C2178 may occur, and how to fix it.
2222

2323
```cpp
2424
// C2178.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2179.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A generic type parameter is resolved at runtime. However, an attribute parameter
1616

1717
## Example
1818

19-
The following sample generates C2179.
19+
The following example generates C2179.
2020

2121
```cpp
2222
// C2179.cpp

docs/error-messages/compiler-errors-1/compiler-error-c2180.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The controlling expression in an **`if`**, **`while`**, **`for`**, or **`do`** s
1616

1717
## Example
1818

19-
The following sample generates C2180:
19+
The following example generates C2180:
2020

2121
```c
2222
// C2180.c

0 commit comments

Comments
 (0)