This PDF book
covers the following topics related to Practical C++ Programming : What
Is C++, The Basics of Program, Style, Basic Declarations and
Expressions, Arrays, Qualifiers, and Reading Numbers, Decision and
Control Statements, The Programming Process, More Control Statements,
Variable Scope and Functions, The C++ Preprocessor, Bit Operations,
Advanced Types, Simple Classes, More on Classes, Simple Pointers, File
Input/Output, Debugging and Optimization, Operator Overloading, Floating
Point, Advanced Pointers, Advanced Classes, Exceptions, Modular
Programming, Templates, Portability Problems, Putting It All Together,
From C to C++, Programming Adages.
This note explains the following
topics: C++ programming constructs, Object-orientated programming, The Standard
Library, Classes, Input or Output, Program Development, CImg, an image
processing library for C++.
note teach you following topics in C++: Gentle introduction to C++, File
I/O, Arrays and loops, Detailed explanation of classes with built-in arithmetics,
Computational efficiency aspects, Object-oriented programming and class
hierarchies, Using C++ objects in numerical applications.
Goal of this book is
to teach C++ to students who have No programming experience in any language.
Topics covered includes: Computer Science and Programming, C++ Programs: Form
and Function, Program Design and Implementation, Control, Functions, and
Classes, Iteration with Programs and Classes, Classes, Iterators, and Patterns,
Class Interfaces, Design, and Implementation, Arrrays, Data, and Random Access,
Strings, Streams, and Operators, Recursion, Lists, and Matrices, Sorting,
Templates, and Generic Programming, Dynamic Data, Lists, and Class Templates,
Inheritance for Object-Oriented Design.
These lecture notes are designed for an
introductory course on programming, using the imperative core of C++, and given
to MSc (Computing Science) students at Imperial College London at the very
beginning of their course. The students attend an intensive series of lectures
and laboratory sessions over two weeks, carrying out lab work using the GNU g++
compiler on PCs running a flavour of UNIX. Since the course is intended for
graduates from disciplines other than Computer Science, very little previous
programming experience is assumed. This note covers the following topics:
introducing C++, ANSI/ISO C, the C++ programming environment in unix, an
example C++ program, very simple input output and assignment, simple flow of
control, preliminary remarks about program style, variables types and
expressions, identifiers, data types, integers, real numbers, type casting,
characters, strings, user defined data types,etc..
Author(s): Rob Miller, David
Clark, Bob White and William Knottenbel