[PDF] Programming Fundamentals using C++ Handwritten Lecture Notes

C++ Handwritten Notes

What is C++ programming language ?

C++ is a statically-typed, free-form, (usually) compiled, multi-paradigm, intermediate-level general-purpose middle-level programming language.

In simple terms, C++ is a sophisticated, efficient and a general-purpose programming language based on C. It was developed by Bjarne Stroustrup in 1979.

C++ is an Object Oriented Programming language but is not purely Object Oriented. Its features like Friend and Virtual, violate some of the very important OOPS features.

What are the advantages of C++ ?

  1. Conciseness: programming languages allow us to express common sequences of commands more concisely. C++ provides some especially powerful shorthands.
  2. Maintainability: modifying code is easier when it entails just a few text edits, instead of rearranging hundreds of processor instructions. C++ is object oriented (more on that in Lectures 7-8), which further improves maintainability.
  3. Portability: different processors make different instructions available. Programs written as text can be translated into instructions for many different processors; one of C++’s strengths is that it can be used to write programs for nearly any processor.

What are the applications of C++ ?

  1. Application Software Development: C++ programming has been used in developing almost all the major Operating Systems like Windows, Mac OSX and Linux. Apart from the operating systems, the core part of many browsers like Mozilla Firefox and Chrome have been written using C++. C++ also has been used in developing the most popular database system called MySQL.
  2. Programming Languages Development: C++ has been used extensively in developing new programming languages like C#, Java, JavaScript, Perl, UNIX’s C Shell, PHP and Python, and Verilog etc.
  3. Computation Programming: C++ is the best friends of scientists because of fast speed and computational efficiencies.
  4. Games Development: C++ is extremely fast which allows programmers to do procedural programming for CPU intensive functions and provides greater control over hardware, because of which it has been widely used in development of gaming engines.
  5. Embedded System: C++ is being heavily used in developing Medical and Engineering Applications like softwares for MRI machines, high-end CAD/CAM systems etc



Topics in our C++ Handwritten Lecture Notes PDF

In these “C++ Handwritten Lecture Notes PDF”, you will study to develop structured as well as object-oriented programming skills using C++ programming language. The course not only focuses on basic C++ constructs but also covers object-oriented programming features in-depth, namely Encapsulation, Abstraction, Inheritance and Polymorphism for writing efficient codes.

The topics we will cover will be taken from the following list:

Introduction to C++: Overview of Procedural Programming and Object-Oriented Programming, Using main () function, Header Files, Compiling and Executing Simple Programs in C++.

Programming Fundamentals: Data types, Variables, Operators, Expressions, Arrays, Keywords, Naming Convention, Decision making constructs (if, switch), Looping (for, while, do…while), Type Casting, Input-output statements, Functions, Command Line Arguments/Parameters.

Object Oriented Programming: Overview of Abstraction, Encapsulation, Inheritance, and Polymorphism. Creating Classes and objects, Modifiers and Access Control, Constructors, Implementation of Inheritance (Single and multilevel), Implementation of Polymorphism (Function Overloading and Operator Overloading, Function Overriding).

Pointers and References: Static and dynamic memory allocation, Pointer and Reference Variables, Pointers vs. References, Implementing Runtime polymorphism using pointers and references.

Exception and File Handling: Using try, catch, throw, throws and finally; Nested try, creating user defined exceptions, File I/O Basics, File Operations.



Download C++ Handwritten Notes PDF

C++ Handwritten Lecture Notes PDF

C++ Handwritten Lecture Notes PDF
Contributor: Abhishek Sharma
College: KMV (DU)

C++ Handwritten Lecture Notes PDF

C++ Handwritten Lecture Notes PDF
Contributor: Preeti
College: SPM (DU)

C++ Handwritten Lecture Notes PDF

C++ Handwritten Lecture Notes PDF
Contributor: Abhishek Sharma
College: KMV (DU)