It is believed that programming is for problem solving. Naturally, lot of thinking and planning goes into the program code. Well, we can say that is related to internal characteristics of a program. However, the code has to be written using syntax of C++, which is a higher level language. It has English-like appearance. The characteristics associated with this aspect of the program can be termed as external characteristics. Some of the important external characteristics are as follows.

  1. Formatting the source code.
  2. Selection of appropriate variable names.
  3. Liberal use of comments.

20.2.1 Formatting the source code

The programming language C++ has not put any restrictions on writing the text of the program (source ...

Get Object Oriented Programming with C++, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.