This article implements a Mandelbrot renderer that is multiple times faster than a CPU-only implementation by using a new Microsoft technology called C++ AMP: Accelerated Massive Parallelism, introduced in the Visual C++ 11 Preview.
Latest Miscellaneous Articles - Page 4
Discover how to start and control a third party GUI application, particularly the Notepad text editor, from your own C++ applications.
This article describes how to create stack based allocators for use with STL containers.
Vectors are one of the single most useful and most used objects in the STL. They are easy to use, and remove the burden of memory management from the user. It is possible to partially control memory usage by using functions like
reserve, but nothing is provided to free up excess memory. Users have come up with ways to trim a vector by hand, but with the advent of the new C++0x and its move semantics, the classic solution of copy-swaping has become excessively expensive. This article seeks to find a better solution.
The article gives an example of false-sharing in multi-threading programming using C++0x std::thread.
You're often required to repeat identical pieces of initialization code in every constructor of a class that declares multiple constructors. That's because unlike a few other programming languages, The C++ programming language doesn't allow a constructor to call another constructor of the same class. Luckily, this problem is about to disappear with the recent approval of a new C++0x feature called delegating constructors which are explained in this C++ tutorial.
Latest CodeGuru Developer Columns
Go hands on in using each of the standard library's five sequence containers.
Continuing this series on .NET controls, Part 3 will talk about ListBoxes.
Here's a beginner-level discussion of using checkboxes in your .NET programming.
Explore how to create and use a Ubuntu virtual machine.