Skip to content

Commit 5ef54cb

Browse files
author
mtx48109
committed
changes per @GitHubber17
1 parent fb3db8c commit 5ef54cb

8 files changed

Lines changed: 10 additions & 10 deletions

‎docs/cpp/comments-cpp.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.workload: ["cplusplus"]
1414
# Comments (C++)
1515
A comment is text that the compiler ignores but that is useful for programmers. Comments are normally used to annotate code for future reference. The compiler treats them as white space. You can use comments in testing to make certain lines of code inactive; however, `#if`/`#endif` preprocessor directives work better for this because you can surround code that contains comments but you cannot nest comments.
1616

17-
A C++ comment is written in one of the following ways:
17+
A C++ comment is written in one of the following ways:
1818

1919
- The `/*` (slash, asterisk) characters, followed by any sequence of characters (including new lines), followed by the `*/` characters. This syntax is the same as ANSI C.
2020

‎docs/cpp/considerations-for-writing-prolog-epilog-code.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.author: "mblome"
1212
ms.workload: ["cplusplus"]
1313
---
1414
# Considerations for Writing Prolog/Epilog Code
15-
## Microsoft Specific
15+
**Microsoft Specific**
1616
Before writing your own prolog and epilog code sequences, it is important to understand how the stack frame is laid out. It is also useful to know how to use the `__LOCAL_SIZE` symbol.
1717

1818
## <a name="_pluslang_c.2b2b_.stack_frame_layout"></a> Stack Frame Layout

‎docs/cpp/const-cpp.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ int main()
120120
}
121121
```
122122
123-
## C and C++ const Differences
123+
## C and C++ const differences
124124
When you declare a variable as **const** in a C source code file, you do so as:
125125
126126
```cpp
@@ -158,7 +158,7 @@ extern "C" const int x=10;
158158
159159
- [volatile](../cpp/volatile-cpp.md)
160160
161-
- [#define](../preprocessor/hash-define-directive-c-cpp.md).
161+
- [#define](../preprocessor/hash-define-directive-c-cpp.md)
162162
163163
## See also
164164
[Keywords](../cpp/keywords-cpp.md)

‎docs/cpp/convertbstrtostring.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ char * text: Test
5959
**END Microsoft Specific**
6060

6161
## Requirements
62-
**Header:** \<comutil.h>.
62+
**Header:** \<comutil.h>
6363

6464
**Lib:** comsuppw.lib or comsuppwd.lib (see [/Zc:wchar_t (wchar_t Is Native Type)](../build/reference/zc-wchar-t-wchar-t-is-native-type.md) for more information)
6565

‎docs/cpp/declarations-and-definitions-cpp.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Declarations introduce names in a program, for example the names of variables, n
3030

3131
5. Is a **typedef** statement.
3232

33-
Examples of declarations that are also definitions are:
33+
Examples of declarations that are also definitions are:
3434

3535
```cpp
3636
// Declare and define int variables i and j.
@@ -49,7 +49,7 @@ public:
4949
};
5050
```
5151
52-
Some declarations that are not definitions are:
52+
Some declarations that are not definitions are:
5353
5454
```cpp
5555
extern int i;

‎docs/cpp/definitions-and-declarations-cpp.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.author: "mblome"
1111
ms.workload: ["cplusplus"]
1212
---
1313
# Definitions and Declarations (C++)
14-
## Microsoft Specific
14+
**Microsoft Specific**
1515
The DLL interface refers to all items (functions and data) that are known to be exported by some program in the system; that is, all items that are declared as **dllimport** or **dllexport**. All declarations included in the DLL interface must specify either the **dllimport** or **dllexport** attribute. However, the definition must specify only the **dllexport** attribute. For example, the following function definition generates a compiler error:
1616

1717
```

‎docs/cpp/deprecated-cpp.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ms.workload: ["cplusplus"]
1515
# deprecated (C++)
1616
This topic is about the Microsoft-specific deprecated declspec declaration. For information about the C++14 `[[deprecated]]` attribute, and guidance on when to use that attribute vs. the Microsoft-specific declspec or pragma, see [C++ Standard Attributes](attributes.md).
1717

18-
With the exceptions noted below, the **deprecated** declaration offers the same functionality as the [deprecated](../preprocessor/deprecated-c-cpp.md) pragma:
18+
With the exceptions noted below, the **deprecated** declaration offers the same functionality as the [deprecated](../preprocessor/deprecated-c-cpp.md) pragma:
1919

2020
- The **deprecated** declaration lets you specify particular forms of function overloads as deprecated, whereas the pragma form applies to all overloaded forms of a function name.
2121

‎docs/cpp/dllexport-dllimport.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ DllExport int n;
6565

6666
- [Using dllimport and dllexport in C++ Classes](../cpp/using-dllimport-and-dllexport-in-cpp-classes.md)
6767

68-
**END Microsoft Specific**
68+
**END Microsoft Specific**
6969

7070
## See also
7171
[__declspec](../cpp/declspec.md)

0 commit comments

Comments
 (0)