Skip to content

Commit fe1e21d

Browse files
authored
Merge pull request #1645 from MicrosoftDocs/master
1/2/2019 AM Publish
2 parents ee01037 + 65b7045 commit fe1e21d

10 files changed

Lines changed: 24 additions & 21 deletions

‎docs/build/reference/optimization-best-practices.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The **/Gy** switch is also very useful. It generates a separate COMDAT for each
2626

2727
For linking in 64-bit environments, it is recommended to use the **/OPT:REF,ICF** linker option, and in 32-bit environments, **/OPT:REF** is recommended. For more information, see [/OPT (Optimizations)](../../build/reference/opt-optimizations.md).
2828

29-
It is also strongly recommended to generate debug symbols, even with optimized release builds. It doesn’t effect the generated code, and it makes it a lot easier to debug your application, if need be.
29+
It is also strongly recommended to generate debug symbols, even with optimized release builds. It doesn’t affect the generated code, and it makes it a lot easier to debug your application, if need be.
3030

3131
### Floating-point switches
3232

‎docs/build/reference/sourcelink.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ ms.date: "08/20/2018"
44
f1_keywords: ["/sourcelink"]
55
helpviewer_keywords: ["/SOURCELINK linker option", "/SOURCELINK"]
66
---
7-
# /SOURCELINK (Include Sourcelink file in PDB)
7+
# /SOURCELINK (Include Source Link file in PDB)
88

9-
Specifies a SourceLink configuration file to include in the PDB file generated by the linker.
9+
Specifies a Source Link configuration file to include in the PDB file generated by the linker.
1010

1111
## Syntax
1212

@@ -19,7 +19,7 @@ Specifies a JSON-formatted configuration file that contains a simple mapping of
1919

2020
## Remarks
2121

22-
SourceLink is a language- and source-control agnostic system for providing source debugging for binaries. SourceLink is supported for native C++ binaries starting in Visual Studio 2017 version 15.8. For an overview of SourceLink, see [Source Link](https://github.com/dotnet/designs/blob/master/accepted/diagnostics/source-link.md). For information on how to use SourceLink in your projects and how to generate the SourceLink file as part of your project, see [Using SourceLink](https://github.com/dotnet/sourcelink#using-sourcelink).
22+
Source Link is a language- and source-control agnostic system for providing source debugging for binaries. Source Link is supported for native C++ binaries starting in Visual Studio 2017 version 15.8. For an overview of Source Link, see [Source Link](https://github.com/dotnet/designs/blob/master/accepted/diagnostics/source-link.md). For information on how to use Source Link in your projects and how to generate the SourceLink file as part of your project, see [Using Source Link](https://github.com/dotnet/sourcelink#using-source-link-in-c-projects).
2323

2424
### To set the /SOURCELINK linker option in Visual Studio
2525

‎docs/cpp/lambda-expressions-in-cpp.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ This illustration shows the parts of a lambda:
4646
4747
1. *trailing-return-type* Optional.
4848
49-
1. *lambda body*)
49+
1. *lambda body*.
5050
5151
### Capture Clause
5252
@@ -372,4 +372,4 @@ In addition to C++11 Standard lambda functionality, Visual Studio supports state
372372
[C++ Language Reference](../cpp/cpp-language-reference.md)<br/>
373373
[Function Objects in the C++ Standard Library](../standard-library/function-objects-in-the-stl.md)<br/>
374374
[Function Call](../cpp/function-call-cpp.md)<br/>
375-
[for_each](../standard-library/algorithm-functions.md#for_each)
375+
[for_each](../standard-library/algorithm-functions.md#for_each)

‎docs/linux/cmake-linux-project.md‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ When you install the Linux C++ workload for Visual Studio, CMake support for Lin
1313
This topic assumes you have basic familiarity with CMake support in Visual Studio. For more information, see [CMake Tools for Visual C++](../ide/cmake-tools-for-visual-cpp.md). For more information about CMake itself, see [Build, Test and Package Your Software With CMake](https://cmake.org/).
1414

1515
> [!NOTE]
16-
> The CMake support in Visual Studio requires the server mode support that was introduced in CMake 3.8. For a Microsoft-provided CMake variant download the latest prebuilt binaries at [https://github.com/Microsoft/CMake/releases](https://github.com/Microsoft/CMake/releases).
16+
> The CMake support in Visual Studio requires the server mode support that was introduced in CMake 3.8. For a Microsoft-provided CMake variant download the latest prebuilt binaries at [https://github.com/Microsoft/CMake/releases](https://github.com/Microsoft/CMake/releases). In Visual Studio 2019 the prebuilt binaries can be automatically deployed (see [Download prebuilt CMake binaries](#download-prebuilt-cmake-binaries)).
1717
1818
## Open a folder
1919

@@ -105,6 +105,9 @@ These options allow you to run commands on the remote box before and after build
105105

106106
Your Linux distro may have an older version of CMake. The CMake support in Visual Studio requires the server mode support that was introduced in CMake 3.8. For a Microsoft-provided CMake variant download the latest prebuilt binaries at [https://github.com/Microsoft/CMake/releases](https://github.com/Microsoft/CMake/releases).
107107

108+
**Visual Studio 2019**<br/>
109+
If a valid CMake is not found on the remote machine an infobar will appear and provide an option to automatically deploy the prebuilt CMake binaries. The binaries will be installed to `~/.vs/cmake`. After deploying the binaries, your project will automatically regenerate. Note that if the CMake specified by the `cmakeExecutable` field in `CMakeSettings.json` is invalid (doesn't exist or is an unsupported version) and the prebuilt binaries are present Visual Studio will ignore `cmakeExecutable` and use the prebuilt binaries.
110+
108111
## See Also
109112

110113
[Working with Project Properties](../ide/working-with-project-properties.md)<br/>

‎docs/standard-library/codecvt.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ For byte streams (stored in a file, transmitted as a byte sequence, or stored wi
5151

5252
**Header:** \<codecvt>
5353

54-
**Namespace:** stdt
54+
**Namespace:** std
5555

5656
## See also
5757

‎docs/text/TOC.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@
1818
#### [Character Comparison](character-comparison.md)
1919
#### [Buffer Overflow](buffer-overflow.md)
2020
## [Support for ANSI](support-for-ansi.md)
21-
## [Generic-Text Mappings in Tchar.h](generic-text-mappings-in-tchar-h.md)
21+
## [Generic-Text Mappings in tchar.h](generic-text-mappings-in-tchar-h.md)
2222
### [Using TCHAR.H Data Types with _MBCS Code](using-tchar-h-data-types-with-mbcs-code.md)
2323
## [How to: Convert Between Various String Types](how-to-convert-between-various-string-types.md)

‎docs/text/generic-text-mappings-in-tchar-h.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.assetid: 01e1bb74-5a01-4093-8720-68b6c1fdda80
99

1010
To simplify the transporting of code for international use, the Microsoft run-time library provides Microsoft-specific generic-text mappings for many data types, routines, and other objects. You can use these mappings, which are defined in tchar.h, to write generic code that can be compiled for single-byte, multibyte, or Unicode character sets, depending on a manifest constant that you define by using a `#define` statement. Generic-text mappings are Microsoft extensions that are not ANSI compatible.
1111

12-
By using the tchar.h, you can build single-byte, Multibyte Character Set (MBCS), and Unicode applications from the same sources. tchar.h defines macros (which have the prefix `_tcs`) that, with the correct preprocessor definitions, map to `str`, `_mbs`, or `wcs` functions, as appropriate. To build MBCS, define the symbol `_MBCS`. To build Unicode, define the symbol `_UNICODE`. To build a single-byte application, define neither (the default). By default, `_MBCS` is defined for MFC applications.
12+
By using the tchar.h, you can build single-byte, Multibyte Character Set (MBCS), and Unicode applications from the same sources. tchar.h defines macros (which have the prefix `_tcs`) that, with the correct preprocessor definitions, map to `str`, `_mbs`, or `wcs` functions, as appropriate. To build MBCS, define the symbol `_MBCS`. To build Unicode, define the symbol `_UNICODE`. To build a single-byte application, define neither (the default). By default, `_UNICODE` is defined for MFC applications.
1313

1414
The `_TCHAR` data type is defined conditionally in tchar.h. If the symbol `_UNICODE` is defined for your build, `_TCHAR` is defined as **wchar_t**; otherwise, for single-byte and MBCS builds, it is defined as **char**. (**wchar_t**, the basic Unicode wide-character data type, is the 16-bit counterpart to an 8-bit signed **char**.) For international applications, use the `_tcs` family of functions, which operate in `_TCHAR` units, not bytes. For example, `_tcsncpy` copies `n` `_TCHARs`, not `n` bytes.
1515

‎docs/text/how-to-convert-between-various-string-types.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ int main()
7474
cout << printstr << endl;
7575
}
7676

77-
// Convert the C style string to a CstringA and display it.
77+
// Convert the C style string to a CStringA and display it.
7878
CStringA cstringa(orig);
7979
cstringa += " (CStringA)";
8080
cout << cstringa << endl;
@@ -727,7 +727,7 @@ int main()
727727
// while we call native functions.
728728
pin_ptr<const wchar_t> wch = PtrToStringChars(orig);
729729

730-
// Make a copy of the system string as a multibyte
730+
// Make a copy of the System::String as a multibyte
731731
// char* string. Allocate two bytes in the multibyte
732732
// output string for every wide character in the input
733733
// string, including space for a terminating null.
@@ -738,20 +738,20 @@ int main()
738738
wcstombs_s(&convertedChars, nstring, newsize, wch, _TRUNCATE);
739739
cout << nstring << " (char *)" << endl;
740740

741-
// Convert a wide character system string to a
741+
// Convert a wide character System::String to a
742742
// wide character wchar_t* string.
743743
const size_t newsizew = origsize;
744744
wchar_t *wcstring = new wchar_t[newsizew];
745745
wcscpy_s(wcstring, newsizew, wch);
746746
wcout << wcstring << _T(" (wchar_t *)") << endl;
747747

748-
// Convert a wide character system string to a
748+
// Convert a wide character System::String to a
749749
// wide character _bstr_t string.
750750
_bstr_t bstrt(wch);
751751
bstrt += " (_bstr_t)";
752752
cout << bstrt << endl;
753753

754-
// Convert a wide character system string
754+
// Convert a wide character System::String
755755
// to a wide character CComBSTR string.
756756
CComBSTR ccombstr(wch);
757757
if (ccombstr.Append(_T(" (CComBSTR)")) == S_OK)
@@ -807,4 +807,4 @@ Hello, World! (basic_string)
807807
[wcstombs_s, _wcstombs_s_l](../c-runtime-library/reference/wcstombs-s-wcstombs-s-l.md)<br/>
808808
[strcpy_s, wcscpy_s, _mbscpy_s](../c-runtime-library/reference/strcpy-s-wcscpy-s-mbscpy-s.md)<br/>
809809
[strcat_s, wcscat_s, _mbscat_s](../c-runtime-library/reference/strcat-s-wcscat-s-mbscat-s.md)<br/>
810-
[pin_ptr (C++/CLI)](../windows/pin-ptr-cpp-cli.md)
810+
[pin_ptr (C++/CLI)](../windows/pin-ptr-cpp-cli.md)

‎docs/visual-cpp-help-and-community.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Here's how to getting information about how to write C++ code and use the Visual
2121
|Title|Description|
2222
|-----------|-----------------|
2323
|[Visual C++](visual-cpp-in-visual-studio.md)|Contains reference and conceptual documentation about Visual C++. Part of the MSDN Library.|
24-
|[Windows Developer Center](https://developer.microsoft.com/windows/)|Contains information about how to use C++ and other languages to develop apps for Windows 8. Part of the Windows Developer Center; the C++ content is under the Docs > Language Reference node.|
24+
|[Windows Developer Center](https://developer.microsoft.com/windows/)|Contains information about how to use C++ and other languages to develop apps for Windows 10. Part of the Windows Developer Center; the C++ content is under the Docs > Language Reference node.|
2525

2626
### Online and Offline Documentation
2727

@@ -38,4 +38,4 @@ Many sections of the documentation are also available in PDF form. These section
3838
|[Visual C++ Team Blog](https://blogs.msdn.microsoft.com/vcblog/)|Contains posts on various subjects by the experts on the Visual C++ product team.|
3939
|[Channel 9](https://channel9.msdn.com/)|Contains video interviews and lectures. Use the search box on the Channel 9 home page to find C++ content.|
4040
|[Visual Studio](https://visualstudio.microsoft.com/)|Contains articles and news about Visual Studio and related development tools.|
41-
|[MSDN forums](https://social.msdn.microsoft.com/Forums/home?category=visualc) and [Developer Community](https://developercommunity.visualstudio.com)|Official Microsoft forums where you can post questions about C++ and get answers from Microsoft and from experts in the community.|
41+
|[MSDN forums](https://social.msdn.microsoft.com/Forums/home?category=visualc) and [Developer Community](https://developercommunity.visualstudio.com)|Official Microsoft forums where you can post questions about C++ and get answers from Microsoft and from experts in the community.|

‎styleguide/voice-tone.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Developers will be reading your documents to learn .NET core, and to use it in t
44
Your goal is to create useful documentation that helps the reader on their journey. Our guidelines
55
help with that. Our style guide contains four recommendations:
66
- [Use a Conversational Tone](#use-a-conversational-tone)
7-
- [Write in Second Person](#write-in-2nd-person)
7+
- [Write in Second Person](#write-in-second-person)
88
- [Use Active Voice](#use-active-voice)
99
- [Target a 5th Grade Reading Level](#target-a-5th-grade-reading-level)
1010

@@ -62,7 +62,7 @@ The first sentence uses active voice. The second sentence was written in passive
6262

6363
We recommend active voice because it is more readable. Passive voice can be more difficult to read.
6464

65-
### Target a Fifth Grade Reading Level
65+
### Target a 5th Grade Reading Level
6666

6767
We provide this final guideline because many of our readers are not native English speakers.
6868
You are reaching an international audience with your articles. Please take into account that
@@ -75,4 +75,4 @@ reading your articles will have a formal computer science degree. Terms like 'id
7575
need to be defined if you use it:
7676

7777
>The Close() method is idempotent, meaning that you can call it multiple times and the effect is
78-
the same as if you called it once.
78+
the same as if you called it once.

0 commit comments

Comments
 (0)