Lecture - 1 (Dit 1, Book C&C++)
Lecture - 1 (Dit 1, Book C&C++)
IT-I
C++ LANGUAGE:-
C++ is objected Oriented Programming language which the modern programing method. C provides a
comprehensive set of features for handling a wide variety of applications, such as systems development and
scientific computation. Borland and turbo C++ etc., text editors are used to write the program of c++. The program
is saved with the C++ extinction as abc.CPP which means C plus plus.
THE PREPROCESSOR DIRECTIVES: it contains header file which is also known as library. It contains system
define functions. If we want to use any function in program we must have to open the concern library in which it
has.
main () function: each and every program of C or C++ there must be main() functions, Because it is for the
compiler. The main function is the point by where all C programs start their execution. It has start and stop body
“{}”. which defines that from where the function will be started and where will be ended.
BODY OF THE MAIN FUNCTION S: it contains the actual statements for any program.
RESERVED WORD:-
A word which is predefined in a language for specific meaning is called reserved word. These are also called
keywords. These word give us special meanings in a language. The C++ language has also many reserved words like
int, void, cout and cin etc. all the key words are defined in lower case.