Wednesday, May 21, 2008

Basics of C++

· A C++ program is a collection of statements(instructions), which contains the C++’s rules, symbols and special words, and when it is executed, or activated it accomplishes something. Function main can be found in every C++ program. If a C++ program has only one function, it must be the function main.The syntax rules: determine which statements are valid. The semantic rules: determine the meaning of the statements. The smallest individual unit of C++ is the C++’s tokens. C++’s tokens are divided into special symbols, word symbols, and identifiers.

No comments: