Objective
- Follow a standard when writing C++ code
Different instructors, like different organizations, have their own coding standards which you must follow. In general, these tend to be very similar to each other and usually reflect industry standards. We want you to code in a style that is recognized and respected in the field. We also want your code to be easy to read, debug, and maintain. The coding standards help to achieve these goals.
Your programs should be organized as follows:
In this couse, the use of proper namespaces is considered important. Since the statement "using namespace std;" makes namespaces close to worthless, it is not allowed in your programs for this class unless specifically allowed by the instructor. Instead, your programs should use specific "using" statements as needed. See the example programs for actual C++ examples.