C++ Programming – A Practical Approach
About the course
C++ language was developed by in 1980 by Bjarne Stroustrup at Bell Labs, Murray Hill, New Jersey. This was an upgraded version of the C language which was originally named as “C with Classes”. While learning C language, we came across an increment operator (++), so this increment operator was appended with C to give it a name C++ or “Incremented C” which means an Extension to C language.So it was later renamed as C++ in 1983. Like C, C++ is also a general-purpose, case-sensitive, free-form programming language which is statically typed, compiled and supports procedural, object-oriented, and generic programming. It is also considered as a middle-level language because it comprises a combination of both high-level and low-level language features. It is a superset of C, so any legal program in C language can be considered as a legal program in C++, however, the reverse can’t be true. C++ is an object-oriented programming language and it supports OOP concepts like Encapsulation, Inheritance, Polymorphism, and Abstraction. There are different versions of C++ programming language as Visual C++. Borland C++, Turbo C++, and Standardise C++. The most commonly used are Visual C++ which was modified by Microsoft in order to support visual applications.
Pre-requisites for learning C++ Programming – A Practical Approach
- You should have basic knowledge of computers.
- You should have a 32-bit system where you can install the runtime environment or IDE.
- You should have basic logic building skills, problem solving skills.
- You should also have knowledge of Basic Mathematics which includes prime number, factorial etc.
1. C++ programming
Learning Objectives: This chapter attempts to cover the basics of C++ programming using simple and practical approach for the benefit of the participants. C++ is a general purpose structured language which is an enhancement of C language. C language being an object oriented programming language supports concepts like Encapsulation, Inheritance, Abstraction and Polymorphism. This chapter covers the details of programming syntax and structure of a C++ program which includes set of statements, variables and methods. Like other programming languages, C++ also has identifiers, variables and pointers. Variables are containers which stores the value while the pointer holds the reference to the variable. Arrays and Strings are the most critical parts of programming which are also included in C++. Apart from this there are conditional statements like if-else, nested if and switch-case which are used to check the conditions within the program. Iteration in C++ is also included using for loop, while loop and do-while loop.
Topics: C++ - Basic Syntax, C++ - Programming structure, C++ - Statements, C++ - Identifiers, C++ - Variables, C++ - Pointers, C++ - References, C++ - Array & Strings, C++ - Conditionals, C++ - Branching, C++ - Do & While statements, C++ - For statements, C++ - Loop Ranges, C++ - Understanding “stdout”.
2. C++ Functions
Learning Objectives: This chapter will cover the details of functions . A function in C++ is a group of statements written together to perform specific tasks. It is advantageous to create functions as they can be used anywhere within the program. The functions improves efficiency of a program and make the code shorter. The process of creating different versions of the function with different types of arguments is known as overloading. Passing different values as arguments will allow the compiler to figure out which method to call. Recursion is another important topic in C++ where a same method is called within the method.
Topics: Introduction, Functions, Passing values, Automatic and Static variables, Returning values, Function Pointers, Overloading, Operator overloading, Arguments in C++, Recursion in C++.
3. Processing in C++
Learning Objectives: This chapter covers the details of preprocessors. Before a C++ program is compiled by a compiler, the source code is processed by a program known as preprocessor. The process is known as preprocessing. The commands which are used in preprocessor are called as preprocessor directives and always begin with “#” symbol. These preprocessor directives are categorised as, file inclusion (# include), conditional compilation (#ifdef, #endif) and macro expansion (#define) etc.
Topics: Introduction, Macros in C++, Files in C++, Compiling based on conditions, Macros advanced concepts, Key-points in Macros, Backslash in C++, Advanced File concepts in C++.
4. Classes and Objects in C++
Learning Objectives: This chapter covers the concept of Classes and Objects. The classes are the most critical feature of of C++ which makes it Object oriented in nature. Class is a user defined data type and it holds its own data members and member functions which can be easily accessed by creating an object of that class. Object in C++ is are the instances of classes which holds the data variables declared within the class. In other words, object is a real world entity. Each object has different data variables and objects are initiated using special class functions named as constructors. Whenever the object is out of its scope, a special class function named destructor is called. The destructor is used to de-allocate or free the memory which was used by the object. While writing program, these is an important term named as namespace which is required to be added at the start of the program. Namespace all you to group the named entities and provide a scope to the identifiers (names of the types, function, variables etc.) inside it.
Topics: Introduction, C++ - Class, C++ - Data Members, C++ - Function, C++ - Constructors & Destructors, C++ - Implicit/Explicit Constructors, C++ - Namespace, C++ - *this, C++ - Operator Overloading 1, C++ - Operator Overloading 2, C++ - Conversion Operators, C++ - New/Delete, C++ - Exceptions, C++ - Function objects, C++ - Numeric to string.
5. Data types in C++
Learning Objectives: This chapter covers an the data types which are important for any programming language including C++. Data types are used to define the type of a variable and the contents used. Data types define the way to to use storage in the programs that you write. Data types can be built in or abstract. Primitive data types are the built-in types, they include: Boolean, Character, Integer, Floating point, Double floating point, valueless and wide character. There data types include Strings, Enumerations, Structure, Union, Void etc.
Topics: Introduction, Integers, Float, Strings and Characters, C++ - Escape sequences, C++ - Qualifiers, C++ - References, C++ - Structured Data, C++ - Bits, C++ - enum, C++ - unions, C++ - typedef, C++ - void function, C++ - ‘auto’, C++ - ‘null pointer’.
6. Operators in C++
Learning Objectives: This chapter covers the details of the operators. Operator is a symbol which instructs the compiler to perform desired operation, which could be any mathematical operation or any logical operation. There are different type of operators categorised as Arithmetic operators, Relational operators, Logical operators, Bitwise operators, Assignment operators and Miscellaneous operators. These operators are specifically used to perform desired tasks in computer programming. For example, to perform mathematical operations, Arithmetic operators are used which are +, -, *, /, %.
Topics: C++ - Operators, C++ - Compound assignment operators, C++ - Unary operators, C++ - Relational Operators, C++ - Logical operators, C++ - Bitwise operators, C++ - ?: operator, C++ - sizeof operator, C++ - typeid operator, C++ - Operator precedence.
7. C++ Inheritance
Learning Objectives: This chapter attempts to cover Inheritance, which is one of the most important concept of Object Oriented Programming in C++. Inheritance is the process of creating new classes from existing classes. These new classes inherit some of the properties and behaviour of the existing classes. The Existing class is called as Parent class or Superclass, while the new class is referred to as the child class or the subclass. C++ also supports multiple inheritance which is the kind of inheritance when a derived class or the subclass inherits the properties and behaviour of multiple classes. Polymorphism is also another concept which is included in C++. Polymorphism is referred to acquiring multiple forms. You can assign different meaning or usage to something in different contexts using polymorphism. Precisely, allowing an entity like variable, function or object to have multiple forms.
Topics: Introduction, Inheritance basics, Base class, Friend function, Multiple inheritance, Polymorphism.
8. Templates in C++
Learning Objectives: This chapter is all about Templates in C++. Template is simple and yet very powerful tool in C++ which involves writing code in a way that is independent of any particular type. In other words, a template is a blueprint or a formula for creating a generic class or function. C++ adds two new keywords to support templates. These are: ‘template’ and ‘typename’. The second keyword can always be replaced by keyword ‘class’.
Topics: Introduction, Function template, Template class, type inference.
9. Library in C++
Learning Objectives: This chapter will cover the standard library in C++ which is categorised in two parts as The standard function library and object oriented class library. The standard function library includes the following categories as I/O, string and character handling, Mathematical, time, date and localisation, dynamic allocation etc. Whereas the object oriented class library includes the categories as standard C++ I/O classes, String class, Numeric classes, Exception handling classes etc.
Topics: Basic I/O functions, C++ - File management, C++ - Unformatted characters, C++ - Formatted characters, Strings, System errors and their treatment, C++ - ’Time’ & ‘Date’.
10. STL in C++
Learning Objectives: TThis chapter covers the details of STL which is the Standard Template Library. STL is a collection of C++ template classes which provide common programming data structures and functions such as lists, stacks, arrays etc. This is a library which is a set of container classes, algorithms and iterators. It is a generalized library and so its components are parameterized. It is important to have a working knowledge of template classes in order to work on STL.
Topics: Introduction, C++ - Vectors, C++ - Strings, C++ - I/O Strings, C++ - Iterators, C++ - Pairs, C++ - Sets, C++ - Maps, C++ - Stacks and queues, C++ - Exception Handling.
Q1 Who is our Instructor?
Ans. All our instructors are domain experts from the Industry or are from world-renowned academic Institutes and have at least 10-12 yrs of relevant experience in their domains. They are subject matter experts and are trained by Electronics & ICT Academy for providing online training so that participants get a great learning experience.
Q2 What are the payment options?
Ans. You can pay by Credit Card, Debit Card or Net Banking from all the leading banks. We use a SBI Payment Gateway. Additionally, you may send us a cheque with appropriate details or use wire transfer.
Q3 How to get my queries resolved?
Ans. You can email us at email@example.com
Q4 What internet speed is required to attend the LIVE classes?
Ans. 1Mbps of internet speed is recommended to attend the LIVE classes. However, we have seen people attending the classes from a much slower internet.
Q5 How soon after Signing up would I get access to the Learning content?
Ans. As soon as your payment is verified, you will immediately get access to our course content in the form of a complete set of previous class recordings, PPTs, PDFs, assignments and access to our 24x7-support team. You can start learning right away.
Q6 What are the system requirements?
Ans. Your system should have a 4GB RAM, a processor better than core 2 duo and operating system can be of 32bit or 64 bit.
Registration is required for course enrollment and scholarship request. You will get an activation link in the mail. Click on it and follow the instructions to complete your registration. Login with your username and password. You will be redirected to your dashboard. You can browse available courses from Home Page or by clicking Courses link on menu bar. Navigating to a course will give you two options: 1.Direct Enrollment 2. Scholarship Enrollment Logged in user can fill their details in the 'Scholarship Application' available in each course. We will mail you further details after processing your application based on your academic and professional record. Note: 1. Click on 'login' link and enter your username and password. or 2. Click on 'Register' link for registering on our website. Scholarship Eligibility: 1. Faculties from the states of Haryana, Punjab and U.P. and U.T.s of Chandigarh and Delhi are eligible for scholarship. 2. Candidates belonging to SC / ST category can avail full scholarship of Rs. 12,500(You need to submit SC / ST certificate in a format prescribed by the Central Govt. : After processing your scholarship request, we will send you the necessary details. You can directly enroll for the course by clicking on ‘Direct Enrollment’, if you do not require scholarship.
Click on 'Register' link on the menu bar
Click on activation link in the email
Click on 'Login' link on the menu bar
Click on 'Courses' link on the menu bar
Click on 'Scholarship Enrollment' in the course
Click on 'Direct Enrollment ' in the course
Registration is required for course enrollment and scholarship request.
You will get an activation link in the mail. Click on it and follow the instructions to complete your registration.
Login with your username and password. You will be redirected to your dashboard.
You can browse available courses from Home Page or by clicking Courses link on menu bar. Navigating to a course will give you two options: 1.Direct Enrollment 2. Scholarship Enrollment
Logged in user can fill their details in the 'Scholarship Application' available in each course.
We will mail you further details after processing your application based on your academic and professional record.
Note: 1. Click on 'login' link and enter your username and password. or 2. Click on 'Register' link for registering on our website.
Scholarship Eligibility: 1. Faculties from the states of Haryana, Punjab and U.P. and U.T.s of Chandigarh and Delhi are eligible for scholarship. 2. Candidates belonging to SC / ST category can avail full scholarship of Rs. 12,500(You need to submit SC / ST certificate in a format prescribed by the Central Govt. :
After processing your scholarship request, we will send you the necessary details.
You can directly enroll for the course by clicking on ‘Direct Enrollment’, if you do not require scholarship.
*CGPA to percentage conversion formula:
Equivalent Percentage = CGPA obtained X 9.5 X (10/CGPA Scale)
Example: If CGPA obtained is 8.00 on the scale of 10, then Equivalent
percentage will be 8.00 X 9.5 X (10/10) = 76%,
or If CGPA is 3.7 out of 4, then Equivalent percentage will be 3.7 X 9.5 X (10/4) = 87.88%
We urge you to provide correct information to your best knowledge. Certificates will be withheld if found that you have misrepresented any data / information.
C++ - Basic Syntax
C++ - Programming structure
C++ - Statements
C++ - Identifiers
C++ - Variables
C++ - Pointers
C++ - References
C++ - Array & Strings
C++ - Conditionals
C++ - Branching
C++ - Do & while statements
C++ - For Statements
C++ - Loop Ranges
C++ - Understanding 'stdout'
Automatic and Static Variables
Arguments in C++
Recursion in C++
Processing in C++
Macros in C++
Files in C++
Compiling based on conditions
Macros advanced concepts
Key-points in Macros
Backslash in C++
Advanced File concepts in C++
Classes and Objects in C++
C++ - Class
C++ - Data members
C++ - Function
C++ - Constructors & Destructors
C++ - Implicit / Explicit Constructors
C++ - Namespace
C++ - *this
C++ - Operator Overloading 1
C++ - Operator Overloading 2
C++ - Conversion Operators
C++ - New / Delete
C++ - Exceptions
C++ - Function Objects
C++ - Numeric to string
Data types in C++
Strings and Characters
C++ - Escape sequences
C++ - Qualifiers
C++ - References
C++ - Structured Data
C++ - Bits
C++ - enum
C++ - unions
C++ - typedef
C++ - void function
C++ - 'auto'
C++ - 'null pointer'
Operators in C++
C++ - Operators
C++ - Compound assignment operators
C++ - Unary operators
C++ - Relational operators
C++ - Logical operators
C++ - Bitwise operators
C++ - ?: operator
Templates in C++
Library in C++
C++ - Basic I/O functions
C++ - File management
C++ - Unformatted Characters
C++ - Formatted Characters
C++ - Strings
C++ - System errors and their treatment
C++ - 'Time' & 'Date'
C++ - 'Time' & 'Date'
STL in C++
C++ - Vectors
C++ - Strings
C++ - I/O strings
C++ - Iterators
C++ - Lists
C++ - Pairs
C++ - Sets
C++ - Maps
C++ - Stacks and queues
C++ - Exception handling