Skip to content

Commit 06a3dcd

Browse files
authored
Replace term "sample" with "example" for warning references in range [C4081, C4120]
1 parent abf9752 commit 06a3dcd

12 files changed

+14
-14
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The pragma requires an **on** or **off** parameter. The pragma is ignored.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C4085.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This warning is issued for C programs. In a C++ program, the compiler issues an
2020

2121
## Example
2222

23-
The following sample generates C4090:
23+
The following example generates C4090:
2424

2525
```c
2626
// C4090.c

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The compiler detected a situation where the user probably intended a variable to
1515

1616
## Examples
1717

18-
A **`__declspec`** attribute at the beginning of a user-defined type declaration applies to the variable of that type. C4091 indicates no variable is declared. The following sample generates C4091.
18+
A **`__declspec`** attribute at the beginning of a user-defined type declaration applies to the variable of that type. C4091 indicates no variable is declared. The following example generates C4091.
1919

2020
```cpp
2121
// C4091.cpp
@@ -30,7 +30,7 @@ __declspec(dllimport) class X2 {} varX;
3030
class __declspec(dllimport) X3 {};
3131
```
3232
33-
If an identifier is a typedef, it can't also be a variable name. The following sample generates C4091.
33+
If an identifier is a typedef, it can't also be a variable name. The following example generates C4091.
3434
3535
```cpp
3636
// C4091_b.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ See [Interface Attributes](../../windows/attributes/interface-attributes.md) for
1818

1919
## Example
2020

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

2323
```cpp
2424
// C4096.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A pragma was passed an invalid value.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C4097.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Use #pragma [pack](../../preprocessor/pack.md)(pop) before exiting the header fi
1818

1919
## Example
2020

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

2323
```cpp
2424
// C4103.h

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ A type declaration or definition uses a type qualifier (**`const`**, **`volatile
1616

1717
## Examples
1818

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

2121
```cpp
2222
// C4114.cpp
2323
// compile with: /W1 /c
2424
volatile volatile int i; // C4114
2525
```
2626

27-
The following sample generates C4114:
27+
The following example generates C4114:
2828

2929
```cpp
3030
// C4114_b.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ms.assetid: c45aa281-4cc1-4dfd-bd32-bd7a60ddd577
2020

2121
## Example
2222

23-
The following sample generates C4117:
23+
The following example generates C4117:
2424

2525
```cpp
2626
// C4117.cpp

docs/error-messages/compiler-warnings/compiler-warning-level-2-c4099.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ An object declared as a structure is defined as a class, or an object declared a
1515

1616
## Example
1717

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

2020
```cpp
2121
// C4099.cpp

docs/error-messages/compiler-warnings/compiler-warning-level-3-c4102.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The label is defined but never referenced. The compiler ignores the label.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C4102.cpp

0 commit comments

Comments
 (0)