Pranali Katakdhond

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 12

COMPUTER LANGUAGE

C++
family: c

• C++ is a cross-platform language that can be used to create high-performance applications. C+


+ was developed by Bjarne Stroustrup, as an extension to the C language. C++ gives
programmers a high level of control over system resources and memory.
• The C++ language has two main components: a direct mapping of hardware features provided
primarily by the C subset, and zero-overhead abstractions based on those mappings.
Stroustrup describes C++ as "a light-weight abstraction programming language [designed] for
building and using efficient and elegant abstractions"; [14] and "offering both hardware access
and abstraction is the basis of C++. Doing it efficiently is what distinguishes it from other
languages."[61]
WAY TO LEARN C++

• C++ is very close to hardware, so you get a chance to work at a low level which gives you lot of
control in terms of memory management, better performance and finally a robust software
development.
• C++ programming gives you a clear understanding about Object Oriented Programming. You will
understand low level implementation of polymorphism when you will implement virtual tables and
virtual table pointers, or dynamic type identification.
• C++ is one of the every green programming languages and loved by millions of software developers.
If you are a great C++ programmer then you will never sit without work and more importantly you
will get highly paid for your work.
• C++ is the most widely used programming languages in application and system programming. So
you can choose your area of interest of software development.
• C++ really teaches you the difference between compiler, linker and loader, different data types,
storage classes, variable types their scopes etc.
FEATURES OF C++
C++ is a general-purpose programming language that was developed as an enhancement
of the C language to include an object-oriented paradigm. It is an imperative
and compiled language. C++ has a number of features, including:

•Object-Oriented Programming
•Machine Independent
•Simple
•High-Level Language
•Popular
•Case-sensitive
•Compiler Based
•Dynamic Memory Allocation
•Memory Management
•Multi-threading
“HELLO WORLD” PROGRAM IN C++
C++ is a widely used Object Oriented Programming language and is relatively easy to understand.
The “Hello World” program is the first step towards learning any programming language and is also
one of the most straightforward programs you will learn.
The Hello World Program in C++ is the basic program that is used to demonstrate how the coding
process works. All you have to do is display the message “Hello World” on the console screen.
To write and run C++ programs, you need to set up the local environment on your computer. Refer
to the complete article Setting up C++ Development Environment. If you do not want to set up the
local environment on your computer, you can also use online IDE to write and run your C++
programs.
WHAT IS C++
• C++ (said C plus plus) is an object-oriented computer
language created by notable computer scientist Bjorne
Stroustrop as part of the evolution of the C family of
languages. It was developed as a cross-platform
improvement of C to provide developers with a higher
degree of control over memory and system resources.
WHAT IS C++ USED FOR

• C++ (or “C-plus-plus”) is a general-


purpose programming and coding
language. C++ is used in developing
browsers, operating systems, and
applications, as well as in-game
programming, software engineering, data
structures, etc.
BASIC OF C++

• In C++ input and output are performed in the form of a sequence


of bytes or more commonly known as streams. The two methods
cin and cout are used very often for taking inputs and printing
outputs respectively. These two are the most basic methods of
taking input and output in C++.
MAIN STRUCTURE OF C++

• Structure of a C++ Program. Programs refer to a sequence of


instructions or statements. These statements are what form the structure
of a C++ program. Moreover, the C++ program structure divides into
several sections which are namely headers, class definition, member
functions definitions and main function.
KEYWORDS OF C++

• 95 keywords
• Overview. Keywords in C++ are the collection of reserved words. These
are written in lowercase and have a special meaning defined by the
compiler. There are 95 keywords in C++, of which around 30 are
unavailable in the C language.
IOSTREAM IN C++
• C++ input/output streams are primarily defined by iostream , a header
file that is part of the C++ standard library (the name stands for
Input/Output Stream). In C++ and its predecessor, the C programming
language, there is no special syntax for streaming data input or output.
THANK YOU
- BY PRANALI KATAKDHOND (28)

You might also like