C++17 Features In Visual Studio 2017 Version 15.3 Preview

Visual Studio 2017 version 15.3 preview is now available, containing an updated Visual C++ toolset (i.e. compiler, linker, and libraries). Like VS 2015’s Updates, we’re adding C++17 features in VS 2017’s Updates, at a similar release frequency. Unlike VS 2015’s Updates (which combined IDE and toolset changes), VS 2017’s IDE is being updated more frequently (with… Read more

CMake support in Visual Studio – what’s new in 2017 15.3 Preview

We are excited to announce the first preview release of Visual Studio 2017 15.3 update in conjunction with our Build 2017 conference!  This preview includes two new features of interest to developers utilizing CMake.  Support for the CMake Ninja generator and CMake CTest integration in the IDE. Please download the preview and try out the… Read more

C++ at Microsoft Build 2017

The C++ team is at Build this week. Here are some of the highlights for C++ developers (and since there is a live stream and videos, you do not have to miss everything): Watch the live stream direct from Build on Channel 9. Highlights include keynotes and other larger breakout sessions. B8105 7++ reasons to… Read more

Using C++ Modules in Visual Studio 2017

This post was written by Gabriel Dos Reis, Andrew Pardoe, and Billy O’Neal  What Is New? The Visual C++ Team is elated to announce that with Visual Studio 2017, it has substantially improved the quality of the C++ Modules TS implementation in Visual Studio, in addition to introducing ability to consume the C++ Standard Library… Read more

Why am I getting these _SCL_SECURE_NO_WARNINGS messages?

Recently, a C++ developer asked why they were getting diagnostic messages for this code: If you compile this file in debug mode, you’ll get a message like the following: xutility(2350,1): warning C4996: ‘std::copy::_Unchecked_iterators::_Deprecate’: Call to ‘std::copy’ with parameters that may be unsafe – this call relies on the caller to check that the passed values… Read more

Vcpkg: introducing export command

Vcpkg helps you acquire and build open source libraries on Windows. Since September 2016, the community added more than 200 libraries in the vcpkg catalog and has been contributing actively to the code itself. Vcpkg now supports Visual Studio 2015 and Visual Studio 2017 and can target dynamic or static libraries and platforms like x64,… Read more

Visual Studio Code C/C++ extension April 2017 Update

Earlier today we shipped the April 2017 update to the C/C++ extension for Visual Studio Code. We are excited to introduce the following new features in this update: Error Squiggles Quick Info Go to Declaration Bash on Windows debugging support The original blog post has been updated with these changes. If you have this extension… Read more

Getting Started with Visual Studio for C and C++ Development

Are you new to Visual Studio and working with C++? Then you’ve come to the right place. Whether you’re a student writing one of your first programs or a seasoned C++ developer with years of experience, you’ll find Visual Studio to be a powerful environment for C++ development. Visual Studio is an IDE packed with… Read more

C++ Code Editing and Navigation in Visual Studio

Visual Studio comes packed with a set of productivity tools to make it easy for C++ developers to read, edit, and navigate through their code. In this blog post we will dive into these features and go over what they do. This post is part of a series aimed at new users to Visual Studio…. Read more

C++ Unit Testing in Visual Studio

Testing is an increasingly important part of a software development workflow. In many cases, it is insufficient to test a program simply by running it and trying it out – as the scope of the project gets more involved, it becomes increasingly necessary to be able to test individual components of the code on a… Read more