C++


C++

Lab Report C++ Programming 



1) 
How to :-
a.     Compilation process:-The program we write is according to the standards/syntax thatis specified for C. Only then the C Compilers can understandour programs. These standards are specified keeping in mind,how easy the developers can understand the programs. But thecomputer system can understand only 0s and 1s (which will bedifficult for the developers to deal with). It doesnt know what is"printf" and what is "scanf" unless it is converted to someotherform the computer can understand. This translation of oursource program to machine understandable object codes is doneby compilers.

b.     Execute  the program:-
The Execute Program module will execute a windows basedprogram and allow you to interact with it using the stdin andstdout pipes. This module allows you to command externalprograms whose source may not be accessible and does notprovide for any API means of communication.

2) 
What is C++ Programming   

    C++ is an "object oriented" programming language created by BjarneStroustrup and released in 1985. It
   implements "data abstraction"using a concept called "classes", along with other features to
   allowobject-oriented programming. Parts of the C++ program are easilyreusable and extensible; existing
    code is easily modifiable withoutactually having to change the code. C++ adds a concept called"operator
    overloading" not seen in the earlier OOP languages and itmakes the creation of libraries much cleaner.


No comments:

Post a Comment