You are on page 1of 5

Jobsheet 5 Programming and

Database
Programming C++
1. Open Programming C++

2. Select new source file.

3. Write the program.

4. Run the project.

5. Save file.

6. Compilation Process.

7. Execute the program.

8. Insert the data.

9. Result.

Question/Discussion
1. How to
a) Compilation process.
Compiling single file...
-------- Filename: C:\Users\Pelajar\Desktop\jobsheet 5.cpp
- Compiler Name: TDM-GCC 4.8.1 64-bit Release
Processing C++ source file...
-------- C++ Compiler: %BinDir0%\g++.exe
- Command: g++.exe "C:\Users\Pelajar\Desktop\jobsheet 5.cpp" -o
"C:\Users\Pelajar\Desktop\jobsheet 5.exe"
-I"%CppIncludeDir0%"
-I"%CppIncludeDir1%" -L"%LibDir0%" -L"%LibDir1%" -static-libgcc
Compilation results...
-------- Errors: 0
- Warnings: 0
- Output Filename: C:\Users\Pelajar\Desktop\jobsheet 5.exe
- Output Size: 1.83259010314941 MiB
- Compilation Time: 0.81s

This is how the compilation process.

b) Execute the Program

Then, the result,

2. What is C++ Programming.


C++ is an object oriented programming (OOP) language, developed by Bjarne Stroustrup,
and is an extension of C language. It is therefore possible to code C++ in a "C style" or
"object-oriented style." In certain scenarios, it can be coded in either way and is thus an
effective example of a hybrid language.
C++ is a general purpose object oriented programming language. It is considered to be an
intermediate level language, as it encapsulates both high and low level language features.
Initially, the language was called 'C with classes as it had all properties of C language with
an additional concept of 'classes. However, it was renamed to C++ in 1983.
It is pronounced "C-Plus-Plus."

CONCLUSION
In conclusion, Ive learned how to make a c++ programming and also
know how to make it done.

You might also like