You are on page 1of 4

QUESTION/DISCUSSION

1. How to
a. Compilation process
I.
First open programming C++
II.

ii. then, Select new source file.

III.

Next, Write this program.


/*This is a program that computes the sum of two integer number */
#include <iostream.h>
Using namespace std;
Main ()
{
int X,Y, sum;
cout<<\nEnter first number : ;
cin>> X ;
cout<<\nEnter second number : ;
cin>> Y;
sum = X+Y;
cout << \nsum =<< sum;
system (PAUSE);

IV.

After that, run the project.

V.

And save the file.

VI.

compilation process.

b. Execute the program.

VII . Execute the program

VIII . Insert the data.

X. Result.

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.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
exisiting 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
language. Simula had a strong influence; allgol 68 played a role. Ultimately, a lot more than
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 enchancement;
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 bynthe 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.
CONCLUSION
I learn how to use c++ programming. And I learn the story c++ programming.

You might also like