Copy Constructors

We’ve talked about Constructors in C++ already. One of the special methods, along with Destructors, that C++ offers. There is a third, special method which C++ offers. That is called a Copy Constructor. The Copy Constructor is a special type of constructor, which is intended for use when you duplicate an object. Some people will…

Destructors in C++

We’ve looked at Constructors in C++ to create an object, and building an object with new. However, what happens when we no longer need that object? That’s where a destructor is called. It is built into all objects, and if you don’t define one, a default one will be called for you. The destructor’s job…

Problems with XML

XML was designed to be a be-all end-all data format. However there have been issues that have arisen from its use. Strict Implementations I’ve seen more than once where companies requesting data be sent via XML were really just text parsing a file. They’d require nodes that were not being used, and not having the…

Benefits of XML

XML has many benefits going for it as a format to move data between applications and/or servers. Some of the benefits include: XQuery, which is a tool for searching for nodes with XML. We’ve previously looked at searching XML with XQuery. While different libraries may use different implementations, they generally have something that can be…