cart 0

You have no items in your shopping cart.

ILLUSTRATED PROGRAMMING WITH C++

Author(s) Dilip S Mali, Pramod N. Vasambekar
Year of Publication 2009
Edition First Edition
Pages 292
Cover Type Soft Cover
Size 7.25" x 9.25"
Book Includes Solutions Manual CD
ISBN-13 978-81-87972-30-3

Availability: In stock

List Price: ₹225.00

Discount: 20%

Net Price ₹180.00

- 91%
Review Feedback Specimen Request Connect To Author

Share

About the Book

About The Book

This book is intended for undergraduate students. Various features of C++, including the C subset, are introduced and illustrated with programming examples. A large number of working programs provided in the book would help the reader understand the language features better and overcoming the teething problems commonly faced by beginners.

The topics have been sequenced carefully such that sufficient maturity is gained before the involved concepts are dealt with. The material on data structures is placed after the object-oriented concepts so that the class designs for important data structures are fully appreciated. A few features of the language, such as string class and fie file operations may be covered earlier without affecting the flow of the sequence of topics, if an instructor so desires.

The inclusion of a large number of working programs is a distinctive feature of this book. These programs should urge the reader to test and modify them for gaining confidence and competence in programming with C++. Many of these programs are likely to find use as building blocks of large programming projects that a reader may undertake later.

The book consists of fourteen units and four programming projects. The programming projects at the end of certain units and the exercises placed at the end of each unit help the reader to do self-assessment of their understanding of the concepts. The inclusion of a skeleton code in the programming projects gives direction to the reader in completing the program with considerably less effort. The book is self-contained and should be a valuable asset for undergraduate students doing their first course on C++.

  • Emphasis on syntactic details 
  • A large number of working programmes challenging programming assignments/ exercises
  • Various features of C++ are introduced and illustrated with programming examples
  • Step by step sequencing of topics
  • Consistent programming conventions throughout the text
Contents

Contents

  • Fundamentals of OOP: Introduction, What is OOP?, Characteristics of OOP, Advantages of OOP, Applications of OOP, Limitations of OOP, OOP Languages. Exercises
  • Fundamentals of C++: Character Set, Keywords, Identifiers, Variables,  Constant., Data Types, Operators in C++,  Manipulators,  Type Cast Operators, OperatorPrecedence and Associativity, Expressions, Exercises.
  • Data Input/Output, Data Types and Operators: Executing a Simple C++ Program, Comments, String literalsand character constants, Initialization of variables in the declaration, Dynamicinitialization of variables, Getting data from keyboard using cin, Multipleinputs in the same stream, Pre-increment and post-increment operators, Thescope resolution operator (::), The type char . Arithmetic expressions, Manipulators, Type casting. enum data type, Storage space for various data types, Exercises.
  • Control Structures: Branching: Simple if statement, The if else statement, The conditionaloperator (?:), The switch statement, The goto statement Looping: The for loop, The while loop, The do-while loop, The break and continuestatements,Exercises.
  • Functions: Arithmetic Functions: sin(), cos() and tan() functions. asin(), acos() and atan() functions. log()and log10() functions. ceil() and floor() functions. abs() and fabs()functions. sqrt() and exp() functions. User Defined Functions: Defining a function. Function prototype. Inline functions. Passby value and pass by reference. Function Overloading: Overloading by parameter list. Overloading by parameter list. Functionoverloading (for different types). Exercises
  • Array, Pointers and Strings: Arrays: Initialization of an array, Arrayswith enum data types, Passing an array to a function, A two-dimensional array, Sorting array elements in ascending order using bubble sort algorithm, Sorting array elements in ascending order using,   selectionsort algorithm, Sequential search algorithm, Binary search algorithm. Pointers: A pointer, Dereferencing a pointer, Arrays and pointers, The new and delete operators. Strings: An array of type char, Pointer of type char,  Initialization of an array ofstrings,  cin.getline() function,  strlen()function, strcpy() function, strncpy() function, strcat() function, strncat()function,  strchr(), strrchr() and strstr() functions, strtok() function. Exercises. Programming Project 1
  • Classes, Objects, Constructor and Destructor: Classes and Objects: Simple program with a class, Defining member functions outside the class, Defining member function inside the class, Making an outside function inline, Nesting of member functions, Friend functions, Arrays of objects,  Instantiating objects of different types, Pointer to objects. Constructors and Destructors: Constructor function for the class. Multiple constructors. Copy constructor. The destructor. Constructor initialization list. Exercises
  • Inheritance:Single inheritance (visibility mode public). Single inheritance (visibility mode private). Protected members. Multilevelinheritance. Multiple inheritance. Hierarchical inheritance. Hybrid inheritance.Virtual base class. Constructors in derived classes. Constructor initializationlist in inheritance. Exercises. Programming Project 2
  • Polymorphism: Overloading binary plus (+) operator, Overloading binary minus (-) operator, Overloading assignment operator, Overloading extraction (output) operator, Virtual functions. Exercises
  • Standard Data Structures: Stacks and Queues: Stack. Queue. Circular queue. Linked List:Creating a linked list, Adding elements at the beginning of the list, Adding anode after a specified node, Deleting a node from a linked list, Stack in alinked list, Queue in a linked list. Binary Trees: Creating a binary tree and traversing it by the inorder method, Traversing abinary tree by the preorder method, Traversing a binary tree by the postorder method. Exercises.
  • String Class in C++: Simple program illustrating creation of string objects. Program for reading a string from the keyboard. Concatenating strings. Inserting a string into another string. Replacing characters in a string. Removing characters from a string. Relational operations with string objects. Exercises. Programming Project 3
  • Templates and Exception Handling:Templates: Function template (One argument), Function template (Two arguments), Overloaded function template, Class template. Exception Handling:Exception handling, Exception handling with class, Multiple exceptions.Exercises
  • Console I/O Operations: Unformatted I/O Operations: Single character input/output functions get() and put(), The getline()function. The write() function. Formatted Console I/O Operations: The member function width(), The member function fill(), The member functionprecision(), The flags and bit fields for setf() functions. Manipulators: Stream manipulators, User defined manipulators. Exercises
  • File Operations: Creation of a file using the constructorfunction. Creation of multiple files using the function open(). Readingmultiple files. get() and put() functions. write() and read() functions (handlingdata in binary form). Reading and writing class objects from disk file.  Exercises Programming Project 4
About the Author

About the author

Dr. Dilip Mali is presently working as Associate Professor and Chair, Department of Electrical and Computer Engineering, Ethiopian Institute of Technology (EiT-M), Mekelle University, Mekelle, Ethiopia. He started his teaching career as a lecturer in the Dept. of Electronics, Shivaji University, Kolhapur, Maharashtra, India. He has been teaching courses such as Introduction to Communication Systems, Signal and Systems, Digital Signal Processing, Advanced Signal Processing, Stochastic Processes, Digital Communication, Satellite Communications, Optical Communications to undergraduate and post-graduate students.

He has more than 15 years of post-graduate teaching and research experience. His research interests are digital signal processing and advanced communication technologies. He has published several papers in national and international journals and presented papers at a number of conferences. He has co-authored two books entitled C Application Programs and Projects and Illustrated Programming with C++ published by Penram International Publishing (India) Pvt. Ltd. Mumbai. For Further Details Click Here!

Pramod N. Vasambekar  Dr. Pramod N. Vasambekar has been working as Reader in Electronics in the Dept of Electronics, Shivaji University, Kolhapur. He has twenty years of teaching and research experience. His topics of interest are Electronic Materials, Microwaves, Communication Electronics and Computer Programming. He has taught computer languages like BASIC, C and C++ to the Post Graduate students of electronics. He has published several research papers in national/international journals and presented papers at a number of conferences.

Key features

Key features

  • Emphasis on syntactic details
  • A large number of working programmes challenging programming assignments/ exercises
  • Various features of C++ are introduced and illustrated with programming examples
  • Step by step sequencing of topics
  • Consistent programming conventions throughout the text
Readership

Readership

UG Computer Science and IT Students, Diploma students of computer science and IT

Expert's Reviews

Experts Reviews

 

 

 

Reader's Reviews

Write Your Review Here

You're reviewing: ILLUSTRATED PROGRAMMING WITH C++

Welcome,

Please select your country