C Plus Plus Tutorial 2019 | Most important |




C Plus Plus Tutorial 2019 | Most important |

C Plus Plus Tutorial 2019 | Most important |

C++ :-

C Plus Plus is statically typed, case sensitive, and compiled and free form programming language that support procedural Object Oriented and generic programming. C++ is regarded as a middle level language as it comprises a combination of both high level and low level machine language features. C++ was developed by Bjarne Stroustrup starting in 1979 at Bell Labs in Murray Hill, New Jersey, as an enhancement to the C language and originally named C with Classes but later it was renamed C++ in 1983.

C++ is a superset of C, and that virtually any legal C program is a legal C++


A programming language is said to use static typing when type checking
is performed during compile-time as opposed to run-time.
Object Oriented Programming
C Plus Plus fully support's object Oriented programming including the four pillars of object-oriented development.
 Encapsulation
 Polymorphism
 Data hiding
 Inheritance

Stander Libraries:-

 The core language giving all the building blocks including variables, data
types and literals, etc.
 The C++ Standard Library giving a rich set of functions manipulating files,
strings, etc.
 The Standard Template Library (STL) giving a rich set of methods
manipulating data structures, etc.

C++ Identifier:-

A C++ identifier is a name used to identify a variable, function, class, module, or any other user-defined item. An identifier starts with a letter A to Z or a to z oran underscore (_) followed by zero or more letters, underscores, and digits (0 to9).

C++ does not allow punctuation characters such as @, $, and % within
identifiers. C++ is a case-sensitive programming language.
Thus, Manpower and manpower are two different identifiers in C++.
Here are some examples of acceptable identifiers:
like this...
mohd zara abc move_name a_123
myname50 _temp j a23b9 retVal.

C Plus Plus Keywords:-

The following list shows the reserved words in C++. These reserved words may
not be used as constant or variable or any other identifier names:-

asm else new this auto enum operator throw bool explicit private true break export protected try
case extern public typedef catch false register typeid char float reinterpret_cast typename class for return union const friend short unsigned const_cast goto signed using continue if sizeof virtual default inline static void delete int static_cast volatile do long struct wchar_t double mutable switch while dynamic_cast namespace template..

Data Types:-

While writing program in any language,you need to use various variables to store various information. Variables are nothing but reserved memory locations to store values. This means that when you create a variable you reserve some space in memory.
You may like to store information of various data types like character, wide
character, integer, floating point, double floating point, boolean etc. Based on
the data type of a variable, the operating system allocates memory and decides
what can be stored in the reserved memory.
Primitive Built-in Types
C++ offers the programmer a rich assortment of built-in as well as user defined
data types. Following table lists down seven basic C++ data types:

The following table shows the variable type, how much memory it takes to store
the value in memory, and what is maximum and minimum value which can be
stored in such type of variables.
Now you can Download Pdf Book for know more about C++. If you have any kind of problem comment below.

Click the download button below to download this book it's free.
File Size
Click the download button above and your download will be started in few ( 10 ) seconds. If your download does not start Automatically then Click Here to download it manually.
Disqus Codes

No comments


Disqus Logo