Borland C++ Builder: The Complete Reference
and not the way that the program will be executed. There are two general methods by
which a program can be executed: it can be compiled or it can be interpreted. While
programs written in any computer language can be compiled or interpreted, some
languages are designed more for one form of execution than the other. For example,
Java was designed to be interpreted and C was designed to be compiled. However,
in the case of C, it is important to understand that it was specifically optimized as a
compiled language. Although C interpreters have been written and are available in
some environments (especially as debugging aids or experimental platforms), C was
developed with compilation in mind. Since C++ Builder is a compiler, you will be
compiling and not interpreting programs. Since the difference between a compiler
and an interpreter may not be clear to all readers, the following brief description will
clarify matters.
that earlier versions of BASIC worked. In languages such as Java, a program's source
code is first converted into an intermediary form that is then interpreted. In either
case, a run-time interpreter is still required to be present to execute the program.
directly. Object code is also referred to as binary code or machine code. Once the
program is compiled, a line of source code is no longer meaningful in the execution
of your program.
computer can execute directly. Therefore, compilation is a one-time cost, while
interpretation incurs an overhead each time a program is run.
programming language as defined by the C89 standard. These are the keywords that
form the C subset of C++ and the ones that are supported by C++ Builder. Also shown
are 12 extended keywords added by Borland that may also be included in a C program.
Of course, using the extended keywords renders your program nonportable. (Additional
Borland extended keywords are defined for use with C++. See Part Three.)