Combine elements of objected-oriented and functional programming paradigms to create highly modular, extensible, and loosely coupled components.
Latest Samples Articles
This is a set of templates and macros to provide the ability to easily serialize any object to a string stream.
Explore the concepts behind constructors and destructors, along with their implementations in C++.
Become more proficient on the usage of statements to control the flow of execution through a C++/CLI application.
Updated: This program presents an original way of the famous Rubik's Cube by an assembly of 27 multi-colored cubies isolated in the space. Even during its deformations, it allows a 3D vision of the cube thanks to the basic MFC graphic functions. This simulation can also rapidly calculate a solution to reordering the Cube.
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.
Latest CodeGuru Developer Columns
Discover the concept of late binding—the work behind the scenes to realize the late binding mechanism. Sample code and examples are provided.
Discover the most common uses of the Process class to launch separate processes (programs) in a variety of ways. Example code is in C# and VB.NET.
Explore how to create and use a Ubuntu virtual machine.