Skip to content

Commit 329e1f9

Browse files
authored
Replace term "sample" with "example" for error references in range [C2001, C2020]
1 parent 4d78744 commit 329e1f9

15 files changed

+17
-17
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Ending the first line with \n is not sufficient.
2222

2323
## Example
2424

25-
The following sample generates C2001:
25+
The following example generates C2001:
2626

2727
```cpp
2828
// C2001.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This error can also be generated as a result of compiler conformance work that w
1818

1919
## Example
2020

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

2323
```cpp
2424
// C2004.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The `#line` directive must be followed by a line number.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2005.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Directives such as [#include](../../preprocessor/hash-include-directive-c-cpp.md
1515

1616
## Example
1717

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

2020
```cpp
2121
// C2006.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ No identifier appears after a `#define`. To resolve the error, use an identifier
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2007.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The character appears immediately following the macro name. To resolve the error
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2008.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The formal parameter list of a macro definition uses the identifier more than on
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2009.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The character is used incorrectly in the formal parameter list of a macro defini
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2010.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ If you need to find the initial declaration of the redefined type, you can use t
2020

2121
## Example
2222

23-
The following sample generates C2011 and shows one way to fix it:
23+
The following example generates C2011 and shows one way to fix it:
2424

2525
```cpp
2626
// C2011.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ An `#include` directive lacks the required filename.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2012.cpp

0 commit comments

Comments
 (0)