Skip to content

Commit 6daf2d4

Browse files
authored
Replace term "sample" with "example" for error references in range [C2611, C2650]
1 parent 521ef63 commit 6daf2d4

23 files changed

+24
-24
lines changed

docs/error-messages/compiler-errors-2/compiler-error-c2611.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The token is not an identifier.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2611.cpp

docs/error-messages/compiler-errors-2/compiler-error-c2612.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A character appears after the last base or member in an initializer list.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2612.cpp

docs/error-messages/compiler-errors-2/compiler-error-c2614.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Only member or base classes can appear in the initialization list for a class or
1515

1616
## Example
1717

18-
The following sample generates C2614.
18+
The following example generates C2614.
1919

2020
```cpp
2121
// C2614.cpp

docs/error-messages/compiler-errors-2/compiler-error-c2617.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The specified function does not have a declared return type, and a previous retu
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2617.cpp

docs/error-messages/compiler-errors-2/compiler-error-c2619.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A member of an anonymous struct or union is declared **`static`**.
1616

1717
## Example
1818

19-
The following sample generates C2619, and demonstrates how to fix it by removing the static keyword.
19+
The following example generates C2619, and demonstrates how to fix it by removing the static keyword.
2020

2121
```cpp
2222
// C2619.cpp

docs/error-messages/compiler-errors-2/compiler-error-c2624.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A local class or structure cannot be used to declare **`extern`** variables.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2624.cpp

docs/error-messages/compiler-errors-2/compiler-error-c2626.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A member of an anonymous struct or union must have public access.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2626.cpp

docs/error-messages/compiler-errors-2/compiler-error-c2627.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ An [anonymous union](../../cpp/unions.md#anonymous_unions) cannot have member fu
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2627.cpp

docs/error-messages/compiler-errors-2/compiler-error-c2628.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A semicolon may be missing.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2628.cpp

docs/error-messages/compiler-errors-2/compiler-error-c2630.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The symbol appears in a context that requires a comma.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2630.cpp

0 commit comments

Comments
 (0)