Skip to content

Commit 901cb65

Browse files
authored
Replace term "sample" with "example" for error references in range [C2231, C2260]
1 parent 6756cd9 commit 901cb65

22 files changed

+26
-26
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The operand to the left of the member-selection operation (.) is a pointer inste
1616

1717
## Example
1818

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

2121
```c
2222
// C2231.c

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The operand to the left of the `->` operator is not a pointer. Use the period (.
1616

1717
## Example
1818

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

2121
```c
2222
// C2232.c

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Each object in an array must contain at least one element.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2233.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Because pointers to references are not allowed, arrays of references are not pos
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2234.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The identifier is already defined as a type and cannot be overridden by a user-d
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2236.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ An incorrect token was found.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2238.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Access protection (**`protected`** or **`private`**) prevented conversion from a
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2243.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This error only occurs in C++ projects.
1818

1919
## Examples
2020

21-
The following sample generates C2244:
21+
The following example generates C2244:
2222

2323
```cpp
2424
// C2244.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A function specified as a friend was not found by the compiler.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2245.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A member of a class, structure, or union with local scope is declared **`static`
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2246.cpp

0 commit comments

Comments
 (0)