Skip to content

Commit d8afdf5

Browse files
authored
Replace term "sample" with "example" for warning references in range [C4041, C4080]
1 parent 9710b3f commit d8afdf5

14 files changed

+15
-15
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ This warning can be caused by specifying a storage class other than **`register`
2424

2525
## Example
2626

27-
The following sample generates C4042
27+
The following example generates C4042
2828

2929
```cpp
3030
// C4042.cpp

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A pointer can point to a variable (one level of indirection), to another pointer
1616

1717
## Examples
1818

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

2121
```c
2222
// C4047.c
@@ -34,7 +34,7 @@ int main() {
3434
}
3535
```
3636

37-
The following sample generates C4047:
37+
The following example generates C4047:
3838

3939
```c
4040
// C4047b.c

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ One declaration of the function doesn't contain variable arguments. The empty de
1515

1616
## Example
1717

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

2020
```c
2121
// C4052.c

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ A data pointer is cast (possibly incorrectly) to a function pointer. This is a l
1818

1919
## Example
2020

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

2323
```C
2424
// C4055.c

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The compiler ignored an unrecognized [pragma](../../preprocessor/pragma-directiv
1616

1717
## Example
1818

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

2121
```cpp
2222
// C4068.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The compiler initialization area, which is specified by [#pragma init_seg](../..
1616

1717
## Example
1818

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

2121
```cpp
2222
// C4074.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A [#pragma init_seg](../../preprocessor/init-seg.md) uses an unrecognized sectio
1616

1717
## Example
1818

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

2121
```cpp
2222
// C4075.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A type modifier, whether it is **`signed`** or **`unsigned`**, cannot be used wi
1616

1717
## Example
1818

19-
The following sample generates C4076; to fix it, remove the **`unsigned`** type modifier:
19+
The following example generates C4076; to fix it, remove the **`unsigned`** type modifier:
2020

2121
```cpp
2222
// C4076.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ An unexpected separator token occurs in a pragma argument list. The remainder of
1616

1717
## Example
1818

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

2121
```cpp
2222
// C4079.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The name of the segment in [#pragma alloc_text](../../preprocessor/alloc-text.md
1616

1717
## Example
1818

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

2121
```cpp
2222
// C4080.cpp

0 commit comments

Comments
 (0)