Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Lab Report Lab Report 05 C++ Programming Question 1. How to a. Compilation process.

The program we write is according to the standards/syntax that is specified for C. Only then the C Compilers can understand our programs. These standards are specified keeping in mind, how easy the developers can understand the programs. But the computer system can understand only 0s and 1s (which will be difficult for the developers to deal with). It doesnt know what is "printf" and what is "scanf" unless it is converted to someother form the computer can understand. This translation of our source program to machine understandable object codes is done by compilers. b. Execute the program. The Execute Program module will execute a windows based program and allow you to interact with it using the stdin and stdout pipes. This module allows you to command external programs whose source may not be accessible and does not provide for any API means of communication. 2. What is C++ Programming C++ is an "object oriented" programming language created by Bjarne Stroustrup and released in 1985. It implements "data abstraction" using a concept called "classes", along with other features to allow object-oriented programming. Parts of the C++ program are easily reusable and extensible; existing code is easily modifiable without actually having to change the code. C++ adds a concept called "operator overloading" not seen in the earlier OOP languages and it makes the creation of libraries much cleaner.

You might also like