C++ is a newer language, based on
C, that adds many more modern programming language features that make it easier
to program than C. Topics covered includes: Basics of C++, Structure of a
program, Variables. Data Types, Constants, Operators, Basic Input/Output,
Control Structures: Functions, Compound Data Types, Arrays, Character Sequences,
Pointers, Dynamic Memory, Data Structures, Object Oriented Programming, Classes,
Friendship and inheritance, Polymorphism, Advanced Concepts: Templates,
Namespaces, Exceptions, Type Casting, Preprocessor directives, C++ Standard
Library and Input/Output with files.
This note covers introduction, Data representation,
Algorithms and Pseudocodes, Getting started in C++, Loops, Early abstraction
functions, More variable types, Data abstraction, More data abstraction, arrays,
structures, Miscellaneous topics, A potpourri of applications, Programming in
MATLAB, Graphics, Programming Style Guide for C++, Syntax reference for
beginning C++, Syntax reference for more advanced C++ and syntax reference for
MATLAB.
Author(s): Alex F Bielajew,
The University of Michigan
This note includes the
Context of Software Development, Values and Variables, Expressions and
Arithmetic, Conditional Execution, Iteration, Other Conditional and Iterative
Statements, Using Functions, Writing Functions, Managing Functions and Data,
Aggregate Data, Sorting and Searching, Custom Objects, Fine Tuning Objects,
Building some Useful Classes, Inheritance and Polymorphism, Generic Programming,
Handling Exceptions and Concurrent Programming.
This book covers the C++ programming
language, its interactions with software design and real life use of the
language. It is presented in a series of chapters as an introductory prior to
advance courses but can also be used as a reference book.
Objective of this note is to
provide rapid training in elements of C++ syntax, C++ procedural programming,
C++ object oriented programming, numerous and actual C++ code for those with
some basic prior programming experience.