You are on page 1of 8

What programming actually is?

Simply, programming is giving a set of instructions to a

computer to execute.

Why it is needed?
You are a student from Nepal who understands only English
and Nepal.

Suppose if anyone gives you to write an essay on japanese


language.then??

Of course you can’t write Right?

So, yes being a Nepalese student you can’t write essay on


japanese language. Similarly, the computer cannot
understand the hindi, english, japanese and non of such
stupid languages.
So let’s hate Doctors

&
Start
Introduction to C++ programing
C++ (pronounced "C plus plus") is a high-level general-purpose
programming language created by Danish’s computer scientist
Bjarne Stroustrup as an extension of the C programming
language, or "C with Classes".

C++ is a powerful general-purpose programming language. It


can be used to develop operating systems, browsers, games,
and so on.

C++ supports different ways of programming like procedural,


object-oriented, functional, and so on. This makes C++
powerful as well as flexible.

Compiler
On reallife A person who produces a list or book by
assembling information or written material
collected from other sources:

What compiler actually mean on programming

A program that converts instructions into a or lower-level


form so that they can be read and executed by a
computer

we will use a compiler to write and test our programs.


i.e

Turbo c++
Any Questions?

I don’t think you have


Input & output in C++

There may be a different definations of input/ouput on

programming

Input In c++, input mean a action that is given by a user to


the program.

Output Output mean a message written to display on the


output screen.

Varriable

Variables are containers for storing data values.

In C++, there are different types of variables (defined with different


keywords), for example:

H int - stores integers (whole numbers), without decimals, such


as 123 or -123

H double - stores floating point numbers, with decimals, such as


19.99 or -19.99

H char - stores single characters, such as 'a' or 'B'.

H string - stores text, such as "Hello World". String values are


surrounded by double quotes

You might also like