Skip to content

Commit 92c568e

Browse files
author
JiayueHu
authored
Merge pull request #1400 from MicrosoftDocs/master
Daily publishing - Sep.24 10:30am
2 parents bb8958c + f2bcd6d commit 92c568e

13 files changed

+78
-54
lines changed

docs/build/reference/execution-charset-set-execution-character-set.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "-execution-charset (Set Execution Character Set) | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "11/04/2016"
5-
ms.technology: ["cpp", "devlang-cpp"]
5+
ms.technology: ["cpp-tools"]
66
ms.topic: "reference"
77
f1_keywords: ["execution-charset", "/execution-charset"]
88
dev_langs: ["C++"]
@@ -24,10 +24,10 @@ Lets you specify the execution character set for your executable.
2424

2525
## Arguments
2626

27-
**IANA_name**<br/>
27+
*IANA_name*<br/>
2828
The IANA-defined character set name.
2929

30-
**CPID**<br/>
30+
*CPID*<br/>
3131
The code page identifier.
3232

3333
## Remarks

docs/build/reference/source-charset-set-source-character-set.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "-source-charset (Set Source Character Set) | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "11/04/2016"
5-
ms.technology: ["cpp", "devlang-cpp"]
5+
ms.technology: ["cpp-tools"]
66
ms.topic: "reference"
77
f1_keywords: ["source-charset", "/source-charset"]
88
dev_langs: ["C++"]

docs/build/reference/utf-8-set-source-and-executable-character-sets-to-utf-8.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "-utf-8 (Set Source and Executable character sets to UTF-8) | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "11/04/2016"
5-
ms.technology: ["cpp", "devlang-cpp"]
5+
ms.technology: ["cpp-tools"]
66
ms.topic: "reference"
77
f1_keywords: ["/utf-8"]
88
dev_langs: ["C++"]

docs/build/reference/validate-charset-validate-for-compatible-characters.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "-validate-charset (Validate for compatible characters) | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "11/04/2016"
5-
ms.technology: ["cpp", "devlang-cpp"]
5+
ms.technology: ["cpp-tools"]
66
ms.topic: "reference"
77
f1_keywords: ["/validate-charset", "validate-charset"]
88
dev_langs: ["C++"]

docs/build/reference/yc-create-precompiled-header-file.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: "-Yc (Create Precompiled Header File) | Microsoft Docs"
33
ms.custom: ""
44
ms.date: "11/04/2016"
5-
ms.technology: ["devlang-cpp"]
5+
ms.technology: ["cpp-tools"]
66
ms.topic: "reference"
77
f1_keywords: ["VC.Project.VCCLCompilerTool.UsePrecompiledHeader", "/yc", "VC.Project.VCCLWCECompilerTool.PrecompiledHeaderThrough", "VC.Project.VCCLWCECompilerTool.UsePrecompiledHeader", "VC.Project.VCCLCompilerTool.PrecompiledHeaderThrough"]
88
dev_langs: ["C++"]
@@ -18,7 +18,7 @@ Instructs the compiler to create a precompiled header (.pch) file that represent
1818

1919
## Syntax
2020

21-
> __/Yc__
21+
> __/Yc__<br/>
2222
> __/Yc__*filename*
2323
2424
## Arguments

docs/build/vscpp-step-0-installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: "Install Visual Studio support for Visual C++"
44
ms.custom: "mvc"
55
ms.date: "09/17/2018"
66
ms.topic: "tutorial"
7-
ms.technology: ["devlang-C++"]
7+
ms.technology: ["cpp-tools"]
88
ms.devlang: "C++"
99
dev_langs: ["C++"]
1010
ms.assetid: 45138d70-719d-42dc-90d7-1d0ca31a2f54

docs/build/vscpp-step-1-create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: "Create a Hello World console app in Visual C++"
44
ms.custom: "mvc"
55
ms.date: 12/12/2017
66
ms.topic: "tutorial"
7-
ms.technology: ["devlang-C++"]
7+
ms.technology: ["cpp-tools"]
88
ms.devlang: "C++"
99
dev_langs: ["C++"]
1010
ms.assetid: 45138d70-719d-42dc-90d7-1d0ca31a2f54

docs/build/vscpp-step-2-build.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: "Build and run a Hello World console app in Visual C++"
44
ms.custom: "mvc"
55
ms.date: 12/12/2017
66
ms.topic: "tutorial"
7-
ms.technology: ["devlang-C++"]
7+
ms.technology: ["cpp-tools"]
88
ms.devlang: "C++"
99
dev_langs: ["C++"]
1010
ms.assetid: 45138d71-719d-42dc-90d7-1d0ca31a2f55
@@ -36,7 +36,7 @@ If Visual Studio looks like this, you're ready to build and run your app:
3636

3737
![Start the project](../build/media/vscpp-start-without-debugging.gif "Start the project")
3838

39-
A console window opens and then runs your app. When you start a console app in Visual Studio, it runs your code, then prints "Press any key to continue . . ." to give you a chance to see the output.
39+
A console window opens and then runs your app. When you start a console app in Visual Studio, it runs your code, then prints "Press any key to continue . . ." to give you a chance to see the output.
4040

4141
Congratulations! You've created your first "Hello, world!" console app in Visual Studio! Press a key to dismiss the console window and return to Visual Studio.
4242

docs/dotnet/how-to-migrate-to-clr.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ C++ also requires that functions either be prototyped or fully defined before th
7070
7171
Identifiers used in C code that happen to be keywords in C++ (such as `virtual`, `new`, `delete`, `bool`, `true`, `false`, etc.) must be renamed. This can generally be done with simple search-and-replace operations.
7272
73-
Finally, whereas C-style COM calls require explicit use of the v-table and `this` pointer, C++ does not:
74-
7573
```
7674
COMObj1->lpVtbl->Method(COMObj, args); // C code
7775
COMObj2->Method(args); // C++ equivalent

docs/mfc/mfc-activex-controls-using-data-binding-in-an-activex-control.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "MFC ActiveX Controls: Using Data Binding in an ActiveX Control | Microsoft Docs"
33
ms.custom: ""
4-
ms.date: "12/09/2018"
4+
ms.date: "09/12/2018"
55
ms.technology: ["cpp-mfc"]
66
ms.topic: "conceptual"
77
f1_keywords: ["bindable", "requestedit", "defaultbind", "displaybind", "dispid"]

docs/windows/walkthrough-creating-a-standard-cpp-program-cpp.md

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Walkthrough: Creating a Standard C++ Program (C++) | Microsoft Docs"
33
ms.custom: "get-started-article"
4-
ms.date: "11/04/2016"
4+
ms.date: "09/18/2018"
55
ms.technology: ["cpp-windows"]
66
ms.topic: "conceptual"
77
f1_keywords: ["vcfirstapp", "vccreatefirst"]
@@ -31,41 +31,48 @@ To complete this walkthrough, you must understand the fundamentals of the C++ la
3131

3232
1. Create a project by pointing to **New** on the **File** menu, and then clicking **Project**.
3333

34-
2. In the **Visual C++** project types pane, click **Windows Desktop**, and then click **Windows Console Application**.
34+
1. In the **Visual C++** project types pane, click **Windows Desktop**, and then click **Windows Console Application**.
3535

36-
3. Type a name for the project.
36+
> [!NOTE]
37+
> For versions of Visual Studio older than 2017, in the **New Project** dialog box, expand **Installed** > **Templates** > **Visual C++**, and then select **Win32**. In the center pane, select **Win32 Console Application**.
38+
39+
Type a name for the project.
3740

3841
By default, the solution that contains the project has the same name as the project, but you can type a different name. You can also type a different location for the project.
3942

4043
Click **OK** to create the project.
4144

42-
4. If **Solution Explorer** is not displayed, on the **View** menu, click **Solution Explorer**.
45+
> [!NOTE]
46+
> For versions of Visual Studio older than 2017, complete the **Win32 Application Wizard**. Click **Next**, then make sure **Console Application** is selected and uncheck the **Precompiled Headers** box. Click **Finish**.
47+
48+
1. If **Solution Explorer** is not displayed, on the **View** menu, click **Solution Explorer**.
4349

44-
5. Add a new source file to the project, as follows.
50+
1. Add a new source file to the project, as follows.
4551

4652
1. In **Solution Explorer**, right-click the **Source Files** folder, point to **Add**, and then click **New Item**.
4753

48-
2. In the **Code** node, click **C++ File (.cpp)**, type a name for the file, and then click **Add**.
54+
1. In the **Code** node, click **C++ File (.cpp)**, type a name for the file, and then click **Add**.
4955

5056
The .cpp file appears in the **Source Files** folder in **Solution Explorer**, and the file is opened in the Visual Studio editor.
5157

52-
6. In the file in the editor, type a valid C++ program that uses the C++ Standard Library, or copy one of the sample programs and paste it in the file.
58+
1. In the file in the editor, type a valid C++ program that uses the C++ Standard Library, or copy one of the sample programs and paste it in the file.
5359

54-
7. Save the file.
60+
1. Save the file.
5561

56-
8. On the **Build** menu, click **Build Solution**.
62+
1. On the **Build** menu, click **Build Solution**.
5763

5864
The **Output** window displays information about the compilation progress, for example, the location of the build log and a message that indicates the build status.
5965

60-
9. On the **Debug** menu, click **Start without Debugging**.
66+
1. On the **Debug** menu, click **Start without Debugging**.
6167

6268
If you used the sample program, a command window is displayed and shows whether certain integers are found in the set.
6369

6470
## Next Steps
6571

66-
**Previous:** [Console Applications in Visual C++](../windows/console-applications-in-visual-cpp.md). **Next:**[Walkthrough: Compiling a Native C++ Program on the Command Line](../build/walkthrough-compiling-a-native-cpp-program-on-the-command-line.md).
72+
**Previous:** [Console Applications in Visual C++](../windows/console-applications-in-visual-cpp.md)<br/>
73+
**Next:** [Walkthrough: Compiling a Native C++ Program on the Command Line](../build/walkthrough-compiling-a-native-cpp-program-on-the-command-line.md)<br/>
6774

6875
## See Also
6976

7077
[C++ Language Reference](../cpp/cpp-language-reference.md)<br/>
71-
[C++ Standard Library](../standard-library/cpp-standard-library-reference.md)
78+
[C++ Standard Library](../standard-library/cpp-standard-library-reference.md)<br/>

0 commit comments

Comments
 (0)