Martes, Setyembre 17, 2019

Microsoft C++



Introduction to Microsoft C++
C++ is a general-purpose object-oriented programming language, developed by Bjarne Stroustrup, and is an extension of the C language. It is therefore possible to code C++.In certain scenarios, it can be coded in either way and is thus an effective example of a hybrid language.
C++ is considered to be an intermediate-level language, as it encapsulates both high- and low-level language features. Initially, the language was called “C with classes” as it had all the properties of the C language with an additional concept of “classes.” However, it was renamed C++ in 1983.


Variables and Different Operators
Variables is one of the most powerful features of a programming language is the ability to define and manipulate and variable is a named location that stores a value and values may be numbers, text, images, sounds, and other types of data. To store a value, you first have to declare a variable.
Operators are used to perform operations on variables and values.The value is called an operand, while the operation is defined by an operator.


Loops and Branching Mechanism
Branching is when you split the control flow into 2 or more pathways which are usually the result of conditional statements such as if,if then else and etc. Branching statements give us code which is optionally executable, depending on the outcome of certain tests or you can say certain cases which we can define. Looping means , repeated execution of all statements , starting from a given statement, say statement number to statement number, for a fixed number of times or until a condition if fulfilled.Looping statements are used to repetition of a section of code a number of times or until a condition has been fulfilled.

Walang komento:

Mag-post ng isang Komento