Fatin Izati Binti Mohamed Jaafar Job Sheet5

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 7

1.

How to
a. Compilation process .

Firstly , open the programming Dev-C++

Then , go to select the file to create

Besides that , go to Dev-C++ to run the project

After that ,go to DEC C++ to save

Next , you go to folder desktop to save the program that .

Then , compilation process .

b. Execute the program

Go at documents . Then ENTER

After that , go to documents . And ENTER the program .

Finally . Fine the result .

2.What is C++ Programming .

C++ is an object oriented programming (OOP) language, developed by Bjarne Stroustrup, and is
an extension of C language. It is therefore possible to code C++ in a "C style" or "object-oriented
style." In certain scenarios, it can be coded in either way and is thus an effective example of a
hybrid language.
C++ is a general purpose object oriented programming language. It 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 properties of C language with an
additional concept of 'classes. However, it was renamed to C++ in 1983.
It is pronounced "C-Plus-Plus."
C++ is one of the most popular languages primarily utilized with system/application software,
drivers, client-server applications and embedded firmware.
The main highlight of C++ is a collection of pre-defined classes, which are data types that can be
instantiated multiple times. The language also facilitates declaration of user defined classes.
Classes can further accommodate member functions to implement specific functionality. Multiple
objects of a particular class can be defined to implement the functions within the class. Objects
can be defined as instances created at run time. These classes can also be inherited by other
new classes which take in the public and protected functionalities by default.
C++ includes several operators such as comparison, arithmetic, bit manipulation, logical
operators etc. One of the most attractive features of C++ is that it enables the overloading of
certain operators such as addition.
A few of the essential concepts within C++ programming language include polymorphism, virtual
and friend functions, templates, namespaces and pointers.

You might also like