Upload
nur-athirah
View
24
Download
5
Embed Size (px)
DESCRIPTION
jobsheet
Citation preview
JOBSHEET C++
1. OPEN PROGRAMMING C++
2. SELECT NEW SOURCE FILE.
3. WRITE THIS PROGRAM
/* This is a program The computers the sum of two integer number */
#include <iostream>Main(){int X,Y,sum;cout<<”\nEnter first numbercin>>X;cout<<”\nEnter second number:”;cin>>Y;sum=X+Y;cout<<”\nsum=”<<sum;return 0;
4. Run the project
5. SAVE THE FILE UNDER PROJECT 1
6. COMPILATION PROCESS
7. EXECUTE THE PROGRAM
8. INSERT THE DATA
9. RESULT
QUESTION/DISCUSSION1. HOW TO
a) COMPILATION PROCESS.
First click at the excute than you choose compile or compile & run to get the result.
After you click the compile automatic the result is view as “compilation results”
b) EXECUTE THE PROCESS.
Just click the button F10 then view the execute.
c) WHAT IS C++ PROGRAMMING
C++ (pronounced as cee plus plus, /ˈsiː plʌs plʌs/ ) is a general-purpose programming language.
It has imperative, object-oriented and generic programming features, while also providing
facilities for low-level memory manipulation.
It was designed with a bias toward system programming and embedded, resource-constrained
and large systems, with performance, efficiency and flexibility of use as its design highlights.[3] C+
+ has also been found useful in many other contexts, with key strengths being software
infrastructure and resource-constrained applications,[3] including desktop applications, servers
(e.g. e-commerce, web search or SQL servers), performance-critical applications (e.g. telephone
switches or space probes), and entertainment software.[4] C++ is a compiled language, with
implementations of it available on many platforms and provided by various organizations,
including the FSF, LLVM, Microsoft, Intel and IBM.