diff --git a/docs/cpp/fundamental-types-cpp.md b/docs/cpp/fundamental-types-cpp.md index 6cca9c2d002..a8557bd6e20 100644 --- a/docs/cpp/fundamental-types-cpp.md +++ b/docs/cpp/fundamental-types-cpp.md @@ -2,7 +2,7 @@ title: "Fundamental Types (C++)" ms.date: "11/04/2016" f1_keywords: ["__int128_cpp", "__wchar_t_cpp", "char_cpp", "double_cpp", "float_cpp", "int_cpp", "long_cpp", "long_double_cpp", "short_cpp", "signed_cpp", "unsigned_cpp", "unsigned_int_cpp", "wchar_t_cpp"] -helpviewer_keywords: ["specifiers [C++], type", "float keyword [C++]", "char keyword [C++]", "__wchar_t keyword [C++]", "signed types [C++], summary of data types", "Integer data type [C++], C++ data types", "arithmetic operations [C++], types", "int data type", "unsigned types [C++], summary of data types", "short data type [C++]", "double data type [C++], summary of types", "long long keyword [C++]", "long double keyword [C++]", "unsigned types [C++]", "signed types [C++]", "void keyword [C++]", "storage [C++], basic type", "integral types, C++", "wchar_t keyword [C++]", "floating-point numbers [C++], C++ data types", "long keyword [C++]", "type specifiers [C++]", "integral types", "long keyword [C++], C++ data types", "storing types [C++]", "data types [C++], void"] +helpviewer_keywords: ["specifiers [C++], type", "float keyword [C++]", "char keyword [C++]", "__wchar_t keyword [C++]", "signed types [C++], summary of data types", "Integer data type [C++], C++ data types", "arithmetic operations [C++], types", "int data type", "unsigned types [C++], summary of data types", "short data type [C++]", "double data type [C++], summary of types", "long long keyword [C++]", "long double keyword [C++]", "unsigned types [C++]", "signed types [C++]", "void keyword [C++]", "storage [C++], basic type", "integral types, C++", "wchar_t keyword [C++]", "floating-point numbers [C++], C++ data types", "long keyword [C++]", "type specifiers [C++]", "integral types", "long keyword [C++]", "storing types [C++]", "data types [C++], void"] ms.assetid: 58b0106a-0406-4b74-a430-7cbd315c0f89 --- # Fundamental Types (C++) @@ -28,7 +28,7 @@ The following table explains the restrictions on type sizes. These restrictions ||**short**|Type **short int** (or simply **short**) is an integral type that is larger than or equal to the size of type **char**, and shorter than or equal to the size of type **int**.

Objects of type **short** can be declared as **signed short** or **unsigned short**. **Signed short** is a synonym for **short**.| ||**int**|Type **int** is an integral type that is larger than or equal to the size of type **short int**, and shorter than or equal to the size of type **long**.

Objects of type **int** can be declared as **signed int** or **unsigned int**. **Signed int** is a synonym for **int**.| ||**__int8**, **__int16**, **__int32**, **__int64**|Sized integer `__int n`, where `n` is the size, in bits, of the integer variable. **__int8**, **__int16**, **__int32** and **__int64** are Microsoft-specific keywords. Not all types are available on all architectures. (**__int128** is not supported.)| -||**long**|Type **long** (or **long int**) is an integral type that is larger than or equal to the size of type **int**.

Objects of type **long** can be declared as **signed long** or **unsigned long**. **Signed long** is a synonym for **long**.| +||**long**|Type **long** (or **long int**) is an integral type that is larger than or equal to the size of type **int**. (On Windows **long** is the same size as **int**.)

Objects of type **long** can be declared as **signed long** or **unsigned long**. **Signed long** is a synonym for **long**.| ||**long long**|Larger than an unsigned **long**.

Objects of type **long long** can be declared as **signed long long** or **unsigned long long**. **signed long long** is a synonym for **long long**.| ||**wchar_t**, **__wchar_t**|A variable of type **wchar_t** designates a wide-character or multibyte character type. By default, **wchar_t** is a native type, but you can use [/Zc:wchar_t-](../build/reference/zc-wchar-t-wchar-t-is-native-type.md) to make **wchar_t** a typedef for **unsigned short**. The **__wchar_t** type is a Microsoft-specific synonym for the native **wchar_t** type.

Use the L prefix before a character or string literal to designate the wide-character type.| |Floating point|**float**|Type **float** is the smallest floating point type.| diff --git a/docs/error-messages/compiler-errors-2/compiler-error-c2813.md b/docs/error-messages/compiler-errors-2/compiler-error-c2813.md index ed347d1a99f..4f77bed6345 100644 --- a/docs/error-messages/compiler-errors-2/compiler-error-c2813.md +++ b/docs/error-messages/compiler-errors-2/compiler-error-c2813.md @@ -1,6 +1,7 @@ --- title: "Compiler Error C2813" ms.date: "11/04/2016" +f1_keywords: ["C2813"] helpviewer_keywords: ["C2813"] ms.assetid: 6cf2135f-7b82-42d1-909a-5e864308a09c --- diff --git a/docs/error-messages/compiler-warnings/c4473.md b/docs/error-messages/compiler-warnings/c4473.md index 5f871d3b428..e96883c3384 100644 --- a/docs/error-messages/compiler-warnings/c4473.md +++ b/docs/error-messages/compiler-warnings/c4473.md @@ -1,6 +1,7 @@ --- title: "Compiler Warning C4473" ms.date: "02/16/2018" +f1_keywords: ["C4473"] helpviewer_keywords: ["C4473"] --- # Compiler Warning (level 1) C4473 diff --git a/docs/error-messages/compiler-warnings/c4477.md b/docs/error-messages/compiler-warnings/c4477.md index ad142b791cd..7377e0d29ba 100644 --- a/docs/error-messages/compiler-warnings/c4477.md +++ b/docs/error-messages/compiler-warnings/c4477.md @@ -1,6 +1,7 @@ --- title: "Compiler Warning C4477" ms.date: "02/16/2018" +f1_keywords: ["C4477"] helpviewer_keywords: ["C4477"] --- # Compiler Warning (level 1) C4477 diff --git a/docs/error-messages/compiler-warnings/c5038.md b/docs/error-messages/compiler-warnings/c5038.md index 17d69061cf7..cfba62ac512 100644 --- a/docs/error-messages/compiler-warnings/c5038.md +++ b/docs/error-messages/compiler-warnings/c5038.md @@ -2,6 +2,7 @@ title: "Compiler Warning C5038" description: Describes the causes and fixes for compiler warning C5038. ms.date: "10/11/2019" +f1_keywords: ["C5038"] helpviewer_keywords: ["C5038"] --- # Compiler Warning C5038 diff --git a/docs/error-messages/compiler-warnings/c5045.md b/docs/error-messages/compiler-warnings/c5045.md index 64a9ffd8420..9ad499de957 100644 --- a/docs/error-messages/compiler-warnings/c5045.md +++ b/docs/error-messages/compiler-warnings/c5045.md @@ -1,6 +1,7 @@ --- title: "Compiler Warning C5045" ms.date: "06/21/2018" +f1_keywords: ["C5045"] helpviewer_keywords: ["C5045"] --- # Compiler Warning C5045 diff --git a/docs/error-messages/compiler-warnings/c5105.md b/docs/error-messages/compiler-warnings/c5105.md index 1f078748e5e..19f1371fa0a 100644 --- a/docs/error-messages/compiler-warnings/c5105.md +++ b/docs/error-messages/compiler-warnings/c5105.md @@ -2,6 +2,7 @@ title: "Compiler Warning C5105" description: Compiler warning C5105 description and solution. ms.date: "09/22/2019" +f1_keywords: ["C5105"] helpviewer_keywords: ["C5105"] --- # Compiler Warning (level 1) C5105 diff --git a/docs/error-messages/compiler-warnings/compiler-warning-c4746.md b/docs/error-messages/compiler-warnings/compiler-warning-c4746.md index e9e710e1eff..32277cd5031 100644 --- a/docs/error-messages/compiler-warnings/compiler-warning-c4746.md +++ b/docs/error-messages/compiler-warnings/compiler-warning-c4746.md @@ -1,6 +1,8 @@ --- title: "Compiler Warning C4746" ms.date: "11/04/2016" +f1_keywords: ["C4746"] +helpviewer_keywords: ["C4746"] ms.assetid: 5e79ab46-6031-499a-a986-716c866b6c0e --- # Compiler Warning C4746 diff --git a/docs/error-messages/compiler-warnings/compiler-warning-c4868.md b/docs/error-messages/compiler-warnings/compiler-warning-c4868.md index e23678248d4..bbba276aa31 100644 --- a/docs/error-messages/compiler-warnings/compiler-warning-c4868.md +++ b/docs/error-messages/compiler-warnings/compiler-warning-c4868.md @@ -2,6 +2,7 @@ title: "Compiler Warning C4868" ms.date: "10/26/2017" f1_keywords: ["C4868"] +helpviewer_keywords: ["C4868"] ms.assetid: fc6aa7e5-34dd-4ec2-88bd-16e430361dc7 --- # Compiler Warning (level 4) C4868 diff --git a/docs/error-messages/compiler-warnings/compiler-warning-level-1-c4436.md b/docs/error-messages/compiler-warnings/compiler-warning-level-1-c4436.md index 1938d0686c6..3f0188dc18b 100644 --- a/docs/error-messages/compiler-warnings/compiler-warning-level-1-c4436.md +++ b/docs/error-messages/compiler-warnings/compiler-warning-level-1-c4436.md @@ -1,6 +1,8 @@ --- title: "Compiler Warning (level 1) C4436" ms.date: "11/04/2016" +f1_keywords: ["C4436"] +helpviewer_keywords: ["C4436"] ms.assetid: 2b54a1fc-c9c6-4cc9-90be-faa44fc715d5 --- # Compiler Warning (level 1) C4436 diff --git a/docs/error-messages/compiler-warnings/compiler-warning-level-1-c4577.md b/docs/error-messages/compiler-warnings/compiler-warning-level-1-c4577.md index 6426a6a1665..20ad8a262e8 100644 --- a/docs/error-messages/compiler-warnings/compiler-warning-level-1-c4577.md +++ b/docs/error-messages/compiler-warnings/compiler-warning-level-1-c4577.md @@ -2,6 +2,7 @@ title: "Compiler Warning C4577" description: Compiler warning C4577 description and solution. ms.date: "09/18/2019" +f1_keywords: ["C4577"] helpviewer_keywords: ["C4577"] --- # Compiler Warning (level 1) C4577 diff --git a/docs/error-messages/compiler-warnings/compiler-warning-level-1-c4910.md b/docs/error-messages/compiler-warnings/compiler-warning-level-1-c4910.md index fd4dd3a6db3..2c7959b07c6 100644 --- a/docs/error-messages/compiler-warnings/compiler-warning-level-1-c4910.md +++ b/docs/error-messages/compiler-warnings/compiler-warning-level-1-c4910.md @@ -1,6 +1,7 @@ --- title: "Compiler Warning (level 1) C4910" ms.date: "11/04/2016" +f1_keywords: ["C4910"] helpviewer_keywords: ["C4910"] ms.assetid: 67963560-fbca-4ca7-93db-06beaf7055f0 --- diff --git a/docs/error-messages/compiler-warnings/compiler-warning-level-4-c4435.md b/docs/error-messages/compiler-warnings/compiler-warning-level-4-c4435.md index 304b85f6340..27d77ee2454 100644 --- a/docs/error-messages/compiler-warnings/compiler-warning-level-4-c4435.md +++ b/docs/error-messages/compiler-warnings/compiler-warning-level-4-c4435.md @@ -1,6 +1,8 @@ --- title: "Compiler Warning (level 4) C4435" ms.date: "11/04/2016" +f1_keywords: ["C4435"] +helpviewer_keywords: ["C4435"] ms.assetid: a04524af-2b71-4ff9-9729-d9d1d1904ed7 --- # Compiler Warning (level 4) C4435 diff --git a/docs/error-messages/compiler-warnings/compiler-warning-level-4-c4437.md b/docs/error-messages/compiler-warnings/compiler-warning-level-4-c4437.md index bc668e808d2..f208672f0f6 100644 --- a/docs/error-messages/compiler-warnings/compiler-warning-level-4-c4437.md +++ b/docs/error-messages/compiler-warnings/compiler-warning-level-4-c4437.md @@ -1,6 +1,8 @@ --- title: "Compiler Warning (level 4) C4437" ms.date: "11/04/2016" +f1_keywords: ["C4437"] +helpviewer_keywords: ["C4437"] ms.assetid: dc07e350-20eb-474c-a7ad-f841ae7ec339 --- # Compiler Warning (level 4) C4437 diff --git a/docs/error-messages/compiler-warnings/compiler-warning-level-4-c4985.md b/docs/error-messages/compiler-warnings/compiler-warning-level-4-c4985.md index b880eb520b5..e9d2d380946 100644 --- a/docs/error-messages/compiler-warnings/compiler-warning-level-4-c4985.md +++ b/docs/error-messages/compiler-warnings/compiler-warning-level-4-c4985.md @@ -1,6 +1,7 @@ --- title: "Compiler Warning (level 4) C4985" ms.date: "11/04/2016" +f1_keywords: ["C4985"] helpviewer_keywords: ["C4985"] ms.assetid: 832f001c-afe7-403d-a8b4-02334724c79e --- diff --git a/docs/mfc/mfc-mbcs-dll-add-on.md b/docs/mfc/mfc-mbcs-dll-add-on.md index 51db2bce93c..3b371d3b7b7 100644 --- a/docs/mfc/mfc-mbcs-dll-add-on.md +++ b/docs/mfc/mfc-mbcs-dll-add-on.md @@ -1,6 +1,6 @@ --- title: "MFC MBCS DLL Add-on" -ms.date: "05/08/2019" +ms.date: "12/02/2019" helpviewer_keywords: ["MBCS", "MFC"] --- # MFC MBCS DLL Add-on @@ -11,7 +11,7 @@ Support for MFC and its multibyte character set (MBCS) libraries requires an add **Visual Studio 2015**: Both Unicode and MBCS MFC DLLs are included in the Visual C++ setup components, but support for MFC is not installed by default. Visual C++ and MFC are optional install configurations in Visual Studio setup. To make sure that MFC is installed, choose **Custom** in setup, and under **Programming Languages**, make sure that **Visual C++** and **Microsoft Foundation Classes for C++** are selected. If you have already installed Visual Studio, you will be prompted to install Visual C++ and/or MFC when you attempt to create an MFC project. -**Visual Studio 2017 and later**: The Unicode and MBCS MFC DLLs are installed with the **Desktop development with C++** workload when you select **MFC and ATL support** from the **Optional Components** pane. If your installation does not include these components, navigate to the **File | New Projects** dialog and click the **Open Visual Studio Installer** link. +**Visual Studio 2017 and later**: The Unicode and MBCS MFC DLLs are installed with the **Desktop development with C++** workload when you select **MFC and ATL support** from the **Optional Components** pane in the Visual Studio Installer program. If your installation does not include these components, navigate to the **File | New Projects** dialog and click the **Open Visual Studio Installer** link. For more information, see [Install Visual Studio](/visualstudio/install/install-visual-studio). ## See also diff --git a/docs/overview/overview-of-cpp-development.md b/docs/overview/overview-of-cpp-development.md index eb8f16d917f..c87344cd66b 100644 --- a/docs/overview/overview-of-cpp-development.md +++ b/docs/overview/overview-of-cpp-development.md @@ -1,7 +1,7 @@ --- title: "Overview of C++ development in Visual Studio" description: "The Visual Studio IDE supports C++ development on Windows, Linux, Android and iOS with a code editor, debugger, test frameworks, static analyzers, and other programming tools." -ms.date: "03/08/2019" +ms.date: "12/02/2019" helpviewer_keywords: ["Visual C++, development tools"] author: "corob-msft" ms.author: "corob" @@ -66,7 +66,7 @@ If your program has a user interface, you can use a designer to quickly populate ![Designer and Toolbox](media/vs2017-toolbox-designer.png "Visual Studio 2017 Toolbox and designer") -For more information about designing a user interface for a Universal Windows Platform app, see [Design and UI](https://developer.microsoft.com/windows/design). +For more information about designing a user interface for a Universal Windows Platform app, see [Design and UI](https://developer.microsoft.com/windows/design). For more information about creating a user interface for an MFC application, see [MFC Desktop Applications](../mfc/mfc-desktop-applications.md). For information about Win32 Windows programs, see [Windows Desktop Applications](../windows/windows-desktop-applications-cpp.md). @@ -80,13 +80,11 @@ The code editor is a specialized word processor for C++ source code. It color-co ## Add and edit resources -The term *resource* includes things such as dialogs, icons, images, localizable strings, splash screens, database connection strings, or any arbitrary data that you want to include in the executable file. - -For more information on adding and editing resources in native desktop C++ projects, see [Working with Resource Files](../windows/working-with-resource-files.md). +A Windows program or DLL usually includes some *resources*, such as dialogs, icons, images, localizable strings, splash screens, database connection strings, or any arbitrary data. Visual Studio includes tools for adding and editing resources. For more information, see [Working with Resource Files](../windows/working-with-resource-files.md). ## Build (compile and link) -Choose **Build** > **Build Solution** on the menu bar, or enter the Ctrl+Shift+B key combination to compile and link a project. Build errors and warnings are reported in the Error List (Ctrl+\\, E). The **Output** Window (Alt+2) shows information about the build process. +Choose **Build** > **Build Solution** on the menu bar, or enter the **Ctrl+Shift+B** key combination to compile and link a project. Build errors and warnings are reported in the Error List (**Ctrl+\\, E**). The **Output** Window (**Alt+2**) shows information about the build process. ![Output Window and Error List](media/vs2017-output-error-list.png "Visual Studio 2017 Output window and Error List") @@ -96,7 +94,7 @@ You can also use the compiler (cl.exe) and many other build-related standalone t ## Debug -You can start debugging by pressing **F5**. Execution pauses on any breakpoints you have set. You can also step through code one line at a time, view the values of variables or registers, and even in some cases make changes in code and continue debugging without re-compiling. The following illustration shows a debugging session in which execution is stopped on a breakpoint. The values of the data structure members are visible in the **Watch Window**. +You can start debugging by pressing **F5**. Execution pauses on any breakpoints you have set (by pressing **F9**). You can also step through code one line at a time (**F10**), view the values of variables or registers, and even in some cases make changes in code and continue debugging without re-compiling. The following illustration shows a debugging session in which execution is stopped on a breakpoint. The values of the data structure members are visible in the **Watch Window**. ![Debugging session](media/vs2017-debug-watch.png "Visual Studio 2017 debugging session") @@ -118,7 +116,7 @@ Visual Studio includes static code analysis tools that can detect potential prob You can deploy both traditional desktop applications and UWP apps to customers through the Microsoft Store. Deployment of the CRT is handled automatically behind the scenes. For more information, see [Publish Windows apps and games](/windows/uwp/publish/). -You can also deploy a native C++ desktop to another computer For more information, see [Deploying Desktop Applications](../windows/deploying-native-desktop-applications-visual-cpp.md). +You can also deploy a native C++ desktop to another computer. For more information, see [Deploying Desktop Applications](../windows/deploying-native-desktop-applications-visual-cpp.md). For more information about deploying a C++/CLI program, see [Deployment Guide for Developers](/dotnet/framework/deployment/deployment-guide-for-developers), diff --git a/docs/overview/supported-platforms-visual-cpp.md b/docs/overview/supported-platforms-visual-cpp.md index 8736bcac3d7..fc66fb163e9 100644 --- a/docs/overview/supported-platforms-visual-cpp.md +++ b/docs/overview/supported-platforms-visual-cpp.md @@ -1,6 +1,6 @@ --- title: "Supported Platforms (Visual C++)" -ms.date: "05/14/2019" +ms.date: "12/02/2019" ms.technology: "cpp-tools" helpviewer_keywords: ["Visual C++, platforms supported", "platforms [C++]"] ms.assetid: 0d893056-4008-411a-b3d1-5f57fd7da95c @@ -26,7 +26,7 @@ Apps built by using Visual Studio can be targeted to various platforms, as follo |iOS \*\*|X|X|X|X| |Linux \*\*\*|X|X|X|X| -\* You can use the Windows XP platform toolset included in Visual Studio 2017, Visual Studio 2015, Visual Studio 2013, and Visual Studio 2012 Update 1 or later to build Windows XP and Windows Server 2003 projects. For information on how to use this platform toolset, see [Configuring Programs for Windows XP](../build/configuring-programs-for-windows-xp.md). For additional information on changing the platform toolset, see [How to: Modify the Target Framework and Platform Toolset](../build/how-to-modify-the-target-framework-and-platform-toolset.md). +\* You can use the Windows XP platform toolset included in Visual Studio 2017, Visual Studio 2015, Visual Studio 2013, and Visual Studio 2012 Update 1 to build Windows XP and Windows Server 2003 projects. For information on how to use this platform toolset, see [Configuring Programs for Windows XP](../build/configuring-programs-for-windows-xp.md). For additional information on changing the platform toolset, see [How to: Modify the Target Framework and Platform Toolset](../build/how-to-modify-the-target-framework-and-platform-toolset.md). \*\* You can install the **Mobile development with C++** workload in the installer for Visual Studio 2017 and later. In Visual Studio 2015 setup, choose the optional **Visual C++ for Cross Platform Mobile Development** component to target iOS or Android platforms. For instructions, see [Install Visual C++ for Cross-Platform Mobile Development](/visualstudio/cross-platform/install-visual-cpp-for-cross-platform-mobile-development). To build iOS code, you must have a Mac computer and meet other requirements. For a list of prerequisites and installation instructions, see [Install And Configure Tools to Build using iOS](/visualstudio/cross-platform/install-and-configure-tools-to-build-using-ios). You can build x86 or ARM code to match the target hardware. Use x86 configurations to build for the iOS simulator, Microsoft Visual Studio Emulator for Android, and some Android devices. Use ARM configurations to build for iOS devices and most Android devices. diff --git a/docs/parallel/openmp/reference/openmp-library-reference.md b/docs/parallel/openmp/reference/openmp-library-reference.md index 602e7c4e52a..897a76e8a97 100644 --- a/docs/parallel/openmp/reference/openmp-library-reference.md +++ b/docs/parallel/openmp/reference/openmp-library-reference.md @@ -1,6 +1,6 @@ --- title: "OpenMP Library Reference" -ms.date: "07/30/2019" +ms.date: "12/02/2019" ms.assetid: a25188c6-edde-43d0-84b5-780e797b08fc --- # OpenMP Library Reference @@ -20,8 +20,8 @@ The Visual C++ OpenMP run-time library functions are contained in the following |OpenMP run-time library|Characteristics| |------------------------------|---------------------| -|VCOMP.LIB|Multithreaded, dynamic link (import library for VCOMP.LIB).| -|VCOMPD.LIB|Multithreaded, dynamic link (import library for VCOMPD.LID) (debug)| +|VCOMP.LIB|Multithreaded, dynamic link (import library for VCOMP140.DLL).| +|VCOMPD.LIB|Multithreaded, dynamic link (import library for VCOMP140D.DLL) (debug)| If _DEBUG is defined in a compilation and if `#include ` is in source code, VCOMPD.LIB will be the default lib, otherwise, VCOMP.LIB will be used.