Jobsheet 5-Siti Nur Hawa Binti Arif

8
1. Open programming C++. 2. Select new source file. 3. Write the program. /* This is a program That computes the sum of two integer number */ #include<iostream.h> Main () { Int X , Y ,sum; Cout<<”\nEnter first number :”; Cin>>X; Sum = X=Y;

description

Assignment C++

Transcript of Jobsheet 5-Siti Nur Hawa Binti Arif

Page 1: Jobsheet 5-Siti Nur Hawa Binti Arif

1. Open programming C++.

2. Select new source file.

3. Write the program./* This is a program That computes the sum of two integer number */

#include<iostream.h>Main ()

{Int X , Y ,sum;Cout<<”\nEnter first number :”;Cin>>X;Sum = X=Y;Cout<<”\nsum =”<<sum;Return 0;

Page 2: Jobsheet 5-Siti Nur Hawa Binti Arif

4. Run the project.

5. Save the file under projek 1.

Page 3: Jobsheet 5-Siti Nur Hawa Binti Arif

6. Compilation process.

Page 4: Jobsheet 5-Siti Nur Hawa Binti Arif

7. Execute the program.

8. Insert the data.

9. Result.

Page 5: Jobsheet 5-Siti Nur Hawa Binti Arif

QUESTION/DISCUSSION

1. How toa. Compilation process

Firstly, you must go to the execute then you must to choose a ‘Compile’, after that you click at here.

Then, you will be fine the compilation of process.

Page 6: Jobsheet 5-Siti Nur Hawa Binti Arif

b. Execute the program

For the first time, you must to choose at the up there the tittle of ‘Execute’, after that you must to click at here.

After that, you must to search a tittle of ‘Compile’ then you click.

Page 7: Jobsheet 5-Siti Nur Hawa Binti Arif

2. 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.

C++ is standardized by the International Organization for Standardization (ISO), with the

latest (and current) standard version ratified and published by ISO in December 2014

as ISO/IEC 14882:2014 (informally known asC++14).[5] The C++ programming language

was initially standardized in 1998 as ISO/IEC 14882:1998, which was then amended by

the C++03, ISO/IEC 14882:2003, standard. The current C++14 standard supersedes

these and C++11, with new features and an enlarged standard library. Before the initial

standardization in 1998, C++ was developed by Bjarne Stroustrup at Bell Labs since

1979, as an extension of the C language as he wanted an efficient and flexible language

similar to C, which also provided high-level features for program organization.

Many other programming languages have been influenced by C++, including C#, Java,

and newer versions of C (after 1998).

CONCLUSION

The conclusion is we can learn more of about the C++. Besides that, we will be fine a new subject we have don’t know. We can make a practise to give our skill is very good person.