0% found this document useful (0 votes)
91 views6 pages

Programming and Database: Fundamental of C++

This document discusses the fundamentals of C++ programming and provides steps to create a simple program to calculate the sum of two integers. It also answers questions about the compilation and execution process.

Uploaded by

SyahirNordin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
91 views6 pages

Programming and Database: Fundamental of C++

This document discusses the fundamentals of C++ programming and provides steps to create a simple program to calculate the sum of two integers. It also answers questions about the compilation and execution process.

Uploaded by

SyahirNordin
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 6

PROGRAMMING AND DATABASE

Fundamental of C++
1. Open programming C++.












2. Select new source file.











3. Write this program.

/*This is a program that computer the sum of two integer number*/

#include < iostream.h>
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);
Return 0;

4. Run the project













5. Save the file under project 1.














6. Compilation process.









7. Execute the program.


8. Insert the data.


Question/Discussion
1. How to
a. Compilation process.
*after done write the program, select button execute.
*and then select compile & run.










b. Execute the program.
*for running the program you must select the execute button to run program.











2. What is C++ Programming.

C++ is a general purpose programming language. It has imperative, object-
oriented and generic programming features, while also providing the facilities for low level
memory manipulation.

You might also like