C++ Team Blog
The latest in C++, Visual Studio, VS Code, and vcpkg from the MSFT C++ team
Latest posts
UserVoice Suggestions Completed in Visual Studio 2015
We continue to receive many helpful suggestions and comments from the community on the Visual Studio UserVoice site. Your contributions help us improve Visual Studio and the C++ experience for developers. Thank you. The following suggestions were marked as "completed" for Visual Studio 2015 (up to Update 2 RC): Try out the preview now. Thank you!
Developing C++ cross-platform projects with CMake?
Do you develop cross-platform C++ applications or libraries? In this short survey, the Microsoft Visual Studio team would like to learn more about your current edit-build-debug experience. This survey will help us understand your needs and preferences when doing C++ development using CMake (or any other cross-platform tools). Your feedback is important to us so let us know your thoughts! Thank you.
Stuck on an older toolset version? Move to Visual Studio 2017 without upgrading your toolset
⏱ Updated on March 11, 2019 with the latest functionality in Visual Studio 2017 Are you currently developing your C++ projects in an older version of Visual Studio? If your reasons for avoiding the all-new features in VS 2017 are covered next, then read on: this post may have good news for you. Help! I am stuck! There are many reasons why you may want to use Visual Studio 2017 in your day-to-day job. Just to name a few: You can download Visual Studio 2017 and upgrade your projects today. We know however that there are projects for which a full upgrade is not a trivial decision. ...
New Options for Managing Character Sets in the Microsoft C/C++ Compiler
The Microsoft C/C++ compiler has evolved along with DOS, 16-bit Windows, and 32/64-bit Windows. Its support for different characters sets, code pages, and Unicode has also changed during this time. This post will explain how our compiler has worked in the past and also cover some new switches provided by the C/C++ compiler in Visual Studio 2015 Update 2 CTP, specifically support for BOM-less UTF-8 files and controlling execution character sets. Please download this and try it out. For information on other compiler changes in Update 2, check out this post. There are some great resources online that describe Un...
Try out the latest C++ compiler toolset without waiting for the next update of Visual Studio
Updated 22 Apr 2016: The NuGet package is now being uploaded daily. The payload doesn't change every day but you should see new bug fixes and/or feature updates every five days or so. See the blog post announcement here: https://blogs.msdn.microsoft.com/vcblog/2016/04/26/stay-up-to-date-with-the-visual-c-tools-on-nuget. Last November we announced a prerelease of the Visual C++ Build Tools, a standalone C++ installer for build environments. We asked you for feedback on the experience and truly appreciate the great response we got in blog comments and through other channels. We'll be updating the VC++ Build Tools s...
Do You Develop Games?
Or have you worked on a game recently? If so, please share some details about your experience. The Microsoft Visual Studio team would like to learn more about your current game development experience. The survey should take less than ~10 minutes. Thank you!
Natvis for C++/CLI Available in VS2015
This post details how to enable the feature in VS2015 Update 2. The recommended way of getting this feature is now to install VS2015 Update 3 which supports it by default. In Visual Studio 2012 the native debugger significantly improved with the addition of native visualizers (natvis) as part of a major debug engine overhaul. Adding C++/CLI code to your project would trigger the debugger to use our old debugging infrastructure as the new debugging infrastructure lacked support for C++/CLI. We’ve heard your feedback and we’re happy to announce the first preview of the new debugging experience in Update 2 that c...
Compiler improvements in VS 2015 Update 2
The C++ compiler team is excited for you to try out the compiler in Visual Studio 2015 Update 2 CTP 1. Since Update 1 we’ve made progress on being Standards-conformant for lot of C++11 and C++14 features. One particularly big milestone is that our standard library in Update 2 supports every C++ Standard Library feature that’s been voted into C++11, C++14, and C++17-so-far. Parser improvements were required to make that happen, in addition to a lot of great work from our libraries team. We’ve also fixed about 300 compiler bugs since Update 1, many of which address bad code generation in our compiler. We understand...
What’s inside a PDB File?
Background We have all used the Visual Studio Debugger to step through code, in the hunt for bugs. For C or C++ code, that Debugger relies upon a file, with the extension ".pdb", called the "Program DataBase", or simply "the PDB". The PDB is written by the Linker when you build your program; it contains line-number and symbols information. But what lies inside these PDBs, exactly? Most C/C++ developers need never worry about the answer. But for those few, working on tools such compilers, linkers, analyzers and verifiers, knowing the details can be useful. Especially where you want these tools to work within...