Skip to content

Commit 51673d9

Browse files
authored
Replace term "sample" with "example" for error references in range [C2461, C2490]
1 parent c785b6e commit 51673d9

18 files changed

+18
-18
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ To fix this issue, add a pair of parentheses after the declaration of *class*::*
1818

1919
## Example
2020

21-
The following sample shows how to fix C2461:
21+
The following example shows how to fix C2461:
2222

2323
```cpp
2424
// C2461.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ You cannot define a type in the operand field of the **`new`** operator. Put the
1515

1616
## Example
1717

18-
The following sample generates C2462:
18+
The following example generates C2462:
1919

2020
```cpp
2121
// C2462.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A reference identifier was allocated with the **`new`** operator. References are
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2464.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ An array is allocated or declared with size zero. The constant expression for th
1515

1616
## Example
1717

18-
The following sample generates C2466:
18+
The following example generates C2466:
1919

2020
```cpp
2121
// C2466.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A nested user-defined type was declared. This is an error when compiling C sourc
1616

1717
## Example
1818

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

2121
```c
2222
//C2467.c

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The **/clr:pure** and **/clr:safe** compiler options are deprecated in Visual St
1818

1919
## Example
2020

21-
The following sample generates C2472.
21+
The following example generates C2472.
2222

2323
```cpp
2424
// C2472.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The compiler detected what looked like a function, without the parameter list.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2473.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The compiler expected to find a semicolon, and was unable to determine your inte
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2474.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A static data member of a template class was initialized incorrectly. This is a
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2477.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The `__declspec( allocate())` syntax can be used for static data only.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2479.cpp

0 commit comments

Comments
 (0)