This is a set of templates and macros to provide the ability to easily serialize any object to a string stream.
Latest Samples Articles
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.
This article is devoted to the development of the key licensing system for the applications. In the theoretical part of the article, we will examine the cryptography methods, which can be used while implementing the licensing system. Also we will discuss all pros and cons of these methods and select the possible ones for using in the application. In the practical part of the article, we will provide the implementation of the simplest licensing system, which guaranties the protection from cracking even if a hacker knows the source code of an algorithm.
Latest CodeGuru Developer Columns
Learn to implement exception handling mechanism in C++.
Look at what can be done with mapping in a UWP (Universal Windows Platform) app.
With a UWP app, you can design for specific input modes and devices. Learn to control a camera from one.
Take advantage of pattern matching to check for patterns in your code, improve performance, and simplify your code.