2021 12-25-060904.720 Beginnersbook Com C Plus Plus Tutorial

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

IHOP Holiday Menu

IHOP

Home
All Tutorials
Core Java
OOPs
Collections
Java I/O
JSON
DBMS

C++ Tutorial – Learn C++


Programming with examples
BY CHAITANYA SINGH | FILED UNDER: LEARN C++

C++ language is a direct descendant of C programming language with additional features


such as type checking, object oriented programming, exception handling etc. You can call it
a “better C”. It was developed by Bjarne Stroustrup.
C++ is a general purpose language language, when I say general purpose it simply means
that it is designed to be used for developing applications in a wide variety of domains.

C++ Tutorial
To learn C++ programming, refer these tutorials in the given order. These tutorials are
written for beginners so even if you have no prior knowledge in C++, you won’t face any
difficulty understanding these tutorials.
Basics

1. First C++ Program – Hello World!


2. Variables and their types
3. Data types
4. Operators in C++

Control Statements

5. If, if..else-if statement


6. Switch Case in C++
7. For loop
8. while loop
9. do while loop
10. Continue statement
11. Break statement
12. goto statement

Functions

13. Functions in C++


14. Default arguments in Functions
15. C++ Recursion

Arrays
16. Arrays
17. Multidimensional arrays
18. Passing Array to function
19. C++ Strings

Pointers

20. Pointers in C++


21. this Pointer

OOPs

22. OOPs Concepts


23. Constructor
24. Destructor
25. Structure
26. How to pass and return struct from function
27. Enumeration
28. Inheritance
29. Polymorphism
30. Function Overloading
31. Function Overriding
32. Virtual Function: Run time Polymorphism
33. Encapsulation
34. Abstraction
35. Interfaces – Abstract class
36. Pass and return object from function
37. Friend class and friend Function
Features of C++
1) Better memory management – you can dynamically allocate memory during runtime
using new and delete operator in C++ to have better memory management.

2) Object oriented – C++ supports object oriented programming features, which means we
can use the popular OOPs concepts such as Abstraction, Inheritance, Encapsulation and
Inheritance in C++ programs, these features make writing code in C++ a lot easier. We will
cover them in detail in this tutorial series.

3) Portable – Most of C++ compilers supports ANSI standards that makes C++ portable
because the code you write on one operating system can be run on other Operating system
without making any change. We cannot say C++ a fully platform independent language as
certain things in C++ are not portable, such as drawing graphics on a screen, since standard
C++ has no graphics or GUI API.

4) Structured programming language – We have functions in C++, which makes easier to


break a problem into small blocks of code and structure the program in such a way so that it
improves readability and reusability.

5) Exception handling: Just like Java we can do exception handling in C++ which makes it
easier to identify and handle the exceptions.

6) Simple – Last but not least, just like C, it is easier to write a program in C++. Once you get
familiar with the syntax of C++ programming language, it becomes a lot easier to code in
C++.

Next ❯
LensCrafters
Shop Holiday Styles In Stores
40% Off Lenses With Frame Purchase + 50% Additional Pairs

Store info Directions

Leave a Reply

Your email address will not be published. Required fields are marked *

Comment

Name *
Email *

POST COMMENT

Other Tutorials

Java Tutorial

Java Collections

Java I/O Tutorial

C Tutorial

C++ Tutorial

Kotlin Tutorial

MongoDB Tutorial

Python Tutorial

Perl Tutorial

XML Tutorial

DBMS Tutorial

JSON Tutorial

Servlet Tutorial
JSP Tutorial

JSTL Tutorial

LensCrafters

Share the Love This

Holiday
40% Off Lenses With Frame
Purchase. Shop In Stores Now.

Store info Directions

Recently Added..
JSON Tutorial

Java Regular
Expressions Tutorial

Java Enum Tutorial

Java Annotations
Tutorial

Great Clips® Near You


Great Clips
Ashburn 10AM–5PM

Copyright © 2012 – 2021 BeginnersBook . Privacy Policy . Sitemap

You might also like