In the previous topic, we have discussed data types in C++ in detail. Today we will discuss variables and constants in C++.
A named memory location or memory cell is called a variable. The program's input data and its results are stored in variables during execution. During the execution of the program, the value of a variable can be changed but its name can not be changed.
Variables are created in random access memory. As we know that RAM is a temporary memory so data stored in it is also temporary. It can only be used during execution. When the program ends, the data stored in the variable ...
In the previous section, we have had an overview of a detailed Introduction to C++. Today, we will have a look at the data types in C++. It's our 2nd tutorial in the C++ programming language series.
In the previous tutorial, we have seen the basics of C++ and have also discussed a small code. We have discussed various programming terms in the previous tutorial and from now on, we are going to discuss those terms in detail. So, today's lecture is on Data Types in C++, let's get started:
C++ Data Types
A data type defines the type and the set of operations that can be performed on the data. V ...
Hello friends, I hope you all are doing great. In today's tutorial, I am going to give you a detailed introduction to the C++ Programming language. In cross-platform programming languages, C++ is the most popular that can be used to work on low and high-level applications. Bjarne Stroustrup was the founder of C++. He modified C language to develop C++ language. Control over system resources and memory can be attained by using C++. In 2011, 2014, and 2017 it was modified to C++11, C++14, and C++17. C++ is a middle-level language. It is advantageous to both programming languages low-level (driv ...
Hello friends, hope you all are fine and enjoying your lives. Today, I am going to show you How to use comments in C++. In the previous tutorials, we first have a look at Introduction to C++ in which we have discussed a simple c++ program. After that we have discussed How to use Escape Sequence in C++, which is also essential because escape sequence is a very simple concept but is used quite a lot on C++ projects os you must have its knowledge.
Today, we are gonna discuss Comments in C++ i.e. how to use Comments in C++ and why to use Comments in C++. Just like escape sequence, comments in C++ ...
In today's tutorials, we are going to have a look at escape sequence in C++. In our previous tutorial, Introduction to C++ we have designed a small Hello World program and if you haven't studied it yet then you should first check that one out as I am gonna take it further from there.
In that tutorial, we have designed a code which prints the Hello world on the output screen. The code used for printing it on the output screen is as follows:
How to use Escape Sequence in C++ ??
Now, suppose if I want to print out "Hello World" , instead of Hello World.
In simple words, I wanna add "" th ...
Hello friends, hope you all are fine and having fun with your lives. Today, I am going to start a new series of tutorials on C++ Programming. and here's my first tutorial in this series which is Introduction to C++. I am gonna share a lot of tutorials in this series in future, in which I am gonna explain all about C++. In the initials tutorials, we will cover the basics of C++ Programming and later on we will also cover the pro concepts of C++ Programming.
I am planning on posting around 20 to 30 tutorials in this C++ Programming series, and I am quite sure that it will cover all about C++ an ...