Skip to content

Commit 5a9e42e

Browse files
authored
Replace term "sample" with "example" for error references in range [C2731, C2760]
1 parent 3054fcc commit 5a9e42e

22 files changed

+22
-22
lines changed

docs/error-messages/compiler-errors-2/compiler-error-c2731.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The functions `main`, `WinMain`, `DllMain`, and `LibMain` cannot be overloaded.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2731.cpp

docs/error-messages/compiler-errors-2/compiler-error-c2732.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To fix this error, change the **`extern`** statements so that the linkages agree
2020

2121
## Example
2222

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

2525
```cpp
2626
// C2732.cpp

docs/error-messages/compiler-errors-2/compiler-error-c2733.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This error may occur after an upgrade because of conformance changes in Visual S
1818

1919
## Example
2020

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

2323
```cpp
2424
// C2733.cpp

docs/error-messages/compiler-errors-2/compiler-error-c2734.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The identifier is declared **`const`** but not initialized or **`extern`**.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2734.cpp

docs/error-messages/compiler-errors-2/compiler-error-c2735.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The keyword is invalid in this context.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2735.cpp

docs/error-messages/compiler-errors-2/compiler-error-c2736.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ The keyword is invalid in a cast.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2736.cpp

docs/error-messages/compiler-errors-2/compiler-error-c2738.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ A function was declared incorrectly.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2738.cpp

docs/error-messages/compiler-errors-2/compiler-error-c2739.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ An array dimension was not between 1 and 32.
1616

1717
## Example
1818

19-
The following sample generates C2739 and shows how to fix it:
19+
The following example generates C2739 and shows how to fix it:
2020

2121
```cpp
2222
// C2739.cpp

docs/error-messages/compiler-errors-2/compiler-error-c2743.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ For more information, see [/clr (Common Language Runtime Compilation)](../../bui
2020

2121
## Example
2222

23-
The following sample generates C2743.
23+
The following example generates C2743.
2424

2525
```cpp
2626
// C2743.cpp

docs/error-messages/compiler-errors-2/compiler-error-c2745.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Identifiers must be comprised of legal characters.
1616

1717
## Example
1818

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

2121
```cpp
2222
// C2745.cpp

0 commit comments

Comments
 (0)