C++ Team Blog
The latest in C++, Visual Studio, VS Code, and vcpkg from the MSFT C++ team
Latest posts
C++ Unit Testing Survey (Summer 2016)
Hi everyone! The Visual Studio C++ team is conducting a survey to learn more about your C++ unit testing experiences. We'll use the feedback to make improvements to Visual Studio in the future. The survey should take less than 10 minutes to complete. Take the C++ unit testing survey Thanks for your feedback! Cheers, Augustin Popa Visual C++ Program Manager
Bing Developer Assistant, now with C++ support
Head over today to the Visual Studio blog for some exciting announcements coming from our friends in the Bing team: Bing Developer Assistant just released a new version that brings C++ support From the post: With the addition of 43 Million C++ code samples, our total corpus is now of 64 Million code samples. In addition to MSDN, stackoverflow and GitHub we have sourced code samples from specialist C++ domains like cppreference.com and cplusplus.com which gives developers a strong base of options to choose from. Now you have access to thousands of code samples for CRT (C runtime libraries), STL (standard template...
Cocos2d-x Visual Studio Android Project
In the world of game development , Cocos2d is one of the biggest names out there. The open source Cocos2d framework has been the backbone of a vast number of top selling apps and games, provides support for a number of programming languages, and targets a massive variety of devices. Currently, Cocos2d-x (the C++ version of Cocos2d) provides starter projects for Android targets for Eclipse and Android Studio and starter projects for Win32, Windows 8.1, and Windows 10 targets for Visual Studio. Starting with Visual Studio 2015, Visual Studio has added in a wealth of support for C++ projects that target not only...
Debugging Tips and Tricks for C++ in Visual Studio
When we write software our goal is to create correctly functioning applications the first time. Unfortunately, it rarely works that way and we spend a significant amount of time and effort debugging problems in the code rather than adding new value. Fortunately, when issues arise that need investigation Visual Studio ships a world class debugging experience to help find the issue quickly. However, many of us don’t take full advantage of the debugger because we don’t know or simply forget about many of the capabilities it offers to speed up problem solving. In this post I’ll provide a brief overview the debugging...
Using Visual C++ Runtime in Centennial project
Last update: 11/22/2017 Getting started During Build 2015, we announced the Desktop Bridge (formerly called Project Centennial) to bring your desktop apps to UWP. With the Desktop App Converter, you can package your desktop application as an appx package that can be deployed to a Windows 10 Desktop. See this link to learn more about the Desktop Bridge. If you want to convert your C++ desktop application (win32, MFC, etc.) you have to handle deployment of VC++ runtimes, such as vcruntime140.dll, as you always do for C/C++ applications. We have created support for Visual C++ Runtime in this context for the version...
C++ Edit and Continue in Visual Studio 2015 Update 3
We’ve been continuing to improve on C++ Edit and Continue (EnC) since we shipped it in Visual Studio 2015 with the default debug engine and the VC 140 toolset. We’ve addressed a fair bit of customer feedback and based on this, I’ll go over the latest developments in C++ EnC for Update 3 (download) and other clarifications in this blog post. A quick recap - Edit and Continue allows you to modify your code while debugging (for example, if you happened to find a bug in your code at runtime), and the debugger will apply your code changes to the debugged process and continue debugging with your new code! This can h...
Visual Studio 2015 Update 3 Available Now
Visual Studio 2015 Update 3 was released. Thanks to everyone who provided feedback on previous versions. You can read about the changes and additions in the release notes (lots of performance and compiler improvements) and review known issues. Use the Report a Problem option in Visual Studio to share problems with the team. For suggestions, let us know through UserVoice. We look forward to hearing from you.
Build your Android applications in Visual Studio using Gradle
This blog post is going to talk about how you can use Gradle to build Android libraries (.AAR) and APK’s and leverage Maven dependencies all in Visual Studio so let’s get started! If you are new to Gradle, then take a look at the gradle overview page and the User Guide. Gradle has really been the default build system for Android for quite some time and Android developers have slowly but surely been moving to Gradle. Gradle provides flexibility as well as the ability to define common standards for Android builds. Gradle allows Android developers to use a simple, declarative DSL to configure Gradle builds supporti...
Visual C++ for Linux Updates
Updated 6/14/2016: We updated the original announcement post with the content below if you want a single page that covers everything about this extension. The below remains the same and just covers the updates from the original release. We’re happy to provide an update on the VC++ for Linux extension which has a new release today. Go get it now (and come back). We’ve had a few drops since our initial release to make general improvements and to address your feedback. We’ll tell you here about some new features in this release, explain how your feedback has guided us, give some usage tips, and show you how to us...