Anda di halaman 1dari 2

C++ INTRODUCTION:

WHAT IS C++?
C++ is a programming language which is a superset of the C language. The C language is known as C language
because it is a successor of B language and was developed by Dennis Ritchie. C++ is a middle level programming
language and it is developed by Bjarne Stroustrup in 1979 at Bell Labs as the extension to C language and was
originally named as C with Classes but later it was renamed as C++ in 1983. The C++ language can run on various
platforms like Windows, Mac OS, and even on various versions of UNIX. The C++ is an object oriented language.
This C++ tutorial will help new learners to understand all C++ concepts in easy way with examples.

START C++ PROGRAMMING TUTORIAL


C++ TUTORIAL ( C++ PROGRAMMING ) TOPICS:
C++ INTRODUCTION
C++ is a programming language which includes the main four pillars of object oriented development. Those
concepts are: Data Hiding, Inheritance, Encapsulation, Polymorphism. What are the features of C++? C++ is an
object oriented programming language…more…
C++ BASIC PROGRAM
Introduction: Now, before learning the C++ language, you need to learn that how to write and compile the
programs in C++ language. To understand the program briefly let us has a look at the example…more…
C++ DATA TYPES & MODIFIERS
Data types are used to define the variables that the same of type data it can store in memory. The data types
determine the type of data to be stored in memory. The data types are used to represent the different values to be
stored in the variable…more…

C++ IDENTIFIERS, KEYWORDS


To identify a class, variable, function or any of the other user defined item you use identifiers so, this concept is
known as Identifiers. The identifier starts with a letter ‘A’ to ‘Z’ or ‘a’ to ‘z’ or from underscore (_) followed by
zero or more letters, underscores and digits (0 to 9)…more…
C++ CONSTANTS
The constants can be referred as fixed values that the program cannot change, it cannot be altered. The constants
are also known as Literals. They are initialized at the time of creation and new values cannot be assigned later
on…more…
C++ VARIABLES
Variables are used to store the values which can be modified later on in the program. The variables can be declared
in many ways and every way with different memory requirements. It is a name of memory location that is allocated
by the compiler depending upon the data type of the variable…more…
C++ OPERATORS & EXPRESSIONS
The operators are the special type of functions that takes one or more parameters and gives new result. It is a
symbol that tells the compiler to perform the mathematical and logical manipulations. The programming language
like C or C++ is incomplete without the use of operators…more…
C++ DECISION CONTROL STATEMENTS
The decision control statements are the decision making statements that decides the order of execution of
statements based on the conditions. In the decision making statements the programmer specify which conditions
are to be executed or tested with the statements to be executed if the condition is true or false…more…
C++ LOOP CONTROL STATEMENTS
The loops are needed to execute a block of code many of the times. In this, basically the statements are executed
sequentially which means the first statement in a function is executed first than the second statement and so on.
The loops are used to execute a single statement or the group of statements multiple times…more…
C++ TYPE QUALIFIERS
The type qualifiers are like a token which is added to a variable and it adds an extra quality like specifying
constant-ness to a variable. It provides one or two properties to an identifier. The type qualifier can appear with
any type specifier but they cannot appear after first comma in a multiple item declaration…more…
C++ STORAGE CLASS SPECIFIERS
The storage specifiers define the scope or visibility and the lifetime of the variable or function within a
program.The lifetime is a duration till which the variable will remain active and visibility is in which the module
of the program the variable is accessible…more…
C++ ARRAYS
An array is a collection of similar elements of same data type at a contiguous memory location. The array is a data
structure which stores the fixed size of elements in sequence.The size and the data type of an array cannot be
changed after the declaration…more…
C++ STRINGS
The string is an object of the string class and it is defined in the header file i.e. <string.h>.The string class has
many constructors that are called to create a string object.It represents the sequence of characters. The operations
which can be performed on strings are comparison, concatenation, conversion, etc…more…
C++ POINTERS
Pointers are one of the best features of C++ in comparison to other programming languages like Java, Python etc.
It is a variable whose value is the address for another variable.We need to declare the variable as a pointer if we
want to use pointers with variable…more…
C++ STRUCTURES
In C++, structure is a combination or group of different data elements that are grouped together under a single
name.The data elements are known as data members who have different data type and length.It is a user defined
data type that allows you to combine data items of different kinds…more…
C++ ENUMERATION
Enumerations are a user defined data type which consist integral constants. In this, you can specify a set of values
for a variable and the variable can select only one out of the set. It has a fixed set of constants.To define
enumerations we use ‘enum’ keyword. Enumerations can be used to define days of a week, month, weathers,
etc…more…

Anda mungkin juga menyukai