pdf.css
Google


ADBRITE ads links
You are here: CodeIdol > C++ > Borland C++ Builder: The Complete Reference > page: 37 38 39 40 41 42 43 44 45 46 47


11
THE
FOUNDATION
OF
C++
operations, high-level mathematical computations, or string handling. As a result,
most programs include calls to various functions contained in C's standard library.

The C language defines a standard library that provides functions that perform
most commonly needed tasks. (This library is also supported by C++.) When you call a
function that is not part of the program you wrote, the compiler "remembers" its name.
Later the linker combines the code you wrote with the object code already found in the
standard library. This process is called linking.

The functions that are kept in the library are in relocatable format. This means that
the memory addresses for the various machine-code instructions have not been
absolutely defined; only offset information has been kept. When your program links
with the functions in the standard library, these memory offsets are used to create the
actual addresses used. There are several technical manuals and books that explain this
process in more detail. However, you do not need any further explanation of the actual
relocation process to program in C or use C++ Builder.

Separate Compilation
Most short C programs are completely contained within one source file. However, as a
program gets longer, so does its compile time, and long compile times make for short

The keywords defined by C subset of C++
auto
double
int
struct
break
else
long
switch
case
enum
register
typedef
char
extern
return
union
const
float
short
unsigned
continue
for
signed
void
default
goto
sizeof
volatile
do
if
static
while
These additional keywords added by Borland are allowed in a C program:
asm
_cs
_ds
_es
_ss
cdecl
far
huge
interrupt
near
pascal
_export
Table 1-2.
You are here: CodeIdol > C++ > Borland C++ Builder: The Complete Reference > page: 37 38 39 40 41 42 43 44 45 46 47
   
Related tags







Popular Categories
Unix books and guides
AJAX popular information
C# language guides
Windows books and cookbooks
.......






© CodeIdol Labs, 2007