0% found this document useful (0 votes)
1K views

Lab Report C++

C++ is an object-oriented programming language created in 1985 that builds upon C by adding object-oriented programming features like classes and data abstraction. The compilation process translates a C++ source program into machine-readable object code using compilers so that the computer understands instructions like printf and scanf. When executed, the program allows interaction through standard input/output and runs without accessing source code for external programs called within it.

Uploaded by

EyQa PeYrak
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views

Lab Report C++

C++ is an object-oriented programming language created in 1985 that builds upon C by adding object-oriented programming features like classes and data abstraction. The compilation process translates a C++ source program into machine-readable object code using compilers so that the computer understands instructions like printf and scanf. When executed, the program allows interaction through standard input/output and runs without accessing source code for external programs called within it.

Uploaded by

EyQa PeYrak
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 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