Archive for July, 2009

Exceptions

July 27th, 2009 by carlos


An exception is an indication that something unexpected occurred in a C program. The mechanism used by C to handle exceptions is using the try/catch pair of keywords. An exception is represented in C++ by an object that encodes the condition that caused the exceptional event. One can use this object by means of the […]

Variables in C++

July 13th, 2009 by carlos


Programming is all about creating change in the way information is stored in a computer. To make this possible, we need easy access to the contents of computers memory. This is what programming language variables allow us to do: they give a simple way to store and retrieve information into the computer’s memory. It may […]