C++ Team Blog

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

Jumping Into C++: Calculating Unknowns

Last time, I wrote a C++ program to count words in text files. This time, write some code to calculate the motion of an object as an excuse to create a class, use function pointers and mess with some new containers. Thanks to my colleagues Ale Contenti and Andy Rich for providing the inspiration and original Simple Physics Calculator ...

In the Community: Meet Tom Serface

Welcome to In the Community. This week, meet Tom Serface, C++ MVP and longtime Visual C++ user. I have been using VC++ with MFC since it first came out circa 1993 and I saw it demonstrated at a local Software Development show. I've been working for Rimage Corporation for just over 25 years developing software to make our optical disc ...

Visual Studio 3D Starter Kit – Now for Windows Phone 8

Last year, I decided I finally wanted to take the plunge into DirectX development. I'd done a little bit of OpenGL programming several years ago, but no graphics development since then. I bought a few DirectX books, worked through several online tutorials, and tried out the Visual Studio project templates and graphics asset tools, but wasn't ...

In the Community: Meet PJ Naughter

In the Community spotlights members of the C++ / developer community. This week, meet PJ Naughter, a C++ MVP and prolific C++ developer. Take it away, PJ… PJ has been a C++ MVP since 2007. In his spare time, he runs a personal web site at http://www.naughter.com where he publishes open source software and source code of use to Windows C...

do-while, casts, ODR, variadic templates – Core C++, Part 8

Part 8 of my third video lecture series (covering the C++ Core Language) is now available.  In this part, I covered several topics: why I avoid do-while loops, how C and C++ casts behave and why they're dangerous, what the One Definition Rule is and how to follow it, and how my toy program to sort arrays with variadic templates works.For ...

In the Community: Meet Nish Sivakumar

In the Community is a regular series spotlighting members of the C++ / developer community. This week, meet Nish, a C++ MVP, author and long-time developer. Nish has been writing code since 1990 when he first got his hands on an 8088 with 640 KB RAM. He has been a Microsoft Visual C++ MVP since October 2002, and maintains an MVP tips and ...

Friday Miscellany #5

Welcome to another Friday Miscellany, a collection of interesting links from across the internet curated from social media, conversations and curiosity. If you have something to share, send it to me (ebattali@microsoft.com) for potential inclusion in a future miscellany. Thanks...

In The Community: Meet Marius Bancila

In the Community is a regular series spotlighting members of the C++ / developer community. This week, the spotlight is on Marius Bancila, a developer and C++ MVP. Marius has been developing desktop applications for 10 years, using different technologies including C++, C# and Java. C++ has always been his preferred language of choice. He has ...

After the Jump

This is a follow up to Jumping Into C++, a first-hand account of my experiences writing my first modern C++ application. It was a simple exercise that turned out to be not so simple and much more educational than I imagined thanks to the community.Thank you.And now, in no particular order, a few thoughts.About not using regular expressions. I ...

In The Community: Meet Kate Gregory

In the Community is an ongoing series spotlighting members of the C++ / developer community. This week, meet Kate Gregory. Kate Gregory has been using C++ since before Microsoft had a C++ compiler. She runs a small consulting company in rural Ontario, www.gregcons.com, writing code in C# and C++, advising customers on technological decisions, ...