Class Access Levels

April 20th, 2009 by carlos


C++ provides three access levels for members of a class. Both member variables and member functions can be tagged as public, private, or protected, depending on the intended use of the member in the class. A public data member of member function is one that can be accessed by any user of the class, independent [...]

Using the assert macro in C++

April 9th, 2009 by carlos


Writing good software is a difficult proposition. It is sometimes easy to write sub-par software, with a high number of defects and poor maintainability, but to make sure that software has good quality and is easy to modify one needs to take care of many issues. One of the necessary factors in creating good software [...]

Some features of the C++0x standard

April 7th, 2009 by carlos


C++ is growing and changing. As has been the case for the last 20 years, C++ has been developing new features as a response to the changes in computing. The latest trend of changes in the C++ language is due to the update of the Standard. A work that has taken many years, the new [...]