C++: The Complete Reference
a nonstructured language for serious, new programs.
BASIC is an example. However, the shortcomings of these languages can never be
fully mitigated because they were not designed with structured features from the
beginning.
you define and code separately the separate tasks in a program, thus allowing your
programs to be modular. After you have created a function, you can rely on it to
work properly in various situations without creating side effects in other parts of
the program. Being able to create stand-alone functions is extremely critical in larger
projects where one programmer's code must not accidentally affect another's.
treated as a unit. In C, you create a code block by placing a sequence of statements
between opening and closing curly braces. In this example,