How to learn c++ programming language free of cost.Start learning from now.

Introduction to C++
How to learn c++ programming language free of cos
C++ Window

C++ is a third-generation programming language that supports procedural and objects oriented programming. It is widely used and its different versions are available for different operating systems. It is not possible to discuss all the aspects of the C++ language in some article. Hence, only a brief introduction is provided in the following sections.
Elements of C++
C++ programs consist of comments, objects, classes, functions, variables, constants,
and expressions.
How to learn c++ programming language free of cos
Input and Output Window

Comments
Comments are used to describe the different parts of a program. There are two types of
comments in C++: line and block. A line comment starts with a double slash (//).
A block comment starts with a slash-star (/*) and may run into multiple lines.
An example of a line comment is as follows:
// Example program int Amount = 1000
// initialize Amount char ch = 'B'
// initialize ch double temp
// temp variable The slash-star (i.e., block comment) mark tells the compiler
to ignore everything that follows until it finds a star-slash(*/) mark. Every/* must be
matched with a closing *). For example,
/* Example program. This it the first multi-line comment you have come across. */.
Comments are useful for others to understand your program, so use
them whenever necessary. They are similar to the remarks you put in using the
REM statement in BASIC.

As we discussed earlier, C++ is an object-oriented programming language. In such a
language, a program is said to consist of a number of parts or layers, each of which
is called an object.
Previous
Next Post »