0% found this document useful (0 votes)
80 views

Jobsheet Programming C++

1. The document describes the steps to compile and execute a C++ program, including opening C++, creating a new source file, writing and saving the program, compiling it, and executing it to view results. 2. It provides an overview of the C++ programming language, noting that it was developed in the 1970s as an enhancement of C with object-oriented capabilities. Key features like classes, templates, and operator overloading have been added over time. 3. The goal of C++ has been to create a portable language that avoids reliance on platform-dependent features.

Uploaded by

Aana Solehah
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
80 views

Jobsheet Programming C++

1. The document describes the steps to compile and execute a C++ program, including opening C++, creating a new source file, writing and saving the program, compiling it, and executing it to view results. 2. It provides an overview of the C++ programming language, noting that it was developed in the 1970s as an enhancement of C with object-oriented capabilities. Key features like classes, templates, and operator overloading have been added over time. 3. The goal of C++ has been to create a portable language that avoids reliance on platform-dependent features.

Uploaded by

Aana Solehah
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

JOBSHEET PROGRAMMING C++

a) How to compilation process


1. Open programming C++

2. Select new source file.

i.

Click New

ii.

Then Click Project

3. Write this program

4. Run the project

5. Save the file under project 1

6. Compilation process

7. Execute the program

8. Insert the data

9. Result

b) How to Execute the program


i.

Click Execute

ii.

Then Click Run

iii.

And it been show like this picture

iv.

And then Insert Data and answer will be show it. Done!

1
2

2. What is C++ Programming


C++ is an enhanced C language typically used for object oriented
programming. It traces its origins back well over thirty years. Although its
far from the oldest computer language, its one of the older ones that is in
common usage today so you might say it gets an A for its ability to adapt
to changing technological times.

C++ was developed by Bjarne

Stroustrup, who did the first development work as part of his PhD project.
During the early years, he called the language C with Classes. He had
begun developing a new language because he felt that no existing
language was ideal for large scale projects. Later, when he was working
at AT&T Bell Labs, he again felt limited.

He dusted off his C with

Classes and added features of other languages. Simula had a strong


influence; AILGOL 68 played a role. Ultimately, a lot more that classes got
added: virtual functions, templates, and operator overloading. C++ has
grown far beyond a one man operation. The name actually came from
another developer, Rick Mascitti. It was partly a play on the name of the
++ operator and partly a reference to the enhancement; two pluses may
have been a bit of a joke. The language was first standardized in 1998.
Standards were again issued in 2003, 2007 and 2011. C++ is maintained
by the ISO, a large standards committee. The current version is C++11.
According to Stroustrup, the biggest improvement is in abstraction
mechanisms. Among the other goals of the most recent revision: to make
C++ a better language for embedded systems and to better support
novices. Development has been guided by certain ideals. C++ strives to
be a portable; there is an attempt to avoid reliance on features that are
platform-dependent.

CONCLUSION
I practice the use of the C++ software. I practice the use of the C++ software. I use
all structures in C++ programming.

You might also like