C++ Basics - As Soon As Possible
3.7 (112 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
13,100 students enrolled

C++ Basics - As Soon As Possible

Make C++ programs within 1st minute and learn basics within 6 hours
3.7 (112 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
13,100 students enrolled
Last updated 9/2016
Current price: $56.99 Original price: $94.99 Discount: 40% off
3 days left at this price!
30-Day Money-Back Guarantee
This course includes
  • 5.5 hours on-demand video
  • 50 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • Do general purpose programming using c++.
  • Will be able to take user input and display it rightly.
  • Will be able to do conditions and iterations in c++.
  • Will be able to handle arrays and strings well.
  • Will be able to create, use and manipulate functions.
  • Will understand fundamentals of pointers.
  • Will get to know the concept of class and build examples.
  • Will know tricks related to display, random number, time-date, escape sequences etc.
Course content
Expand all 51 lectures 05:39:28
+ Introducing the Basics
7 lectures 36:23

Here I tell what all this course contains, the coverage of topics in c++ that make it sufficient to cover most basics you need to learn and move forward.

Preview 01:09

This is a typical program a learner tries while learning any new language. The variation here is that it is being exercised online so that you become productive in 1st minute itself.

Preview 04:20

Let us learn to display multiple string literals using the same console out object by successive stream insertion or chaining.

Chaining Multiple String Literals

Collecting values from the user so that they can further be managed for operation within a program.

Stream Extraction for Input

Simple formulas will help you learn the concept of operators and left hand side and right hand side of an assignment. Area of a triangle problem is used here. 

Preview 07:09

Fractions like float, double etc. are explained here. Read only value or constants are explained using the area and circumference of a circle problem.

Fractional Data Types and Constants

Various formulas are shown in this example with a special stress on learning operator precedence.

Building Expressions and Precedence of Operators

A quiz that test the basic concepts like stream operator, return value from main, size of data type, some keywords etc.

C++ Introductory Quiz
4 questions
+ Conditions and Loops
13 lectures 01:10:28

Learning simple if-else using the age based discounts problem

Simple If-else conditions

If-else ladder and if within if problem using the division calculation problem based on percentage.

Nested if-else

Using nested if else using the character range for  the given value is a digit, uppercase letter or a lowercase letter.

Preview 04:53

Understanding for loops with repetitive printing and successive sum problems.

Simple for loop

Doing the successive sum problem using both the for loop and the while loop.

Moving from for to while Loop

Taking a alphabet from the user and then printing till Z starting from that alphabet.

Condition Followed by Loop

Successive sum problem with opportunity to enter at least one input.

Exit controlled loop - do-while

Understanding the do-while loop further by checking at the exit whether the loop has to be run again.

Retrial using do-while

Writing the day name of the week by getting input of day number.

Simple Switch

Finding area, diagonal or perimeter of a square based on user menu selection. 

Switch Based Menu

Odd number series problem by using continue and break in the loop.

Continue and Break in Loop

Symbol pattern printing, alphabet and number pattern printing using loops withing loop, also called the nested loops.

Preview 06:29

Printing a special number pattern called the Flyod's triangle using the nested loop.

Nested Loop - Flyod's Triangle

Conditions and Loops form the core features of most programming languages. Here is a quiz to evaluate your knowledge of some simple features.

Conditions and Loops Quiz
4 questions
+ Strings and Arrays
7 lectures 46:12

Starting to work offline using a pwerful Integrate Development Environmpent (IDE) like codeblock. Doing the string basic problems in it

Using codeblock and learning string basics

Getting string length for ctyle or c++ style strings.

Finding String Length

Reversing a string by considering a string as an array for string object based strings.

Preview 05:26

Adding two strings for both c style and c++ style strings.

Concatenating Strings

Arrays of different types and  understanding concepts of array indexes.

Array Basics

By using largest member of the array problem, getting to know how we can crosscheck each member of the array.

Array Traversing

Example of 2D array handling many students with multiple subjects.

Multi-Dimensional Arrays

Let us take some challenge problems on string length, collecting input with spaces, array index and sizeof()

Strings and Arrays Quiz
4 questions
+ Functions
6 lectures 49:16

Prototype Declaration & Definition in area and circumference functions.

Making a Function

The sum of digit function problem using the external function so that the concept of returning value can be understood.

Returning Value From Function

Doing a special patterns problem to learn the concept of sending not all parameters and set initial value of a parameter not sent.

Partial Parameters and Parameter Initialization

By using the change case problem, understand the concept of passing value as a parameter or passing the reference or address of the value.

Preview 09:09

Search in array implemented by passing the whole array, which always passed as a reference in c++.

Passing Array as Function Parameter

Different data types modified in separate functions. This helps me modify multiple values together using functions without the arrays concept.

Multiple Value Collection by Passing Reference

Take this functions quiz challenge to see if the key concepts like reference passing, default value initialization, returned value usage are clear to you.

Functions Quiz
4 questions
+ Pointers
3 lectures 17:58

Understanding the basics that pointers point to a value at the address contained in the pointer.

Preview 06:24

Passing as Function Parameter, Returning from Function, Value Arithmetic.

More Concepts of Pointers

Changing address by value of array data type.

Preview 04:41

One of the most unique and most talked about feature of c/c++ is pointers. Test your understanding of pointers using this simple quiz.

Pointers Quiz
2 questions
+ Classes
10 lectures 01:21:45

Creating Class Template and Objects.

Concepts of classes

Access Specifiers, Value Passing/Returning, Global/Local Object Scope.

Preview 10:01

Ways to initialize values in a class when the class object is created.


Writing class methods outside the class body.

Scoping Class Methods

Variables initialisation as static variables outside class body.

Scoping variables

Polymorphism concepts using function overloading and constructor overloading.


By using assignment or by copy constructor

Preview 11:47

A place where memory clearing is done in user control. Garbage clearing is not automatic.


public, protected and private inheritance explained with a simple example of Actor inheriting Hero and Heroine.


Using Prime Number Program.

Understanding Abstraction & Encapsulation

It is the classes which make the c++ all the more powerful in the domain of object oriented languages. Let us take some pointed questions on the concept of classes.

Classes Quiz
4 questions
+ Tips and Tricks
5 lectures 37:26

Seeing numbers with right precision and Seeing text correctly aligned.

Displaying Neatly

Random numbers concept by example of generating many random numbers.

Preview 06:42

Ways to get and print date and time using the library calls in ctime.

Date and Time Functions

The power of putting backslash before certain characters demystified.

Escape sequences

Signed and unsigned type modifiers have a specific purpose. Let us learn that here.

Signed-Unsigned Purpose
  • Using Internet and typing directly into the text boxes.
  • That c++ is an extremely useful language and it has various versions.
  • How to download and install a software into your system.

C++ is one of the most popular and most complete programming language which is not only a major enhancement to the language C, but an enhancement which stood the test of time. The current course aims at teaching this course to a novice user in a way that from the very first minute the learner starts writing the program, without learning too much theory.

Course Contents:
- 50 Video Sessions.
- Attached resource with source code of sessions.
- Section Level Quizzes.
- All basic topics like conditions, loops, strings, arrays, functions
  classes are covered in with help of easy to understand examples.
Upto 6 Hours should be sufficient to cover the course. If you keep doing your own samples based on the examples given you can keep increasing your expertise level and can finally reach an expert level.

This course should be taken to:
- Know about c++ programming quickly
- Learn enough to clear this subject at your school/college level.
- To clear interviews related to a job in Information Technology.
- To pass related IT Certification with some more practice test
  done at your level.

Who this course is for:
  • This is meant for c++ aspirants at school/college/company level.
  • If you need to take a IT job interview related, this will help.
  • If other courses confuse you, this one will not. Take it.
  • If you know the basics, you need only advanced c++ you may not take it.