Sunteți pe pagina 1din 4

1.

OPEN DEV-C++ AS A START

2. SELECT NEW SOURCE FILE. IT WILL


APPEAR AS A BLANK PAGE

3. WRITE ALL THE PROGRAM


ACCORDING THE TEXT GIVEN
AND MAKE SURE YOU COPY
ALL OF THEM WITH NO
MISTAKE

4.SELECT RUN BUTTON TO THE PROJECT

5. SAVE THE PROJECT UNDER


PROJECT 1 TO MAKE SURE NO
MISSING DATA

6. SELECT COMPILE (F9) .COMPILATION PROCESS


WILL RUN TO CHECK THE PROGRAM

7.EXECUTE THE PROGRAM

8. INSERT DATA THE FIRST NUMBER


AND SECOND NUMBER

9.THE RESULTS

QUESTION / DISCUSSION

1. How to
a. Compilation Process
The C++ preprocessor copies the contents of the included header files into the source
code file, generates macro code, and replaces symbolic constants defined
using #define with their values.
The expanded source code file produced by the C++ preprocessor is compiled into the
assembly language for the platform.
The assembler code generated by the compiler is assembled into the object code for
the platform.
The object code file generated by the assembler is linked together with the object
code files for any library functions used to produce an executable file

b. Execute the program


Execute program is a program that end with .exe

2. What is C++ Programming


C++ is a high-level programming language developed by Bjarne Stroustrup at
Bell Labs. C++ adds object-oriented features to its predecessor, C. C++ is one of
the most popular programming language for graphical applications, such as
those that run in Windows and Macintosh environments.

CONCLUSION
C++ provide a program to allow some program to execute very well
according to some of the program to run very well

S-ar putea să vă placă și