For this week roundup, we start with a game that C++ MVP Marius Bancila code, inspired on his favorite phone game. You can download the code and study or just play it right away. We tell you how to validate, in Visual Studio 2010, C/C++ code against architecture layer diagrams in order to avoid cross-layer dependencies. C++ MVP PJ Naughter ...
A recurrent question (well, one of the many) is about STL containers and whether they are thread safe.Taking Stephan’s words here, the reality is that they aren’t, not as a bug but as a feature: having every member function of every STL container acquiring an internal lock would annihilate performance. As a general purpose, highly ...
(image)
Why care about C++0x lambda functions? Syntactically, they are nothing but sugar for function objects. However, they are an essential and enabling sugar that will change the way we will write C++ code more often than most people realize.
This talk from last PDC covers what lambda functions are and how to use them effectively, ...
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...
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...
(image) 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 ...
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, ...
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. ...
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-...
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...