ABOUT THE COURSEC++ is a general-purpose object-oriented programming (OOP) language, developed by Bjarne Stroustrup, and is an extension of the C language. C++ supports object-oriented programming, but is not strictly object-oriented. It has features that allow you to implement object-oriented concepts. This course provides an introduction to object-oriented concepts like abstraction, polymorphism, inheritance and encapsulation, and helps the learner to apply those concepts to develop a program. This course also introduces some of the advanced concepts like exception handling, templates and file handling to the learner.
COURSE OBJECTIVESUpon successful completion of the course, the learner will be able to :
C++ is arguably the most versatile language in common use. Let us understand more about classes and objects in C++ in this session. You would study member functions and friend function in C++ during this session. we'll also study constructors and destructors in C++.
The standard template Library (STL) could be a package library for the C++ programming language that influenced several elements of the C++ Standard Library. The STL achieves its results through the employment of templates. At the end of this session, we would be understanding the necessity of collections and explore varied STL containers.
Relationships between classes are as vital as the classes themselves. Certainly, developers ought to be aware of classes — cars and roads, students and universities and also the relationships that exist between them — cars drive on roads, students are educated at universities. In this session, we tend to explore however relationships may be given an equivalent status as classes.
Inheritance could be a way to utilize once written code again and again. The class that is inherited is termed base class and therefore the class that inherits is termed derived class. So when, a derived class inherits a base class, the derived class will use all the functions that are outlined in base class, therefore creating code reusable. This session would introduce you to the way to implement the idea of Inheritance in C++.
Polymorphism may be a method of representing one kind in many ways and Abstraction is that the method of showing essential info to user and conceal the rest. You would learn the C++ implementations of Polymorphism and Abstraction concepts and additionally these ideas would assist you model a much better style.
In C++, it's potential to alter the manner operator works (for user-defined types). This feature in C++ programming that enables computer programmer to redefine the meaning of an operator (when they treat class objects) is understood as operator overloading. In this module, you'll learn to implement operator overloading feature.
Exception handling is used when the frequency of occurrence of an exception cannot be predicted. For example, arithmetic exceptions such as division by zero and operating systems use exception handling to resolve deadlocks,recover from crash and so forth. In this session, you will learn about throwing Exception, catching Exception, standard Exceptions in C++ and creating custom exceptions.
Templates are the inspiration of generic programming, that involves writing code in an exceeding approach that's freelance of any explicit sort. A template could be a blueprint or formula for making a generic class or a function. In this session, you will study about implementing Function Template and Class Template.
File reading and writing forms an integral part of any application.C++ has very well crafted library referred to as fstream for File processing. This library provides data types for file handling in C++. This session would introduce fstream library and the data types it provides, creating/Opening a File, writing to a File, reading from a File, closing a File and special Operations in a File.
E-Box is a Technology Enabled Active Learning and
Assessment platform for technology and engineering
domains apart from the basic LMS components like
quizzes, assignments, lesson components.