M M The Publication of The Annotated C++ Reference Manual by Ellis and Stroustrup
M M The Publication of The Annotated C++ Reference Manual by Ellis and Stroustrup
INTRODUCTION:
The C++ programming language was developed at AT&T Bell Laboratories in the early 1980s by Bjarne Stroustrp. He found C lacking for simulations and decided to extend the language by adding features from his favorite language, Simula 67. Simula 67 was one of the earliest object-oriented languages. Bijarne Stroustrup called it C with Classes originally. The name C++ was coined by Rick Mascitti ++ is the C increment operator. Ever, since its birth, C++ evolved to cope with problems encountered by users, and through discussion at AT&T. However, the maturation of the C++ language was attested to by two events: I. II. The formation of an ANSI (American National Standard Institute) C++ committee and The publication of The Annotated C++ Reference Manual by Ellis and Stroustrup.
The latest C++ standards document was issued by ANSI/ISO in year 2003. The major reason behind the success and popularity of C++ is that it supports the object oriented technology, the latest in the software development and the most near to the real world. One can easily judge the importance of C++ as given in the following lines: Object Oriented Technology is regarded as the ultimate paradigm for the modeling of information, be that data or logic. The C++ has by now shown to fulfill this goal. So, before revising the C++ concept (learnt in XI), we must brush up the OOP (Object Oriented Programming) concepts that we have already gone through in the previous class.
C++ BASIC
This section onward we take you on a revision tour of C++, that you have learnt in your previous class XI. This section talks about C++ building blocks, character set, variables, constants, basic input-output statements, decision statements, iteration statements, decision statements, iteration statements, etc., etc. The C++ revision tour will definitely help you brush up your C++ knowledge acquired so far.
II.
NOTE: When a program start the header file of C++ language must be Written.
Token
Definition:
The smallest individual unit in a program is known as a Token. C++ has a following token: Keywords, Identifiers, Literals, Punctuators and Operators.
EXPLANATION: I.
Keywords: These are the words that convey a special meaning to the language compiler. The original C++ (developed by Stroustrup) contains the following keywords: continue default delete float for friend new operator private signed vsizeof static try typedef union
cases
catch char class const
do
double else enum extesssrn
goto
if inline integer long
protected
public register return short
struct
switch template this throw
unsigned
virtual void volatile while