Limit search to available items
Book Cover
E-book
Author Malhotra, D

Title C++ Programming Fundamentals
Published Bloomfield : Mercury Learning & Information, 2022

Copies

Description 1 online resource (289 p.)
Contents Cover -- Title -- Copyright -- Contents -- Preface -- Acknowledgments -- Chapter 1 C++ and Beyond -- Introduction -- 1.1 The Origin of C++ -- 1.2 Why Use C++? -- 1.3 Various Programming Paradigms -- 1.3.1 Structural Programming -- 1.3.2 Procedural Programming -- 1.3.3 Object Oriented Programming -- 1.4 C++ Basics -- 1.4.1 Variables -- 1.4.2 Data Types -- 1.4.3 Data Modifiers -- 1.t C++ Execution Flow -- Summary -- Exercises -- Theory Questions -- MCQ-Based -- Practical Application -- References -- Books -- Websites -- Chapter 2 Basic Play in C++ -- 2.1 Literals, Constants, and Qualifiers
2.2 Stream-Based IO -- 2.3 Comments -- 2.4 Operators and Types -- 2.4.1 Types of Operators in C++ -- 2.5 Type Conversion -- 2.6 Keywords -- 2.7 Loops in C++ -- 2.9 Control Statements -- 2.9 Defining Functions -- 2.9.1 Why Use Functions? -- 2.10 C vs. C++ -- Summary -- Exercises -- Theory Questions -- MCQ-Based -- Practical Questions -- References -- Books -- Websites -- Chapter 3 Arrays and Strings -- 3.1 What is an Array? -- 3.1.1 Ways to Declare Arrays -- 3.1.2 Ways to Access Array Members -- 3.1.3 Traversing a 1D Array -- 3.2 Operations on an Array -- 3.2.1 Passing an Array to Functions
3.2.2 Finding the Length -- 3.2.3 Enum in C++ -- 3.2.4 Searching -- 3.3 Multi-Dimensional Array -- 3.4 Strings -- 3.5 String Functions -- Summary -- Exercises -- Theory Questions -- MCQ-Based -- Practical Questions -- References -- Books -- Websites -- Chapter 4 Pointers in C++ -- 4.1 Introduction -- 4.2 Pointers: Declaration and Initialization -- 4.3 Casting and Passing Pointers -- 4.3.1 Typecasting -- 4.3.2 Passing -- 4.4 Using Pointers with Arrays -- 4.5 Pointer Use -- Summary -- Exercises -- Theory Questions -- Practical Questions -- MCQ-Based -- References -- Books -- Websites
Chapter 5 Classes in C++ -- 5.1 Class Making -- 5.2 Constructors and Destructors -- 5.3 The This Pointer -- 5.4 Class Methods -- 5.5 The static Keyword -- 5.6 Memory Management and Garbage Collection in C++ -- Summary -- Exercises -- Theory Questions -- Practical Questions -- MCQ-Based -- References -- Books -- Websites -- Chapter 6 Inheritance -- 6.1 Introduction -- 6.2 Inheritance -- 6.2.1 Access Specifiers -- 6.2.2 Inheritance Modes -- 6.3 Types of Inheritance -- 6.4 Constructor Calling -- 6.5 Implementing Inheritance -- Summary -- Exercises -- Theory Questions -- Practial Questions
MCQ-Based -- References -- Books -- Websites -- Chapter 7 Polymorphism -- 7.1 Introduction -- 7.2 Dynamic vs. Static Binding -- 7.3 Interface and Implementation -- 7.4 Function Overriding and Overloading -- 7.5 Friend and Generic Functions -- 7.5.1 Friend Functions -- 7.5.2 Generic Functions -- 7.6 Namespaces -- Summary -- Exercises -- Theory Questions -- Practical Questions -- MCQ-Based -- References -- Books -- Websites -- Chapter 8 Operator Overloading -- 8.1 Basics -- 8.2 How to Overload an Operator? -- 8.3 Overloading Unary Operators -- 8.4 Overloading Binary Operators
Notes Description based upon print version of record
8.5 Overloading by Friend Function
Form Electronic book
Author Malhotra, N
ISBN 9781683929758
1683929756