jobsheet 05 c++
TRANSCRIPT
-
7/24/2019 JOBSHEET 05 C++
1/6
1.How to
a. Compilation process .
Firstly , open the programming Dev-C++
Then , go to select the fle to create
-
7/24/2019 JOBSHEET 05 C++
2/6
Besides that , go to Dev-C++ to run the project
Ater that ,go to DC C++ to save
-
7/24/2019 JOBSHEET 05 C++
3/6
!e"t , you go to older des#top to save the program that $
Then , compilation process $
b. Execute the program
-
7/24/2019 JOBSHEET 05 C++
4/6
%o at documents $ Then !T&
Ater that , go to documents $ And !T& the program $
-
7/24/2019 JOBSHEET 05 C++
5/6
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 !t is t"erefore possible to code C++ in a #C style# or #object$oriented style# !n certain scenarios, it
can be coded in eit"er %ay and is t"us an effective example of a "ybrid language
C++ is a general purpose object oriented programming language !t is considered to be an intermediate level
language, as it encapsulates bot" "ig" and lo% level language features !nitially, t"e language %as called &C %it"
classes' as it "ad all properties of C language %it" an additional concept of &classes' o%ever, it %as renamed to
C++ in *
!t is pronounced #C$Plus$Plus#
C++ is one of t"e most popular languages primarily utili-ed %it" system.application soft%are, drivers, client$
server applications and embedded firm%are
/"e main "ig"lig"t of C++ is a collection of pre$defined classes, %"ic" are data types t"at can be instantiated
multiple times /"e language also facilitates declaration of user defined classes Classes can furt"er
accommodate member functions to implement specific functionality 0ultiple objects of a particular class can be
defined to implement t"e functions %it"in t"e class Objects can be defined as instances created at run time
/"ese classes can also be in"erited by ot"er ne% classes %"ic" ta1e in t"e public and protected functionalities
by default
C++ includes several operators suc" as comparison, arit"metic, bit manipulation, logical operators etc One of
t"e most attractive features of C++ is t"at it enables t"e overloading of certain operators suc" as addition
2 fe% of t"e essential concepts %it"in C++ programming language include polymorp"ism, virtual and friend
functions, templates, namespaces and pointers
-
7/24/2019 JOBSHEET 05 C++
6/6
C'!C()*'!
#no ho to use the programme C++ $ Besides that , #no ho to
create the documents at C++ $ Then , ater fnish prepared the
documents #no to run the project $ And ollo step C++ one y one
to #no aout the programme C++ $