If you have never done programming and want to learn C ++, then this tutorial is made for you. It can be a little scary for beginners to see someone else’s complex programs.

This tutorial based on C ++ supports Dev C ++ platform. This does not mean that we support Dev’s platform.

There is another version of this website which is based on Turbo C ++. C++ Hindi Tutorials

What is the important in a Programming? Let us understand this with the following Points,

  • You can understand this in such a way that a loop or function will never change its behaviour whether it is used in a different platform such as Turbo C ++, visual studio or dev C ++.
  • If a platform becomes a medium for attracting programming for beginners, they can go with it. There is nothing wrong in this. Because to learn any skill you must first have an attraction towards it.
  • In a program, logic is the method or formula that tells how you solve the problem, so it is important.
  • The important factor is that how do you solve a real world problem in the programming world? You know what the array is, what are the functions or how many types of control statements are there, but how will you use these concepts to solve a problem. Note that programming language is always free, whereas software made from them is quite expensive.
  • Choose which language, it is not important. You can go with the language that you are comfortable with. The only means of developing modern language is that they can be understood easily, it is based on human thing.
  • Whatever the language, their basic structure / logic is the same, only the method / syntax is different. We use the + operator itself to add two numbers to a program, as the language is, even if the method is different.
  • The advanced features of C ++ such as string library, OOPs, file handling, STL only allow you to make your program better and add additional features to it. So that it also saves your time and at the same time it is also safe, but despite this you should be more focused on the basic concept, this will develop your ability to create logics-

You can understand it as if you have to make a pattern or a project which has features like a software. In such a situation, no advance features in C ++ can help you in this. Yes, in a project you can use OOPs for data-reuse and data security and file handling for database but how data will flow in the program will depend on your logics.

If you search on google, then you will find many arguments in which many people have given their suggestions like some call python as future language and some call kotlin. Someone says C  is outdated. So in such a situation, a beginner gets confused as to which language to learn. Don’t know if the language he is learning is outdated or not.

Perhaps, you must have understood the answer from the points given above that, language is not important, programming is important. The concepts have been almost the same in all languages, so why the confusion?

But note here that the language may be outdated but the programming has always been the same. Here the purpose of this tutorial is to teach you that how you solve real world problem in programming world whereas C++ is only a medium here which will help you to learn programming.

Languages have limits, Programming doesn’t.

We chose C++ because we serve C++ better

Read this article: Why C ++ is a good first language to learn

C++ Content

The following is the structure of this tutorials, if there is any problem in understanding any concept, then comment box has been given on each page in which you can ask your questions. And also examples based on the concept are given in the same page.

1.   C++ History
2.   C++ features
3.   use of C++
4.   Difference between C and C++
5.   add two number in C language
6.   add two number in C++ language
1.   header file in C++
2.   cout statement C++
3.   cin statement in C++
4.   simple Hello Program in C++
1.   Token
2.   Type of token in C++
3.   keyword in C++
1.   C++ character set
2.   C++ identifier
2.1.   Rule of declaring an identifier in C++
3.   C++ comments
3.1.   C++ single line comment
3.2.   C++ multi-line comment
1.   some important facts about constant.
2.   defining constant in C++
3.   constant type in C++
3.1.   numeric constant
3.1.1.   decimal constant
3.1.2.   octal constant–
3.1.3.   hexadecimal constant –
3.1.4.   floating constant 3.1.5.   Characters Constant 3.1.5.1.   Character Constant
3.1.5.2.   String Constant
1.   variable in C++
2.   Declaration of a variable in C++
3.   Rule of a variable declaration in C++
4.   C++ variable initialization
5.   Example of a variable in C++
6.   variable Types in C++
6.1.   local variable in C++
6.2.   global variable in C++
6.2.1.   Example of local and Global variable in C++
6.3.   reference variable in C++
6.3.1.   Example of reference variable in C++
1.   C++ Operator
2.   Arithmetic Operator in C++
3.   Relational Operator in C++
4.   Logical Operator in C++
5.   Assignment operator in C++
6.   Special Operator in C++
7.   Example of scope resolution operator in C++
1.   what is C++ data type
2.   Type of data-type in C++
2.1.   Built-in data type in C++
2.2.   C++ int data types
2.3.   C++ float data types
2.4.   C++ char data types
2.5.   C++ void data types
3.   data-type size in C++
3.1.   Find out the size of data-type in C++
3.2.   derived data type in C++
3.3.   user-defined data-type in C++
4.   Things to know
1.   C++ modifier
2.   why we use modifier in C++?
3.   Type of modifier in C++
3.1.   signed in C++
3.1.1.   Example of signed in C++
3.2.   unsigned in C++
3.2.1.   Example of unsigned in C++
4.   long in C++
4.1.   Example of long in C++
4.2.   short in C++
.   how to use typedef data-type in a C++ program?
1.   Type of Control Statement in C++
1.1.   Conditional statement in C++
1.1.1.   Type of conditional statement in C++
1.1.1.1.   if statement in C++
1.1.1.1.1.   if-statement flow diagram in C++
1.1.1.1.2.   Example of if statement in C++
1.1.1.2.   if-else statement in C++
1.1.1.2.1.   if-else flow diagram in C++
1.1.1.2.2.   Example of an if-else statement in C++
1.1.1.2.3.   creating a calculator using if-else in C++
1.1.1.3.   nested if-else statement in C++
1.1.1.3.1.   nested if-else flow diagram in C++
1.1.1.3.2.   Example of a nested if-else statement in C++
 
1.   switch statement flow-diagram in C++
2.   Example of switch statement in C++ (with int)
3.   Example of switch statement with char data-type
4.   creating a calculator using switch statement in C++
5.   without break keyword switch statement
1.   what loop in C++
2.   needs of a loop in C++
3.   Type of loop in C++
3.1.   for loop in C++
3.1.1.   Example of for-loop in C++
3.1.2.   Example of for-loop with if-statement in C++
4.   nested for-loop in C++
4.1.   Example of nested for loop in C++
5.   Infinitive loop in C++
5.1.   Example of the infinitive loop in C++
1.   while-loop flow diagram in C++
1.1.   Example of while loop in C++
2.   nested while-loop in C++
2.1.   Example of nested while loop in C++
3.   while-loop with for-loop Example in C++
4.   while-loop with if-else statement in C++
1.   Type of breaking statement in C++
2.   break statement in C++
3.   flow-diagram of break in C++
4.   Example of break statement in C++
5.   break with loop in C++
6.   terminate an infinite loop using break statement
1.   Flow diagram of continue in C++
2.   Example of continue statement in C++
3.   Print odd number using continue in C++
4.   Print odd number table using continue in C++
5.   difference between break and continue statement in C++
1.   C++ goto Flow Diagram
2.   Example of goto statement in C++
3.   goto statement with break statement in C++
4.   goto statement with continue
5.   Thing to know
1.   Flow-diagram of exit statement in C++
2.   Example of exit in C++
3.   Example of exit() in a menu-driven program
4.   difference between break and exit statement in C++
1.   C++ array
2.   Difference between array and normal variable in C++
3.1.   single dimensional array in C++
multi dimensional array in C++
character array in C++
3.2.   declaration of a single dimensional array in C++
3.3.   initialization of array in C++
3.4.   calculating array-size in C++
4.   Find out C++ array size in own sytem.
5.   accessing of a single dimensional array element
5.1.   Example of Single dimensional array in C++
6.   Disadvantages of Array in C++
1.   Difference between structure and array in C++
2.   C++ structure member declaration
3.   declaration of a structure variable in C++
4.   accessing the data member of a structure
4.1.   Example of structure in C++
5.   Initialization of a structure in C++
6. store student record using structure with function in C++
7. copy structure in C++
8. nested structure in C++
9. array of structure in C++
10. structure with function in C++
11. similarities between structure and union in C++
11.1 Difference between union and structure in C++
12. Difference between class and structure in C++
12.1 similarities between class and structure in C++
1.   C++ union
2.   Declaration of union-members in C++
3.   accessing of union member in C++
4.   Example of union in C++
5.   Found out a union size in C++
6.   anonymous union in C++
7.   similarities between structure and union in C++
8.   Difference between union and structure in C++
9. found out structure size in C++
10. found out union size in C++
1.   Function in C++
2.   Function declaration in C++
3.   C++ Function definition
4.   use of function in C++
5.   Type of function in C++
5.1.   inbuilt Functions in C++
5.2.   user defined function in C++
5.2.1.   no argument and no return type function
5.2.2.   argument but no return type function
5.2.3.   argument and return type function
6.   actual parameter in C++
7.   formal parameter in C++
8. recursion type function in C++
1.   call by value in C++
2.   call by reference in C++
3.   call by pointer in C++
1.   Pointer in C++
2.   declaration of a pointer variable
3.   access variable address using Pointer variable in C++
3.1.   value of Operator
3.2.   address of operator
4.   access variable using Pointer variable
5. Arrays of Pointer in C++
6. Pointer to pointer in C++
7. Pointer with structure in C++
8. void pointer in C++
1.   Memory allocation in C++
2.   Type of memory allocation in C++
2.1.   static memory allocation in C++
2.2.   Dynamic memory allocation in C++
2.3.   allocating dynamic memory in C++
2.3.1.   new operator
2.3.2.   delete operator
3.   allocate dynamic memory Program
4.   Free store or Heap
1.   Dynamic memory allocation in array in C++
2.   Dynamic Object for structure and class in C++
1.   what is string?
2.   C string
3.   initialization of a C-string in C++
4.   C++ string
5.   How to read a string in C++?
6.   use of string
7.   C string library Function
8.   real world example o strcmp in C++
9.   difference between C-string and C++ string
1.   Type of storage classes in c++
1.1.   auto in C++
1.1.1.   Example of auto-variable
1.2.   extern in C++
1.2.1.   Example of extern-variable
1.3.   register in C++
1.4.   static in C++
1.4.1.   Example of static-variable
1.   Introduction oops in C ++
2.   Procedure Oriented Programming (POP)
3.   Object-Oriented Programming (OOPs)
4.   class in C ++
5.   object in C ++
6.   sending message in C ++
7.   Data encapsulation in C ++
8.   Data abstraction in C ++
9.   C ++ inheritance
10.   Polymorphism in C ++
1.   class in C++
2.   Type of specifier in C++
2.1.   Private specifier
2.2.   Public specifier
2.3.   Protected specifier
3.   Example of a default class in C++
4.   declaring a class-object in C++
5.   Accessing class member using their object
6.   Example of class in C++
7.   define of class members in C++
7.1.   definition inside the class
7.2.   definition outside The class 8.   Difference between class and structure in C++
9.   similarities between class and structure in C++
1.   C++ friend function Declaration
2.   Defining friend function definition
3.   How to call friend function in C++?
4. Friend class in C++
5. a Friend function can friend more than one class
1.   constructor
2.   Rule for declaring a constructor in C++
3.   why we use constructor in C++?
4.   Type of constructor in C++
4.1.   Default constructor in c++
4.2.   Parameterized Constructor in C++
5.   use of constructor
1.   why we use destructor?
2.   C++ destructor
3.   Rule for declaring a destructor in C++
4.   destructor program in C++
1.   File handling in C++
2.   why we use file-handling? benefit of file-handling
3.   writing and reading a file
4.   Implementation of a file in a program
4.1.   File name and its extension type
4.2.   C++ stream class
4.2.1.   Open a file in Two ways
4.3.   Closing a file
5.   How to store records in internal storage from a program
6.   write a single file in C++
7.   Three way to write and read a file
7.1.   write and read a single file using put and get function
8.   file handling Parameters
9.   Store Large Volume of data in a file
10.   manipulators in file handling
11.   user-defined filename, remove a file, rename a file
12. File handling examples in C++
13. difference between text file and binary file in C++

Enjoy Programming…!


START-> Introduction of C++

 

Like it?

Leave a Reply

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