Skip to content

Commit cc8b5f3

Browse files
authored
Replace term "sample" with "example" for error references in range [C2081, C2100]
1 parent b93175a commit cc8b5f3

13 files changed

+14
-14
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This error can be caused by using the old style for the formal parameter list. Y
1818

1919
## Example
2020

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

2323
```c
2424
// C2081.c

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A formal parameter to a function is redeclared within the function body. To reso
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2082.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Before Visual Studio 2002,
2222

2323
## Example
2424

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

2727
```cpp
2828
// C2084.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The identifier was declared in a function definition but not in the formal param
1616

1717
## Example
1818

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

2121
```c
2222
// C2085.c

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ C2086 can also be the result of incremental building for a referenced C# assembl
1717

1818
## Example
1919

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

2222
```cpp
2323
// C2086.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The definition of an array with multiple subscripts is missing a subscript value
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2087.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The operator was not defined for the structure or union. This error is only vali
1616

1717
## Example
1818

19-
The following sample generates C2088 three times:
19+
The following example generates C2088 three times:
2020

2121
```c
2222
// C2088.c

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A function cannot return an array. Return a pointer to an array instead.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2090.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Arrays of functions are not allowed. Use an array of pointers to functions.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2092.cpp

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ When compiling with [/Za](../../build/reference/za-ze-disable-language-extension
1616

1717
## Example
1818

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

2121
```c
2222
// C2093.c

0 commit comments

Comments
 (0)