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
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++.
This
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.
This note covers the following
topics: The Context of Software Development, Writing a C++ Program, Values and
Variables, Expressions and Arithmetic, Conditional Execution, Iteration,
Conditional and Iterative Statements, Using Functions, Writing Functions,
Managing Functions and Data, Sequences, Sorting and Searching, Standard C++
Classes, Custom Objects, Fine Tuning Objects, Building some Useful Classes,
Inheritance and Polymorphism, Memory Management, Generic Programming, The
Standard Template Library, Associative Containers, Handling Exceptions.
This note covers the
following topics: Software crisis, Software Evaluation, POP (Procedure Oriented
Programming), OOP (Object Oriented Programming), Basic concepts of OOP ,
Benefits of OOP, Object Oriented Language, Application of OOP, Introduction of
C++, Simple C++ Program , Function in c++ and Object and classes, Constructors
and Destructors,Operator Overloading and Type Conversions, Inheritance(Extending
Classes),Pointers, Virtual Functions and Polymorphism.