C++: The Complete Reference
purpose in a program--that is, you may not use it as a variable or function name.
begins. In well-written C code, main() contains what is, in essence, an outline of what
the program does. The outline is composed of function calls. Although main() is not
a keyword, treat it as if it were. For example, don't try to use main() as the name of a
variable because you will probably confuse the compiler.
consists solely of the statements that you actually created. However, this is quite
rare because neither C nor C++ provides any keywords that perform such things as
input/output (I/O) operations, high-level mathematical computations, or character
handling. As a result, most programs include calls to various functions contained in
the standard library.
supported by all compilers. However, your compiler will probably contain many other
functions. For example, the standard library does not define any graphics functions,
but your compiler will probably include some.
language. C++ supports the entire function library defined by Standard C. Thus, all
of the standard C functions are available for use in C++ programs that you write.