Skip to content

Commit 38d2fde

Browse files
authored
Replace term "sample" with "example" for error references in range [C2041, C2060]
1 parent bf148eb commit 38d2fde

15 files changed

+17
-17
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The specified character is not a valid digit for the base (such as octal or hex)
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2041.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The keywords **`signed`** and **`unsigned`** are used in a single declaration.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2042.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The label appears before multiple statements in the same function.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2045.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The keyword `case` can appear only in a **`switch`** statement.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2046.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The keyword **`default`** can appear only in a **`switch`** statement.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2047.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A **`switch`** statement contains multiple **`default`** labels. Delete one of t
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2048.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ To resolve this issue, make the use of the **`inline`** specifier consistent acr
1717

1818
## Example
1919

20-
The following sample generates C2049:
20+
The following example generates C2049:
2121

2222
```cpp
2323
// C2049.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The **`switch`** expression evaluates to a noninteger value. To resolve the erro
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2050.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Case expressions must be integer constants.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2051.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Case expressions must be integer constants.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2052.cpp

0 commit comments

Comments
 (0)