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++.
Still postponing the upgrade to VS 2017? Here's some information that can help you decide whether to plunge ahead or wait longer.
Learn about some of Visual Studio's newer tools to make your coding and debugging a bit more productive.
Choosing the right platform—IaaS, PaaS, or SaaS—can greatly enhance your Cloud presence.