12.01.2015 Views

C++ Programming Language - Princess Sumaya University for ...

C++ Programming Language - Princess Sumaya University for ...

C++ Programming Language - Princess Sumaya University for ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1. 11. Basic elements of the language<br />

d. Blocs of statements<br />

A set of statements (0, 1, 2, …) delimited by the two<br />

characters { and }.<br />

e. Functions<br />

Code that solves a subproblem<br />

A function consists of two parts: Header and Body<br />

The function main is an example.<br />

f. Classes<br />

Data and functions: description and relationships<br />

g. Programs<br />

classes and functions, one of them must be named main.<br />

h. Projects<br />

Dr. Arafat Awajan - PSUT - 2004 25

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!