Skip to content

Commit df988d3

Browse files
authored
Replace term "sample" with "example" for warning references in range [C4661, C4700]
1 parent df6e56d commit df988d3

20 files changed

+22
-22
lines changed

docs/error-messages/compiler-warnings/compiler-warning-c4687.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ C4687 is issued as an error by default. You can suppress C4687 with the [warning
2020

2121
## Example
2222

23-
The following sample generates C4687.
23+
The following example generates C4687.
2424

2525
```cpp
2626
// C4687.cpp

docs/error-messages/compiler-warnings/compiler-warning-c4693.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This warning is automatically promoted to an error. If you wish to modify this b
1818

1919
## Example
2020

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

2323
```cpp
2424
// C4693.cpp

docs/error-messages/compiler-warnings/compiler-warning-c4694.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This warning is automatically promoted to an error. If you wish to modify this b
2020

2121
## Example
2222

23-
The following sample generates C4694.
23+
The following example generates C4694.
2424

2525
```cpp
2626
// C4694.cpp

docs/error-messages/compiler-warnings/compiler-warning-level-1-and-level-4-c4700.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The [`/sdl` (Enable Additional Security Checks)](../../build/reference/sdl-enabl
2020

2121
## Example
2222

23-
This sample generates C4700 when variables `t`, `u`, and `v` are used before they're initialized, and shows the kind of garbage value that can result. Variables `x`, `y`, and `z` don't cause the warning, because they're initialized before use:
23+
This example generates C4700 when variables `t`, `u`, and `v` are used before they're initialized, and shows the kind of garbage value that can result. Variables `x`, `y`, and `z` don't cause the warning, because they're initialized before use:
2424

2525
```cpp
2626
// c4700.cpp

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4667.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You cannot instantiate a function template that has not been declared.
1616

1717
## Example
1818

19-
The following sample will cause C4667:
19+
The following example will cause C4667:
2020

2121
```cpp
2222
// C4667a.cpp

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4669.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A cast contains a Windows Runtime or managed type. The compiler completes the ca
1616

1717
## Example
1818

19-
The following sample generates C4669 and shows how to fix it:
19+
The following example generates C4669 and shows how to fix it:
2020

2121
```cpp
2222
// C4669.cpp

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4674.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The signature of a conversion operator was not correct. The method is not consid
1616

1717
## Example
1818

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

2121
```cpp
2222
// C4674.cpp

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4677.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A type that has public accessibility outside the assembly uses a type that has p
1616

1717
## Example
1818

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

2121
```cpp
2222
// C4677.cpp

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4683.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The reason for the leak is that the out parameter will be set by more than one h
2424

2525
## Example
2626

27-
The following sample generates C4683 and shows how to fix it:
27+
The following example generates C4683 and shows how to fix it:
2828

2929
```cpp
3030
// C4683.cpp

docs/error-messages/compiler-warnings/compiler-warning-level-1-c4684.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You used an attribute that should not commonly be used.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C4684.cpp

0 commit comments

Comments
 (0)