Skip to content

Commit 1b70050

Browse files
authored
Replace term "sample" with "example" for warning references in range [C4000, C4040]
1 parent e9d9479 commit 1b70050

10 files changed

+10
-10
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ C4002 can occur when incorrectly using [variadic macros](../../preprocessor/vari
1717

1818
## Examples
1919

20-
The following sample generates C4002:
20+
The following example generates C4002:
2121

2222
```cpp
2323
// C4002.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ The number of formal parameters in the macro definition exceeds the number of ac
1515

1616
## Example
1717

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

2020
```cpp
2121
// C4003.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ The macro identifier is defined twice. The compiler uses the second macro defini
2828

2929
## Example
3030

31-
The following sample generates C4005:
31+
The following example generates C4005:
3232

3333
```cpp
3434
// C4005.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The `#undef` directive did not specify an identifier to undefine. The directive
1616

1717
## Example
1818

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

2121
```cpp
2222
// C4006.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Some syntax-directed editors do not indicate the line following the continuation
1818

1919
## Example
2020

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

2323
```cpp
2424
// C4010.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The number of actual parameters in a function call exceeds the number of formal
1616

1717
## Example
1818

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

2121
```c
2222
// C4020.c

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This warning is only valid for C source code.
1818

1919
## Example
2020

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

2323
```c
2424
// C4028.c

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This error is for C language code.
2020

2121
## Example
2222

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

2525
```c
2626
// C4033.c

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Specify a type name to resolve this warning.
1818

1919
## Example
2020

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

2323
```c
2424
// C4036.c

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ One way to fix this warning is if you cast one of the two types when you compare
1717

1818
## Example
1919

20-
This sample generates C4018 and shows how to fix it:
20+
This example generates C4018 and shows how to fix it:
2121

2222
```cpp
2323
// C4018.cpp

0 commit comments

Comments
 (0)