Programming and Database: Fundamental of C++
Programming and Database: Fundamental of C++
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.