Archive for August, 2009

Namespaces

August 12th, 2009 by carlos


A namespace is a feature that allows classes and functions to be created in a restricted scope, that is, accessible only using the name of the namespace as a qualifier for identifiers. Namespaces exist to simplify the task of giving names to classes and functions. In C, all structs and functions are in the global […]

Exceptions Inside Exceptions

August 6th, 2009 by carlos


One of the risks that we incur when working with exceptions, is having to control what is happening when the exception is received in the catch block. An exception is thrown, as we have seen in the article about exceptions when the keyword throw is used. Then, a new object of the type determining the […]