Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge
Read in English
Read in English Edit
Twitter LinkedIn Facebook Email

C++ language documentation

Learn to use C++ and the C++ standard library.

Learn C++ in Visual Studio

Download

  • Download Visual Studio for Windows
  • Install C/C++ support in Visual Studio
  • Download only the command-line build tools

Get Started

  • Hello world in Visual Studio with C++
  • Create a console calculator in C++

video

  • Learn C++ - A general purpose language and library

Training

  • Welcome back to C++ - Modern C++
  • Samples and the sample archive

What's new for C++ in Visual Studio

What's new

  • What's new for C++ in Visual Studio
  • C++ conformance improvements

Overview

  • Overview of C++ development in Visual Studio
  • Supported target platforms
  • Help and community resources
  • Report a problem or make a suggestion

Use the compiler and tools

Reference

  • C/C++ build reference
  • Projects and build systems
  • Compiler reference
  • Linker reference
  • Additional build tools
  • Errors and warnings

C++ language

Reference

  • C++ language reference
  • C++ keywords
  • C++ operators
  • C/C++ preprocessor reference

C++ standard library (STL)

Reference

  • C++ standard library overview
  • C++ standard library reference by header
  • C++ standard library containers
  • Iterators
  • Algorithms
  • Allocators
  • Function objects
  • iostream programming
  • Regular expressions
  • File system navigation
  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2023
  • Previous Versions
  • Blog
  • Contribute
  • Privacy
  • Terms of Use
  • Trademarks
  • © Microsoft 2023