C++, 1st program to expert programmer
4.1 (12 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
979 students enrolled
Wishlisted Wishlist

Please confirm that you want to add C++, 1st program to expert programmer to your Wishlist.

Add to Wishlist

C++, 1st program to expert programmer

Comprehensive C++ 'Mobile optimized' video training with examples
4.1 (12 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
979 students enrolled
Last updated 8/2014
Current price: $10 Original price: $50 Discount: 80% off
5 hours left at this price!
30-Day Money-Back Guarantee
  • 4.5 hours on-demand video
  • 1 Article
  • 2 Supplemental Resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • Make you comfortable for c++ terms and eclipse programming
  • Object oriented programming
  • Learn c++ 11 concepts
  • making you comfortable to understand any c++ code
  • Read and write Files to Permanent Storage
View Curriculum
  • PC or MAC
  • Eclipse (available for free)
  • GCC (available for free)
  • Practise is very essential part

Sharp and to the point talk on C++ programming for beginners!

Let’s start the journey from installing c++ and an IDE (Eclipse) to the complete c++ 11th version.

C++ is an Object oriented programming language that can be used to create modern desktop software, game development or even critical system drivers too. You will find out that most trading applications are designed in C++ because in trading speed is money. When we get into the game development, c++ programming is hard to avoid if you want to create a fantastic and popular game.

In this entire c++ video series, we start from installing gcc on our system. After gcc, we will install Eclipse which is a cross platform IDE because most efficient programmers don’t develop things on notepad. And yes, we don’t like to talk about here and there so expect pure c++ programming guide with everything explained code by code and that too practically.

We are in no hurry, so we will start from Basics of Hello World in c++ and further moving to data types, variables and their scope. Further, we will look deep into the different operations that can be performed like arithmetic, logical, assignment. No programming is complete without looking into the conditional programming and loops, so we will look into IF, Else, while loop, do while loop and for loop with examples.

Then we will take a practical look into the code syntax of Object oriented programming like Classes, objects, polymorphism, abstraction and encapsulation. These are the most common terms of programming along functions that will be explained with examples. We don’t expect anything to be explained without presenting a code example.

Moving into the journey we will pass from the roads of many terms like constructors, destructors, this pointer, friend keyword, dynamic memory and namespace, we will finally move into C++ 11, which is the latest standard.

We will configure environment for c++ 11 and will take a look into most common difference introduced in c++ 11.

Who is the target audience?
  • Students
  • Teachers
  • Interested in game development
  • programmers
Compare to Other C++ Courses
Curriculum For This Course
59 Lectures
Installing environment for C plus plus
6 Lectures 30:52

GCC is a compiler used to compile and run, C and C++ programs. C++ programs are known as source code and need to be converted into binaries to run. In order to do this, we need to convert source code into binaries and GCC helps us to do that.

Preview 03:14

When you want to run C++ programs, Eclipse needs a few extra steps to be performed. In this lecture you will learn those steps and from this lecture onwards, you will be able to run c++ programs on eclipse.

Preview 09:28

In this lecture we will take a look to set up our environment on MAC. We will take eclipse as our environment and will install it. After installing the eclipse, rest of the coding and code writing technique is same as on windows.

MAC: Installation of Environment

When you run your c++ programs via eclipse, you need to built your binaries because c++ is a compile language. In this lecture you will learn about building your project that is also known as compiling the project and then run the project.

Quick tips for new eclipse users for c plu plus

We have already seen from the last movie, that how we can run a hello world program in eclipse. In this movie, we will take a closer look on each line and it's working in the c++ environment.

Hello World structure in detail

With c++, there are some default key words like for, int, while etc. that you cannot use in your programming. Along the learning process of coding, you will learn more about the reserve keywords. It is always recommended that you should give meaning full name to your variables to avoid confliction. There are also some rules and regulation for defining name for your variables.

Identifiers and keywords in C plus plus
Datatypes, variable and constants in c plus plus
7 Lectures 33:08

Check the attachment in this lecture to get exercise files

C++ exercise files

C++ allows you to work with variety of data types like integer values, decimal values, string values and others. in this lecture, we will take a close look on dealing with different types of data.

Datatypes with example code in c plus plus

Variable is a name given to fixed memory space that is reserved for one or the other data type that a programer is about to use. As the name says, variable that means that can vary. Variables can store different type of data but in c++, you have to first mention the type of data.

Variables with example in c plus plus

A variable is may or may not be accessible to different section of code. this access or restriction of variable visibility is know as variable scope. Local variable have only local scope means that can be access within the code block but global variable has access to all section of code of that program.

Local and global scope with example in c plus plus

C++ allows you to make any variable to be acing as a constant value. In this lecture, those two methods are defined. One is using the const keyword and second is using the preprocessor statement.

Constant declaration with const and preprocessor

Integer and float are the numerical values that are used for various calculation in programming. Character constants are some special character which when followed by back slash as a special functional symbol. for example in cout if you write back slash n, then it act as a new line character.

Integer, float and Character Constants in C plus plus

values in c++ can be signed and unsigned. Means that some values in c++ have positive and negative signs and some don't. It is fairly important to understand the difference between two otherwise you might change your actual value without knowing about the consequences to your code.

Signed and unsigned difference in c plus plus
Operations and conditionals in C plus plus
7 Lectures 29:07

C++ allows you to perform a variety of math operation in your code. These math operations are known as Arithmetic operations in c++. This includes addition, subtraction, multiplication, division, modulus and variety of such operations.

Arithmetic operations with example in c plus plus

Relational operation in c++ are those operations that gives the idea about relation between two values, for example the relation operations might be used to check the greater value among the two operations.

Relational operations in c plus plus

AND, OR and NOT are know as logical operations in c++. These operations allows you to check two conditions at the same time. Depending on using AND or OR, you can choose which condition matters to your code the most or both condition matter to you

Logical operations in c plus plus

Assignment operation are done with operators that are made up with the help of equal operator. Apart from double equal operator, all the other operators that assigns the value in some variable, can be treated as assignment operator.

Assignment operations in C plus plus

A code need to test a variety of condition and for the If and Else keywords are used. These keywords let the code to test the condition and after that, program can decide, which code block to execute and what can be left.

Preview 05:24

If and Else are great way to test the condition in programming but these are not good option when we to pass only one condition from 200 cases. For such condition, Switch and case are used. Switch and case allows you to test from several condition and if non of them is passed, you can mention the default case too.

Switch case with example in c plus plus

The question mark and colon operator are treated as shorthand for If and Else operations. Although these operations are not highly qualified for much longer condition but they make short code even shorter.

Shorthand of ifElse with example in C plus plus
Loops and loop control keywords in C plus plus
6 Lectures 20:53

looping or iteration is a valuable technique in programming. When we want to perform a task more than once, then we can loop through that task for a particular condition. While loop is one of the basic loop to perform such iteration.

While loop with example in c plus plus

The do while loop performs the exact same task as of while loop. The only major difference is that, in while loop the condition is tested first and in do-while loop the condition is testing after the first execution. So, our loop is going to run the task at least one time.

Do while loop with example in c plus plus

The most famous loop of all time in C++ is for loop. It has a simpler syntax as compared to other loops. You can initialize the variable, put the condition and do the increment and decrement in same line. If you will check out the most programs in c++, for loop is the most common to be found.

for loop with example in c plus plus

Break keyword is used to throw the processing of program outside a code block. We have already seen the working of break keyword in switch and break video, but same can be used in looping too.

Break with example in c plus plus

Continue is another important keyword used to just skip the flow of program for a particular condition. Continue just put the execution of program in the beginning for a given condition.

continue with example in c plus plus

GOTO keyword is used to place the flow of program to a given and specific point. Goto allows to mention the tag, where you can throw the execution of program.

goto with example in c plus plus
Functions and arrays in C plus plus
6 Lectures 37:37

Function is a set of statements being wrapped up to be used at latter time. Use of function saves a lot of time for a programmer. You can put the working of any specific task and put that inside a function. Now, whenever you the same task to be performed, you can simple call that functionality in just one line.

Understanding the function with example in C plus plus

Function calls are bit tricky in c++. Whenever you call any function in c++, the arguments inside that function are not passed directly, instead a copy of those arguments are passed. Thus, whenever you make any changes to those variables, change is only made to the copy of variable and original variable are still safe. To overcome this situation, we need to learn about references.

Function calls with example in C plus plus

You can pass default values to be set for a particular variable via functions. In case, the user didn't passed any values to the function parameters, then you can set default values to the parameter too.

Example for default parameter in function in C plus plus

In c++, there are many default built in math functions that you can use in your programs. The typical calculation such as sine or cosine functions are present in c++. You just need to import the library functions and can use those functions in your program

Builtin Math operation in C plus plus

Array is a sequential collection of same type of data. Array allows you to allocate sequence of memory that you can use to allocate same type of data. The lowest memory allocation is known as the first element of array and highest memory allocation is known as last member of array.

array with example in C plus plus

Multi dimensional array is also one the popular concept in the array. Although the memory allocates the same space as asked by the user in the form of m*n form, but user can display the array in such a manner that it gives a feel of allocating 2 or multi dimensional space from memory.

Multi Dimention array with example in c plus plus
String, pointers and taking input from users in c plus plus
4 Lectures 19:22

Strings are very powerful in c++. C++ allows you to do a variety of stuff with string by importing the string library. You can add two string that mean concatenation, you can get the first few letter of string, sum up two stings into one string and variety of such things can be performed.

Strings with example in c plus plus

Pointers are special type of variables used to hold the address values of any variable. The value of pointer is same as the value of variable because it is just pointing to the address of variable, but pointer is not directly storing that value, it is just storing the address.

pointers with example in c plus plus

If you want to store no value into the pointer then it a good practice to store NULL into the pointer. Null means nothing, not even the zero is there. But when you will try to print the value of a pointer with NULL value, it will print as zero. But in real it is just a display.

NULL pointer and alias with example in c plus plus

So far, we are only trying to hard code the value. That means we are not interacting with the value. C++ allows us to take the value from the user and put it into any variable. This can be done easily by the cin command.

taking input from users in c plus plus
OOPS in c plus plus
7 Lectures 34:13

When we talk about OOP or Object Oriented Programming, Classes and Objects are obvious to be in role. Classes are the bluprint or design. Once we have design ready, we can replicate the design and create many objects from it. learn more about objects and classes in this lecture.

Preview 07:40

Since classes are the blueprint, then it is a good practice to just put some functional working into the classes. You can put the function and it's working definition into the class and can be replicated into many objects or object calls.

Member function in classes with example

Let us take a look on access modifier in c++. These are Public, private and protected. These access specificiers are used to set boundaries for availability of members of class.

access modifier in c plus plus
10 pages

Constructor is a default function that is executed every time, when you create an object from an class. The name of the constructor is same as the name of class. Constructors don't have any datatype and not even void. When the object role is completed then destructor is called to destroy the object and free the memory.

constructor and destructor with example in c plus plus

Friend is a keyword in c++, when used before any function declaration in class, then that function working can be declared outside the class without making that function a member of the class.

friend function with example in c plus plus

C++ inline function is powerful concept that is commonly used with classes. If a function is inline, the compiler places a copy of the code of that function at each point where the function is called at compile time.

inline function with example in c plus plus

Every object in C++ has access to its own address through an important pointer called this pointer. Thethis pointer is an implicit parameter to all member functions. Therefore, inside a member function, this may be used to refer to the invoking object.

this pointer with example in c plus plus
Inheritance, polymorphism and abstraction in c plus plus
7 Lectures 38:58

One of the most important concepts in object-oriented programming is that of inheritance. Inheritance allows us to define a class in terms of another class, which makes it easier to create and maintain an application. This also provides an opportunity to reuse the code functionality and fast implementation time.

Inheritance with example in c plus plus

A C++ class can inherit members from more than one class. When there is more than one parent class for a child class is known as multiple inheritance in c++.

Multiple inheritance with example in c plus plus

C++ allows you to specify more than one definition for a function name or an operator in the same scope, which is called function overloading and operator overloading respectively.

function overloading with example in c plus plus

The word polymorphism means having many forms. Typically, polymorphism occurs when there is a hierarchy of classes and they are related by inheritance.

Polymorphism and late binding with example in c plus plus

Deleting a derived class object using a pointer to a base class that has a non-virtual destructor results in undefined behavior. To correct this situation, the base class should be defined with a virtual destructor.

Virtual destructor with example in c plus plus

Encapsulation is an Object Oriented Programming concept that binds together the data and functions that manipulate the data, and that keeps both safe from outside interference and misuse. Data encapsulation led to the important OOP concept of data hiding.

abstraction and encapsulation with example in c plus plus

This tutorial will teach you how to read and write from a file. This requires another standard C++ library called fstream, which can help you to work on files in c++.

Example of working with files in c plus plus
Exceptions and memory management in c plus plus
3 Lectures 16:04

An exception is a problem that arises during the execution of a program. A C++ exception is a response to an exceptional circumstance that arises while a program is running, such as an attempt to divide by zero.

Exception handling with example in c plus plus

A namespace is designed to overcome this difficulty and is used as additional information to differentiate similar functions, classes, variables etc. with the same name available in different libraries. Using namespace, you can define the context in which names are defined. In essence, a namespace defines a scope.

creating our namespace in c plus plus

A good understanding of how dynamic memory really works in C++ is essential to becoming a good C++ programmer. Memory in your C++ program is divided into two parts:

  • The stack: All variables declared inside the function will take up memory from the stack.
  • The heap: This is unused memory of the program and can be used to allocate the memory dynamically when program runs.
Dynamic memory with example in c plus plus
C plus plus 11th version
5 Lectures 16:21

C++ recently came up with new version c++11. This new version is very flexible and some new feature were added in the c++. In this lecture, you will learn to configure environment for C++11.

C plus plus 11 configuration

The elements are stored contiguously, which means that elements can be accessed not only through iterators, but also using offsets on regular pointers to elements. This means that a pointer to an element of a vector may be passed to any function that expects a pointer to an element of an array.

The storage of the vector is handled automatically, being expanded and contracted as needed. Vectors usually occupy more space than static arrays, because more memory is allocated to handle future growth.

C plus plus 11 vectors with example

This new range based for loop executes a for loop over a range.

Used as a more readable equivalent to the traditional for operating over a range of values, such as all elements in a container.

c plus plus 11 range base loop with example

In C and C++, it's always been important to express the idea of a NULL pointer--one that has no value. Oddly, in C++, the expression used, 0 (or NULL, always #defined to zero) was not even a pointer type. Although this worked most of the time, it could lead to strange and unexpected problems in what are, admittedly, rather edge cases.

c plus plus 11 null pointer debate

This note deals with C++11's lambda facility that allows one to write un-named functions "in place", which makes

the Standard Library algorithms much more usable. Moreover, part of the lambda concept is that variables from the

local context can be "captured" and used in the function without being passed in as parameters.

Using lambda in c plus plus 11
7 pages
1 More Section
About the Instructor
Igneus Technologies
4.3 Average rating
3,294 Reviews
81,135 Students
35 Courses
Best Comprehensive Courses

We at Igneus have trained students from IIT's, NIT's and reputed companies. Students from all over the globe have trusted our High quality and affordable trainings from 10+ countries and have opted for our Certification programs.

IGNEUS stands for the Revolutionary and a quality enhanced change that we’ve tried to come up with in the modern world of Internet education. We’ve come up bearing in mind the maximum emphasis on the quality dealing with every new technology which has made us distinguished from the throng at internet. And this revolution of choice will keep continuing. Today IGNEUS Technologies has proudly lifting up the tag of being the world's most trusted provider of myriad of services and training programs aiding constantly in every corner of the globe along with web security aspects, and open source technology.

IGNEUS Technologies Pvt. Ltd is a dream shared and brought up by two computer geniuses to make the society upgraded and aware of the cyber crimes that curb the innocence of environment, thus starting a revolution in favor of cyber security.

Igneus stands for the Revolutionary and a quality enhanced change in every aspect of its touch to internet. Quality dealing with every new technology makes us different from the crowd of internet. The revolution of choice continues. Today Igneus Technologies is the world's most trusted provider of mentioned services and training along with web security aspects, and open source technology.