C++ Team Blog
The latest in C++, Visual Studio, VS Code, and vcpkg from the MSFT C++ team
Latest posts
What’s new with Visual C++ cross-platform mobile development
With Visual Studio 2015 RTM we continue to improve the cross-platform mobile development story. Visual Studio 2015 RTM introduces the following new feature set aimed at improving the edit->build->debug cycle for mobile developers. We would love you folks to try out news features made available and thank you for your continued (and spirited) feedback (remember to use Send-A-Smile/Frown with #cpp2015!)
Source now available for GDB/LLDB debug engine
We previously announced that we’d be releasing the source code for our debug engine that works with GDB and LLDB for C++ on Android and on iOS. Today, we’re pleased to announce that the source is now available on GitHub as the “MIEngine” project. As a quick refresher, GDB is the GNU project debugger that enables you to debug applications written in C, C++, Objective C, and Pascal (to name a few) running on many platforms including UNIX-based operating systems. LLDB is the debugger from the LLVM project that is the default debugger on Mac OS X and iOS for C, Objective C, and C++, and includ...
Visual Studio 2015 RTM Now Available
Today Soma announced the availability of Visual Studio 2015 RTM and invited Brian Harry and others to talk about new features and experiences. You can watch the VS 2015 keynote or catch the recording on Channel 9 later. Additionally, we have over 60 on-demand videos on Channel 9 that drill into the details of various features and improvements.Here are the links you need to get started: With each release, we implore (beg?) you to provide feedback through whatever channel works best for you. This time, we are trying an experiment. Please provide short, in-the-moment feedback through Send-a-Smile or Send-a-Fro...
STL Fixes In VS 2015, Part 2
In addition to implementing a whole bunch of features in VS 2015's C++ Standard Library, we've also fixed a whole bunch of bugs. A year ago, I listed the STL fixes in VS 2015 CTP1. Now, it's time to list the STL fixes between CTP1 and RTM. <functional> Overhaul We originally shipped bind()/function/mem_fn()/reference_wrapper/etc. as part of TR1 in VS 2008 SP1. As TR1 evolved into C++0x and then into C++11, we updated our implementation to use rvalue references, decltype, and variadic templates. While this mostly worked, the TR1-era machinery was extremely compli...
C++ Compiler Front-End Fixes In VS2015
Hyperlapse cross-platform mobile development with Visual C++ and Xamarin
Microsoft Hyperlapse Mobile offers the chance to turn any long video – from a bumpy bicycle ride to a family stroll in the park -- into a short, distilled version that you can easily share with friends and family. That technology, which is available for Windows Phone and in beta for Android will come as a welcome relief to anyone who’s ever sat uncomfortably through a real-time video documenting those types of excursions. For professional shooters and serious video enthusiasts, Microsoft Hyperlapse Pro can create a Hyperlapse using a Windows computer from video shot on any camera or device &nda...
Format Specifiers Checking
By popular request, in Visual Studio 2015 RTM, we’ve implemented the checking of arguments given to printf/scanf and their variations in the C standard library. You can try the examples from this post in our online compiler.SummaryHere is a list of all the formatting warnings that were introduced: positional arguments in _p functions , and we found this scheme easier to work with because variadic arguments tend to immediately follow the format string (except in the case of _l functions). warning C4477: 'swscanf_s' : format string '%1C' requires an argument of type 'char *', but variadic argument 3 has typ...
C++11/14/17 Features In VS 2015 RTM
Developing cross-platform iOS applications using Visual Studio
C++ is a popular high-level programming language available for all mobile devices running iOS, Android and or Windows. There are many factors driving the use of C++ for these mobile platforms ranging from code-reuse to run-time performance. Many platform defining applications available across these platforms such as Office, Skype, and Dropbox have architected their mobile solution in a way that promotes or leverages C++ for vast majority of their code base. This not only provides them the advantage of great code-reuse resulting in lower development costs but as C++ code runs directly on the hardware it allows the...