Visual C++.NET supports the automatic detection of stack-based buffer overruns through the use of the /GS compiler switch. Learn why stack-based buffer overruns are so serious, and how /GS and other Visual C++ settings can combat them.
Latest C++ & MFC Articles - Page 20
Tom Archer introduces a step-by-step technique for versioning your serialized files so that your application can handle current and older file formats, as well as properly deal with situations where the application is older than the file format being read.
The prototype presented allows defining XML serializable objects using macros in an attributes-like manner.
Learn about a template library for properties (used like 'widget.color = "red";') in C++. Supports "binding" several properties together to have their values synchronized automatically. Useful for GUI development and so forth.
Tom Archer illustrates how to parse comma-delimited text—when the data contains quotes, commas, and blanks—and return the data in a managed array.
Versioning your collections is important when the data held by a collection can be modified while a client is enumerating that data. Tom Archer presents a versioning technique he's told Microsoft uses internally.
Latest CodeGuru Developer Columns
Learn to implement exception handling mechanism in C++.
Windows 10 introduces UWP apps and the Universal Windows Platform, which provide a guaranteed core API layer. Leverage the UWP in your coding.
Virtual Private Networks allow employees to securely access a corporate Intranet while located outside the office. Create your own VPN.
With Microsoft's new Project Rome, the user experience across all platforms (Windows, iOS, or Android) will be seamless among different hardware.