C++ Team Blog
The latest in C++, Visual Studio, VS Code, and vcpkg from the MSFT C++ team
Latest posts

Developing an app with the Visual Studio 3D Starter Kit, part 2 of 3
A few days ago we talked about how to use the Visual Studio 3D Starter Kit to create a simple dice rolling app. Now we’re going to take the app one step further, by adding some animation. If you need to catch up, here’s a link to the previous blog post. Let it roll, baby, roll In order to make anything move in a graphics application, the steps are always the same: In our case we will add a new method called RollDie() that will set the state and save the starting time. We will use this method to calculate each die roll result, but for now let’s just execute an animation t...

Developing an app with the Visual Studio 3D Starter Kit, part 1 of 3
As we promised a few weeks ago, welcome to the first post in a series where we’ll explore a full end-to-end app developed with the Visual Studio 3D Starter Kit. During this series we’ll develop a 3D dice roller that allows you to roll a 6-sided die by tapping or clicking it. In the process of rolling a number, the die will jump and flip in the air. This app will also work on Windows 8’s snap view, so that users can still roll dice while working on other apps. Finally, we’ll show you how to make this app compatible with Windows RT devices and port it to Windows Phone. This first post ...

Visual C++ Developer Survey
Hi, my name is Sumit Kumar and I am a Program Manager on the Visual C++ team at Microsoft. We are conducting a survey to understand what can we do to make Visual Studio more useful for C++ development in organizations like yours. If you have 15 minutes (maybe less), I would appreciate it if you would share your thoughts in our survey at https://aka.ms/vcdevsurvey.Your feedback will help influence future releases of Visual Studio!Thanks for your help.

Connecting to Facebook with the C++ REST SDK
Hi, this is Andy Rich from the C++ QA team. Previously, I showed you how you can use the C++ REST API to connect to Live services, but this is just one of many web services that you can use the REST API with. In this blog post, I will walk you through creating a Windows 8 Store App that will log a user into Facebook and download and display their photo albums.Setting up a Facebook Developer AccountIn order to develop apps for Facebook, you will need to have a real Facebook account, and sign up to be a developer on their platform, which you can accomplish by visiting http://developers.facebook.com.Once...

Advanced Developers Conference 2013: C++
The Advanced Developers Conference 2013 takes place May 7-8 this year with sessions on building modern device apps, drivers, graphics development, debugging, creating and consuming cloud services, performance and much more. Here are a couple session descriptions cribbed from the ADC site to whet your appetite: There is still plenty of time to sign up! Visit the site to learn more. Check out the agenda here. All sessions in the first track are in English!

Guest Post – The Expression Evaluator
Hi. My name is Ofek Shilon and I blog mostly about various VC++ tricks I come by. Today I’d like to explicitly introduce a debugging feature we all use daily but seldom refer to it by name – the native expression evaluator (abbreviated EE below). The Basics Every time you use the Watch window, a lot is going on behind the scenes. Whenever you type a variable name, something needs to map that name to the memory address and type of the named variable, then display that variable, properly formatted based on its type. Conversely, when you modify the contents of a variable - something needs to take your ...

Connecting to Live with the C++ REST SDK
Hi, I’m Andy Rich, a QA on the C++ team. Last week, the C++ team released the C++ REST SDK (codename “Casablanca”) on CodePlex (http://casablanca.codeplex.com). This blog post will walk you through using the C++ REST SDK to connect your Windows Store apps to Windows Live services. This example demonstrates how to grab information about the user’s photo albums, but it can be applied to the other Live REST APIs as well.PrerequisitesIn order to connect a Windows Store app to Live Services, you will need: Setting up your AppTo create a new app in your Dashboard within...

In the Community: Meet David Cravey
Welcome back to In the Community, our continuing series focusing on members of the C++ and developer community. This week, meet David Cravey, I cut my teeth on programming in BASIC (GW-BASIC/QBasic), but eventually wanted a language that could let me do more. My local library had a nice book comparing the major programming languages at the time. The book presented C++ as not only the most powerful language but also the most dangerous. As a teenager the combination of power and danger attracted me. But eventually I found that while the C++ language was only mildly dangerous, it was indeed very powerful. I am amaze...

The C++ REST SDK ("Casablanca")
The C++ REST SDK (codename "Casablanca") has officially been released as an open source project on CodePlex (http://casablanca.codeplex.com). We first announced Casablanca as an incubation project on Microsoft's DevLabs back in April of 2012. Since then we have had several releases and have seen library quickly evolve. As we added new features and received feedback from customers, it was evident that two separate entities were beginning to form. As a result, the "Casablanca" project on DevLabs has been separated into 2 different SDKs: the C++ REST SDK and the Azure SDK for C++. The first of the two SDKs be...