C++ Team Blog

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

Latest posts

Jan 29, 2011
Post comments count 0
Post likes count 0

The Visual C++ Weekly Vol. 1 Issue 5 (Jan 29, 2011)

Diego Dagum - MSFT

This week comes with an article to help you set your application for parallelization; C++ MVP Dan Rollins researches on various ways to implement properties in C++; Issam Iqbal, C++ MVP, gives another twist to the TO CLI or NOT TO CLI debate when creating unit tests for our unmanaged code (voting for “NOT TO CLI”). There are also a couple of code samples, one for creating Dynamic Link Libraries and the other one on Internationalization. We are also complementing for the first time our C++ coverage with entrepreneurial stuff for micro independent software vendors (micro ISVs, organizations composed for...

Jan 28, 2011
Post comments count 0
Post likes count 0

Heritage Shared

Diego Dagum - MSFT

A few days ago, we posted two C++ quizzes based on a question posted in a forum. Let’s review the first question   Quiz 1   The guy was frustrated because he expected two things: Instead, he got the following compile-time error at that same line e:\foo.cpp(30): error C2660: 'Bar::DoStuff' : function does not take 0 arguments The root of this compilation error is at line 11: as we are closing the definition of class Bar without saying anything ...

Jan 26, 2011
Post comments count 0
Post likes count 0

Parallel Programming with Microsoft Visual C++ (Book in Progress)

Diego Dagum - MSFT

The patterns & practices group is writing a new guide that will introduce Visual C++ programmers to patterns for including parallelism in their applications. Examples of these patterns are parallel loops, parallel tasks and data aggregation with map-reduce. Each pattern has its own chapter. Each chapter includes a description of the problem, an example of where the pattern is applicable, and code that implements the solution. On this site you will find; a preliminary draft of the book, the accompanying code samples and answers to the end of chapter questions. The authors just dropped chapters 4 and 5 in CodeP...

Jan 25, 2011
Post comments count 0
Post likes count 0

Sharing the Heritage (Quiz Game)

Diego Dagum - MSFT

I was reading recent discussion threads and found something interesting that someone introduced as a question, but instead of start developing the whole story from here, I’ll just challenge you with two different quiz games. Quiz 1 Without using Visual Studio or your building tool of preference, just your knowledge, if we tried to run this code, what is expected to see in the console? Why?Now let’s make a little variation and substitute the method getting no arguments for one getting char, as follows: Quiz 2 If we ran this new ...

Jan 22, 2011
Post comments count 0
Post likes count 0

The Visual C++ Weekly Vol. 1 Issue 4 (Jan 22, 2010)

Diego Dagum - MSFT

Paperli.PaperWidget.Show({ pid: 'visualc/news', width: 200, background: '#000666' }) Greetings!! The 4th issue of The Visual C++ Weekly is out there. This issue starts with an article due to C++ MVP Marc Gregoire on an extension that Visual Studio 2010 SP1 Beta brings to Microsoft Foundation Classes (MFC) to allow animations. A book of techniques in reengineering patterns for object-oriented applications is available for download by its authors. C++ MVP Giovanni Dicanio reveals a cost-efficient way to deal with bidimensional matrices. Gus Class (Windows Development) shows how he builds VC project...

Jan 18, 2011
Post comments count 0
Post likes count 0

Feedback Wanted: Participate in User Experience Research on the Visual Studio Help Experience

Diego Dagum - MSFT

Microsoft is working to provide developers the next experience with local documentation. Last December, the Library team released the SP1 beta version of its Microsoft Help Viewer for Visual Studio. Additionally, there are a number of changes and improvement being made on the local Help Viewer, as well as MSDN and other documentation-related assets at Microsoft. As part of ensuring that our efforts align with and respond to the needs and desires of our customer, the Microsoft Developer Division is increasing the user research conducted on its assets. For us to better understand your needs and desires, we nee...

Jan 18, 2011
Post comments count 0
Post likes count 0

Herb Sutter: “Coding, like Speaking a Language, Implies that You Think in that Language”

Diego Dagum - MSFT

Erik Meijer –host of the “Expert to Expert” series in Channel 9- interviews Herb Sutter -an Architect on the VC++ team and chair of the C++ Standards Committee.In this thought-provoking talk, Herb and Erik cover generic programming, function objects, lambdas, futures and argument passing by value vs. by reference, among other topics. This talk is very interesting for those who already know C++ but never thought about the reason why some of its features were designed the way they are. This talk is also useful for those developers coming from managed languages, who are looking to native deve...

Jan 15, 2011
Post comments count 0
Post likes count 0

The Visual C++ Weekly Vol. 1 Issue 3 (Jan 15, 2011) Is Out

Diego Dagum - MSFT

 We just released the third issue of The Visual C++ Weekly. For technical reasons, from the original list of articles, there are two that weren’t caught and got lost but we’ll make sure to include them in the fourth issue (to appear next Saturday, January 22). This issue contains an Intel concurrency demo based on the classic dining philosophers problem, where the authors showcase Intel’s Threading Building Blocks. C++ MVP Kate Gregory encourages you to vote C++ and native development sessions for the next TechEd North America 2011. MS’s Chas Boyd features an on-demand session (ori...

Jan 13, 2011
Post comments count 0
Post likes count 0

A 101 on GPU-Accelerated Apps in the Windows Platform

Diego Dagum - MSFT

In the last Professional Developer Conference (PDC), a few months ago, Chas Boyd –PM Architect with Windows Graphics at Microsoft- delivered a general overview of the Windows Graphics architecture, its different APIs and the application types they are intended to. It’s a 100-level session, what means that is informative with no code being shown, but a gentle overview for those of you interested in starting with GPU-enabled applications who may have wondered about its many technologies or felt a bit overwhelmed in your initial approaches to it. The speaker offers an interesting list of usage example...