Visual Studio 中的 Visual C++Visual C++ in Visual Studio

Microsoft Visual C++(通常缩写为 Visual C++ 或 MSVC)是 Windows Visual Studio 的一部分,指 C++、C 和汇编语言开发的工具和库。Microsoft Visual C++, usually shortened to Visual C++ or MSVC, is the name for the C++, C, and assembly language development tools and libraries available as part of Visual Studio on Windows. 这些工具和库可用于创建通用 Windows 平台 (UWP) 应用、本机桌面和服务器应用程序、在 Windows、Linux、Android 和 iOS 上运行的跨平台库和应用以及使用 .NET Framework 的托管应用。These tools and libraries let you create Universal Windows Platform (UWP) apps, native Windows desktop and server applications, cross-platform libraries and apps that run on Windows, Linux, Android, and iOS, as well as managed apps and libraries that use the .NET Framework. 从 Windows 桌面的简单控制台应用到最复杂的应用,从移动设备的设备驱动程序和操作系统组件到跨平台游戏,再从 Azure 云中的最小 IoT 设备到多服务器的高性能计算等所有内容都可以使用 Visual C++ 编写。You can use Visual C++ to write anything from simple console apps to the most sophisticated and complex apps for Windows desktop, from device drivers and operating system components to cross-platform games for mobile devices, and from the smallest IoT devices to multi-server high performance computing in the Azure cloud.

有关 Visual C++ 的常规信息General information about Visual C++

Visual C++ 的新增功能What's New for Visual C++
查明 Visual C++ 中的新增功能。Find out what’s new in Visual C++.

Visual Studio 2017 中 C++ 的符合性改进C++ conformance improvements in Visual Studio 2017
了解 Visual Studio 2017 中 C++ 的符合性改进情况。Learn about C++ conformance improvements in Visual Studio 2017.

Visual C++ 语言一致性Visual C++ language conformance
MSVC C++ 编译器中按功能列出的符合性状态列表。A list of conformance status by feature in the MSVC C++ compiler.

Visual C++ 更改历史记录(2003 - 2015)Visual C++ change history 2003 - 2015
了解先前版本中的重大更改。Learn about the breaking changes in previous versions.

欢迎回到 C++Welcome Back to C++
基于可使你快速、安全地编写代码并避免 C 样式编程的多个缺陷的 C++11 和 C++14,了解有关现代 C++ 编程技术的详细信息。Learn more about modern C++ programming techniques based on C++11 and C++14 that enable you to write fast, safe code and avoid many of the pitfalls of C-style programming.

如何使用 Visual C++ 工具集报告问题How to Report a Problem with the Visual C++ Toolset
了解如何针对 Visual C++ 工具集(编译器、链接器和其他工具)创建有效的错误报告,以及提交报告的方法。Learn how to create effective error reports against the Visual C++ toolset (compiler, linker, and other tools), and ways to submit your report.

Visual C++ 移植和升级指南Visual C++ Porting and Upgrading Guide
有关移植代码并将项目升级到 Visual Studio 2017 的指南,其中包括将 C++ 代码移植到 Windows 10 和通用 Windows 平台。Guidance for porting code and upgrading projects to Visual Studio 2017, including porting C++ code to Windows 10 and the Universal Windows Platform.

Visual C++ 团队博客Visual C++ Team Blog
详细了解 Visual C++Visual C++开发人员发布的新功能和最新信息。Learn more about new features and the latest information from the developers of Visual C++Visual C++.

Visual Studio 下载Visual Studio Downloads
下载 Visual Studio。Download Visual Studio.

Visual Studio 版本中的 Visual C++ 工具和功能Visual C++ Tools and Features in Visual Studio Editions
查明不同的 Visual Studio 版本。Find out about different Visual Studio editions.

支持的平台Supported Platforms
查明支持哪些平台。Find out which platforms are supported.

Visual C++ 示例Visual C++ Samples
有关示例的信息。Information about samples.

Visual Studio 开发者社区Visual Studio Developer Community
查明如何获取帮助、报告 Bug,并提出 Visual Studio 建议。Find out how to get help, file bugs, and make suggestions for Visual Studio.

使用 C++ 编写应用程序Writing applications in C++

通用 Windows 应用Universal Windows Apps
在 Windows 开发人员中心查找指南和参考内容。Find guides and reference content on the Windows Developer Center. 有关开发 Windows 应用商店应用的信息,请参阅 使用 Visual Studio 开发 Windows 应用商店应用使用 C++ 的 Windows 应用商店应用指南For information about developing Windows Store apps, see Develop Windows Store apps using Visual Studio and Roadmap for Windows Store apps using C++.

桌面应用程序 (C++)Desktop Applications (C++)
了解如何创建具有消息循环和回调的桌面应用程序。Learn how to create desktop applications that have a message loop and callbacks.

Visual C++ 中的 DLLDLLs in Visual C++
查明如何使用 Win32、ATL 和 MFC 创建 Windows 桌面 DLL,并提供有关如何编译和注册 DLL 的信息。Find out how to use Win32, ATL, and MFC to create Windows desktop DLLs, and provides information about how to compile and register your DLL.

并行编程Parallel Programming
了解如何使用并行模式库、C++ AMP、OpenMP 以及与 Windows 多线程相关的其他功能。Learn how to use the Parallel Patterns Library, C++ AMP, OpenMP, and other features that are related to multithreading on Windows.

安全性最佳做法Security Best Practices
了解如何保护应用程序免受恶意代码威胁和未经授权的使用。Learn how to protect applications from malicious code and unauthorized use.

云和 Web 编程Cloud and Web Programming
C++ 中有多种选项可使你连接到 Web 和云。In C++, you have several options for connecting to the web and the cloud.

数据访问Data Access
使用 ODBC 和其他数据库访问技术连接到数据库。Connect to databases using ODBC and other database access technologies.

文本和字符串Text and Strings
了解有关处理不同的文本和字符串格式以及针对本地和国际开发编码的信息。Learn about working with different text and string formats and encodings for local and international development.

C++ 开发工具C++ development tools

要了解有关如何创建项目、使用源代码文件、链接到库、编译、调试、分析、部署等的信息,请参阅 IDE 和开发工具To find out about how to create projects, work with source code files, link to libraries, compile, debug, profile, deploy, and more, see IDE and Development Tools.

C++ 语言参考C++ language reference

有关 C++ 语言的信息,请参阅 C++ Language ReferenceFor information about the C++ language, see C++ Language Reference.

有关 C++ 预处理器的信息,请参阅 C/C++ Preprocessor ReferenceFor information about the C++ preprocessor, see C/C++ Preprocessor Reference.

Visual Studio 中的 C++ 库C++ Libraries in Visual Studio

以下各节提供了有关 Visual Studio 中不同 C 和 C++ 库的信息。The following sections provide information about the different C and C++ libraries that are included in Visual Studio.

C 运行时库参考C Run-Time Library Reference
包括用安全性增强的函数来替代已知会引起安全问题的函数。Includes security-enhanced alternatives to functions that are known to pose security issues.

C++ 标准库C++ Standard Library
C++ 标准库。The C++ Standard Library.

活动模板库 (ATL)Active Template Library (ATL)
对 COM 组件和应用的支持。Support for COM components and apps.

Microsoft 基础类 (MFC) 库Microsoft Foundation Class (MFC) libraries
对创建具有传统或 Office 样式用户界面的桌面应用的支持。Support for creating desktop apps that have traditional or Office-style user interfaces.

并行模式库 (PPL)Parallel Patterns Library (PPL)
在 CPU 上执行的异步和并行算法。Asynchronous and parallel algorithms that execute on the CPU.

C++ AMP (C++ Accelerated Massive Parallelism)C++ AMP (C++ Accelerated Massive Parallelism)
在 GPU 上执行的大量并行算法。Massively parallel algorithms that execute on the GPU.

Windows 运行时模板库 (WRL)Windows Runtime Template Library (WRL)
Windows 8.x 应用商店Windows 8.x Store 应用和组件。apps and components.

使用 C++/CLI 进行 .NET 编程.NET Programming with C++/CLI
公共语言运行时 (CLR) 编程。Programming for the common language runtime (CLR).

另请参阅 STL/CLRC++ Support Library文档。See also the documentation for STL/CLR and the C++ Support Library.

其他 Visual C++ 库Other C++ libraries

使用 vcpkg 命令行工具,可以显著简化 600 多个 C++ 开源库的发现和安装操作。You can use the vcpkg command-line tool to greatly simplify the discovery and installation of over 600 C++ open-source libraries. 请参阅 vcpkg:用于 Windows 的 C++ 程序包管理器See vcpkg: C++ Package Manager for Windows.

更多资源More resources

标准 C++Standard C++
了解 C++、获取现代 C++ 的概述,并查找各种书籍、文章、谈话和会议的链接Learn about C++, get an overview of Modern C++, and find links to books, articles, talks, and events

学习 Visual C++Learn Visual C++
开始学习 C++。Start learning C++.

请参阅See also

C 语言参考 C Language Reference
C 运行时库参考 C Run-Time Library Reference
编译器内部函数和程序集语言Compiler Intrinsics and Assembly Language