This page intentionally left blank Copyright © 2007, New Age International (P) Ltd., Publishers Published by New Age International (P) Ltd., Publishers All rights reserved. No part of this ebook may be reproduced in any form, by photostat, microfilm, xerography, or any other means, or incorporated into any information retrieval system, electronic or mechanical, without the written permission of the publisher. All inquiries should be emailed to
[email protected] ISBN (13) : 978-81-224-2628-1 PUBLISHING FOR ONE WORLD NEW AGE INTERNATIONAL (P) LIMITED, PUBLISHERS 4835/24, Ansari Road, Daryaganj, New Delhi - 110002 Visit us at www.newagepublishers.com PREFACE C++ is a general-purpose object oriented programming language with features, such as, economy of expression, modern flow control and data structures, and a rich set of operators. C++ is not tied to any particular hardware or system and it is easy to write programs that will run without change on any machine that supports C++. The purpose of this book is to provide an introductory text for understanding the C++ language and to empower the reader to write C++ programs. The book also introduces reader to the paradigm of object oriented programming. The main strength and USP of this book is that it is written by a student for students but will be equally useful for intermediate level programmers, and software development professional. The author is in the best position to identify and address issues and areas where a student needs maximum help in understanding the C++ concepts and developing programming skills. The book is written in an easy to comprehend format and includes inline programs, illustrations, number of well chosen completely solved and tested examples to