This book gives an introduction to C++ and computer programming to first year engineering and science students. It is expected to be used along with Simplecpp, a graphics package available on the book website.
Salient Features:
Use of a graphics package, Simplecpp, to pictorially explain programming ideas.
Extensive discussion of recursion in the context of sorting, tree based computations, backtracking.
Substantial coverage of proving correctness of programs including notions such as invariants, pre and post conditions.
Author(s): Abhiram G. Ranade
Publisher: McGraw Hill Education
Year: 2017
Language: English
Pages: 483
Introduction
A Bird's Eye View
Variables and Data Types
A Program-design Example
Simplecpp Graphics
Conditional Execution
Loops
Computing Common Mathematical Functions
Functions
Recursive Functions
Program Organization and Functions
Functions: Advanced Topics
Practice of Programming: Some Tips and Tools
Arrays
More on Arrays
Arrays and Recursion
Object-oriented Programming: Structures
Object-oriented Programming: Classes
A Project: Cosmological Simulation
Graphics Events and Frames
Representing Variable-Length Entities
The Standard Library
Representing Networks of Entities
Structural Recursion
Inheritance
Inheritance-based Design
Discrete-event Simulation
Simulation of an Airport
Systems of Non-Linear Equations