C++ Team Blog
The latest in C++, Visual Studio, VS Code, and vcpkg from the MSFT C++ team
Latest posts
CMake support in Visual Studio
⏱ Updated on October 5, 2017 with the latest functionality included with Visual Studio 2017 15.4 Visual Studio 2017 introduces built-in support for handling CMake projects. This makes it a lot simpler to develop C++ projects built with CMake without the need to generate VS projects and solutions from the command line. This post gives you an overview of the CMake support, how to easily get started and stay productive in Visual Studio. Getting started with CMake in Visual Studio To start, c...
C++ IntelliSense Improvements – Predictive IntelliSense & Filtering
IntelliSense is one of the most commonly used features in Visual Studio. With it, developers can write code more efficiently and learn more about their codebase at the same time. In a sense, IntelliSense is both a guide and a productivity feature. We understand the importance of having a powerful IntelliSense system which displays highly relevant results right when they are needed and which minimizes the time you need to spend thinking or typing as a developer. We have been collecting your feedback for C++ IntelliSense and are happy to announce two major improvements in Visual Studio 2017 RC: Predictive IntelliSe...
C++ compiler diagnostics improvements in VS “15” Preview 5
This post written by Andrew Marino and Andrew Pardoe Visual C++ in VS “15” Preview 5 now allows you to see where errors are in a line of code—the column number—as opposed to just showing the line number. As C++ has grown it’s increasingly useful to have a little more help finding your errors. Consider this somewhat contrived example: Traditionally Visual C++ would just tell you . With five different calls to on one line, it’s hard to figure out where your error is. Providing column numbers helps greatly: . Now at least the compiler has identified which call to is incorrect. But you can do more! You can n...
Bring your C++ codebase to Visual Studio with “Open Folder”
⏱ Updated on March 06, 2017 with the latest functionality in Visual Studio 2017 RTW Welcome to Visual Studio 2017! Starting with this release, Visual Studio supports opening folders containing source code without the need to create any solutions or projects. This makes it a lot simpler to get started with Visual Studio, even if your project is not an MSBuild-based project. The new functionality, "Open Folder", also offers a more natural source file management as well as access to the powerful code understanding, editing, building and debugging capabilities that Visual Studio already provides for MSBuild project...
Visual Studio “15” Preview Compilers Feedback
There is a new Connect Form for reporting issues with Visual Studio “15” Preview compilers. If you are not using the Visual Studio IDE, you can report issues using this form. If you are using the IDE, we prefer you use the Report-a-Problem feedback system. Thank you.
C++ code analysis: tell us what you think!
We'd love to hear more about what you would like to see in C++ code analysis. We're running a short survey--just 20 questions--to help us understand how to make C++ code analysis and Visual C++ better. Please take a couple of minutes to fill out our C++ Code Analysis survey and let us know your thoughts. Survey link: https://www.surveymonkey.com/r/DX2CHKG Thank you! Andrew Pardoe
CppCon 2016: Latest and greatest for C++ Developers
Daniel Moth and Steve Carroll shared the Latest and greatest from the Visual Studio family for C++ developers on Monday. You can grab the slides here. If you are at the conference, swing by our booth today and tomorrow to ask questions, take our survey, and talk to team members.
Visual C++ 2015 and 2017 Migration Documentation Update
Upgrading to the latest C++ compiler and toolset is sometimes not so easy and can be time consuming. You are likely to encounter some compiler and linker errors and warnings in code that previously compiled cleanly. There are several possible sources for these errors, including improvements in the compiler, and changes in the C++ language, Standard Library, C runtime (CRT), and other libraries such as MFC and ATL. We know by your feedback that having good documentation is a key part of this process. That's why we have been updating the migration documentation to include lessons learned by working with our custom...
Microsoft at CppCon 2016
*** Update 10/5/2016: Videos are beginning to appear on the CppCon YouTube Channel. Keep revisiting to see what has been added. The Microsoft Visual C++ team is at CppCon 2016 this week, September 18 - 23 in Bellevue, WA. CppCon is the annual, week-long face-to-face gathering for the entire C++ community. The conference is organized by the C++ community for the community. It features sessions, lightning rounds, and hundreds of smart developers ready to chat C++. We have a booth Tuesday and Wednesday with members of the team planning to be available for your questions: Gabriel Dos Reis, STL, Herb Sutter, Casey ...