Phase 1: Editing a Program
Phase 1 consists of editing a file with an editor program, normally known simply as an editor (Fig. 1.1). You type a C++ program (typically referred to as source code) using the editor, make any necessary corrections and save the program on a secondary storage device, such as your hard drive. C++ source code filenames often end with the
.C extensions (note that
C is in uppercase) which indicate that a file contains C++ source code. See the documentation for your C++ compiler for more information on file-name extensions.
Two editors widely ...