Browse by Tags

Tagged Content List
  • Blog Post: 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...
  • Blog Post: Good Stuff on Channel 9

    Looking for the C++ Good Stuff? Have you visited Channel 9 lately? Getting started with C++/3D/WinStore Game Dev with the "Visual Studio 3D Starter Kit" demonstrated several features of Visual Studio useful in game development. It contains the starting point for a basic Direct3D game for the Windows...
  • Blog Post: Template Argument Deduction - Core C++, Part 2

    Part 2 of my third video lecture series (covering the C++ Core Language) is now available. In this part, I took an hour to explore template argument deduction, including what "non-deduced contexts" are - and how they can be used to your advantage! For reference, here are all of the links to my video...
  • Blog Post: C9::GoingNative: Visual C++ Upcoming IDE Demos, a CRT Talk and More!!

    Greetings! Charles Torre and I came back with the second episode of Channel 9 Going Native –which is actually episode 1, considering that C++, as a C-like language, starts indexing from 0. This time we follow up from a recent article that my colleague and friend Sumit Kumar (Program Manager...
  • Blog Post: Container Pretty Printer - Advanced STL, Part 6

    In Part 6 of my second video lecture series focused on the Standard Template Library, I demonstrate how to write a "pretty printer" for STL containers that's capable of formatting a vector<tuple<int, string, int>> as [(1, "ten", 100), (2, "twenty", 200), (3, "thirty", 300)]. It's easy to...
  • Blog Post: Herb Sutter Shares Perspectives on the New C++ Standard

    Hi, I’m Charles Torre , Sr. Technographer with Channel 9 . I’m back with an interview made last week with Herb Sutter, Principal Architect on the Visual C++ team at Microsoft and chairman of the ISO committee which recently approved the final technical changes to the C++0x standard –...
  • Blog Post: _ITERATOR_DEBUG_LEVEL - Advanced STL, Part 3

    In Part 3 of my video lecture series exploring the Standard Template Library's implementation, I explain how our powerful correctness checks in debug mode work. In VC10, they're controlled by the macro _ITERATOR_DEBUG_LEVEL, which supersedes VC8 and VC9's more confusing _SECURE_SCL and _HAS_ITERATOR_DEBUGGING...
  • Blog Post: Algorithm Optimizations - Advanced STL, Part 2

    Part 2 of my video lecture series exploring the Standard Template Library's implementation is now available. In this part, I walk through how our STL algorithms equal() and copy() use template metaprogramming to detect when it's safe to call memcmp() and memmove(), which are potentially faster than the...
  • Blog Post: shared_ptr - Advanced STL, Part 1

    Part 1 of my video lecture series exploring the Standard Template Library's implementation is now available. In this part, I explain how some of shared_ptr's magic works, including type erasure and make_shared<T>()'s optimizations that save both space and time. This advanced series assumes...
  • Blog Post: Herb Sutter: “Coding, like Speaking a Language, Implies that You Think in that Language”

    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...
  • Blog Post: Rvalue References and Type Traits - Video Introduction to the STL, Parts 9 and 10

    The final parts of my video lecture series introducing the Standard Template Library are now available. Part 9 covers a single function, std::move() , and explains how rvalue references power move semantics. Part 10 covers <type_traits>, a header added by TR1/C++0x, and explains the basics of template...
  • Blog Post: Microsoft Tells What's Next for C++

    By chance, are you among those who think that Microsoft is leaving native development in general and the C++ programming language in particular behind? You better watch this interview to Ale Contenti, Principal Development Manager with the Windows C++ team at Microsoft. [Can't see the video...
  • Blog Post: Regular Expressions - Video Introduction to the STL, Part 8

    C++0x's <regex> header combines Perl's regular expressions with C++'s templates and iterators. The result, like the rest of the STL, is insanely powerful but potentially overwhelming at first sight. It's actually easy to use, and much easier than writing string processing code by hand. I demonstrate...
  • Blog Post: Video Introduction to the STL, Parts 6 and 7

    Part 6 and Part 7 of my video lecture series introducing the Standard Template Library are now available; they cover algorithms and functors. Previous parts: Part 1 (sequence containers) Part 2 (associative containers) Part 3 (smart pointers) Part 4 ( Nurikabe solver introduction...
  • Blog Post: Video Introduction to the STL, Part 5

    In the fifth part of my video lecture series introducing the Standard Template Library, I explain how the advanced analysis in my Nurikabe solver works. One of its steps involves using a breadth-first search to detect any unreachable cells. Mandatory prerequisites of Part 5 are reading Wikipedia...
  • Blog Post: Video Introduction to the STL, Part 4

    In the fourth part of my video lecture series introducing the Standard Template Library, I walk through an extended example of using the STL to solve Nurikabe puzzles. It assumes that you've read Wikipedia's Nurikabe page, and that you've watched Part 1 (sequence containers), Part 2 (associative containers...
  • Blog Post: Video Introduction to the STL, Part 3

    The third part of my video lecture series introducing the Standard Template Library is now available, following Part 1 and Part 2 . Part 3 covers unique_ptr , shared_ptr , and exception handling (briefly). It explains my solution to the container erasure problem, and presents a significantly larger homework...
  • Blog Post: Video Introduction to the STL, Part 2

    The second part of my video lecture series introducing the Standard Template Library is now available. This part covers the STL's associative containers and the erase-remove idiom. It assumes that you've watched Part 1 . More parts are on their way! Let me know in the comments what you'd like to...
  • Blog Post: Video Introduction to the STL, Part 1

    I recently recorded the first part of a video lecture series introducing the Standard Template Library. It assumes familiarity with C++, but begins with the STL basically from scratch. Channel 9 hooked up my laptop so I could write, compile, and execute code as I went along. Check it out here: http:...
  • Blog Post: TechEd Europe Demo Session - Face-Lifting MFC Applications on Windows 7

    Hello, My name is Damien Watkins, and I am a Program Manager on the Visual C++ team. Today, I thought I would post the “overview script” for my TechEd Europe session – so those who could not attend can try it out for themselves at home. My talk was about the new MFC features we have added in Visual...
  • Blog Post: Channel 9 Video: Stephan T. Lavavej - Everything you ever wanted to know about nullptr

    Stephan T. Lavavej is back in front of the Channel 9 cameras once again for a discussion on our recently implemented C++0x feature “nullptr”. In a previous channel 9 appearance , Stephan spoke about the C++0x language and library features we were implementing for VS2010 and the various interdependencies...
  • Blog Post: Active Template Library (ATL) Security Updates

    Hello, On Tuesday 28 July we released guidance and updates to assist developers using our Active Template Library (ATL) to prevent creating controls or components with potential security vulnerabilities. Vulnerabilities in libraries are a rare, but industry wide issue, that requires broad collaboration...
  • Blog Post: Channel 9 Video: Louis Lafreniere: Next Generation Buffer Overrun Protection - gs++

    Thanks to a recent VC Blog post by Hongwei Qi , you already know that we have worked on our /GS switch for VS2010. You can already try it out with the VS2010 Beta 1 too. Recently Charles Torre from Channel 9 stopped by and spoke with one of our Channel 9 regular speakers Louis Lafreniere about this work...
  • Blog Post: Channel 9 Video: VC 10: Stephan T. Lavavej and Damien Watkins - Inside STL

    As Visual Studio 2010 Beta 1 was being released, Charles Torre from Channel 9 came over to the Visual C++ team to talk about some of our new features. On this visit he spoke with Stephan T. Lavavej and myself about our VS2010 STL implementation. As Charles says on the Channel 9 page: “We have already...
  • Blog Post: Channel 9 Video: Parallel Computing in Native Code: New Trends and Old Friends - Damien Watkins and others

    Recently our colleagues over at PCP ( the Parallel Computing Platform team ) have been doing a number of Channel 9 videos - on their most recent taping they asked Damien Watkins from VC++ to join them. Why? Well the focus of the video was around the journey towards getting the PCP bits shaped and shipped...
Page 1 of 2 (39 items) 12