Posts

Data Types in C++ Technical Elite

Image
 Data Types in C++  Data Types                             The data types defines a set of values and set of operation   on those values . The computer manipulates various types of data. The data is given to the program as input . It is processed according to the program instruction and output is returned. The data and its types are defined before designing the actual program to process the data. The type of each data value is identified at the beginning of program design                                               A C++ program may need to process different types of data . Each data type required different amount of memory. C++ provide the following data types int float double char Integer Data type ...

Basics Structure of C++ Technical Elite

Image
Basics structure of C++ program  The formats of writing program in C++ is called its structure. the basics structure of C++ program is very flexible .A program in C++ consists of the following parts  Preprocessor directive  Main() function  Program body Preprocessor directive                                                      preprocessor directive are instruction given to the preprocessor. The preprocessor directives are processed by a program known as preprocessor. It is part of C++ compiler .It modifies C++ source program before compilation. The semicolon is not used at the end of preprocessor directives .The preprocessor directives start with hash symbol # These directives are written at the start of program  Header file           ...