by Dinesh Thakur Category: Object-oriented programming (OOP)

A C++ program can be developed from a basic structure. The general structure of C++ program with classes is as shown below (which is also called overview of a C++ program):

 
by Dinesh Thakur Category: Object-oriented programming (OOP)

A variable is an identifier that refers to the data item stored at a particular memory location. This data item can be accessed in the program simply by using the variable name. The value of a variable can be changed by assigning different values to it at various places in a program.

 
by Dinesh Thakur Category: Object-oriented programming (OOP)

Constants refer to fixed values that the program may not alter. Constants can be of any of the basic data types. The way each constant is represented depends upon its type. Constants are also called literals.



 
by Dinesh Thakur Category: Object-oriented programming (OOP)

Every word in C++ language is a keyword or an identifier. Keywords in C++ language cannot be used as a variable name. They are specifically used by the compiler for its own purpose and they serve as building blocks of a C++ program. C++ language has some reserve words which are called keywords of C++ language. These are the part of the C++ Tokens.

 
by Dinesh Thakur Category: Object-oriented programming (OOP)

Character set is the combination of English language (Alphabets and White spaces) and math's symbols (Digits and Special symbols). Character Set means that the characters and symbols that a C++ Program can understand and accept. These are grouped to form the commands, expressions, words, c-statements and other tokens for C++ Language.

 
by Dinesh Thakur Category: Object-oriented programming (OOP)

A Program is a set of Instructions and a Programmer is that who develops the program .For creating a program a programmer must use a language called as the programming language So generally a programming language is used for creating the software’s.

 
by Dinesh Thakur Category: Object-oriented programming (OOP)

As we know that the Language which is used by a Algorithms is not Specific , means there is no Language which is used by a Algorithm .

 
by Dinesh Thakur Category: Object-oriented programming (OOP)

As we know that Software is a Program. And a Program is that which Contains set of instructions, and an Instruction contains Some Tokens. So Tokens are used for Writing the Programs the various Types of Tokens those are contained by the Programs.

 
by Dinesh Thakur Category: Object-oriented programming (OOP)

There are many different types of Constants variables and Keywords in c++ Language. There are basically four types of Instructions in C++.

 
by Dinesh Thakur Category: Object-oriented programming (OOP)

We know that a computer can understand only Machine Language But the Program Written by a user is in the Form of English Language So it very necessary to convert the human Language into the Machine Language. So for this purpose we use Compiler which Converts human code into the machine code.



 
by Dinesh Thakur Category: Object-oriented programming (OOP)

We know that a Compiler compiles the whole program at a time means that it converts the whole program in single time and then gives us the errors But a interpreter is that which converts the human language into the machine language line by line and displays the errors after checking a single line.

 
by Dinesh Thakur Category: Object-oriented programming (OOP)

Type Conversion is that which converts to data type into another for example converting a int into float converting a float into double The Type Conversion is that which automatically converts the one data type into another but remember we can store a large data type into the other for example we can't store a float into int because a float is greater than int.



 
by Dinesh Thakur Category: Object-oriented programming (OOP)

Preprocessors are the Source of our Program those are Executed whey they are passing to Compiler and Preprocessors are always executed at the Time of Compilations. Preprocessors provide many features called Preprocessor directives and Each Preprocessor is declared with # symbol and This Directive must be written before a main program.

 
by Dinesh Thakur Category: Object-oriented programming (OOP)

The typedef (meaning type definition) command allows the programmer to define a new name for a particular type.

 
by Dinesh Thakur Category: Object-oriented programming (OOP)

The Memory is allocated in two ways either in Static and either in Dynamic. In Static Memory Allocation the Size of Memory may be Fixed and pre-defined but the Limitation of Static Memory is that when a user Stores Large Amount of data or Large Number of Elements are Increased instead the Declarable size of Numbers So The Concept of Dynamic Memory Allocation is used When we doesn’t know about the actual size or when we doesn’t known about the Number of elements For this purpose we uses Dynamic Memory Allocation.

 
by Dinesh Thakur Category: Object-oriented programming (OOP)

A Language is called as OOP  Language if a Language Provides us the Following Concepts Are Five Concepts in OOP’s:-

 

Page 4 of 4



About Dinesh Thakur

Dinesh ThakurDinesh Thakur holds an B.SC (Computer Science), MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular blog. Where he writes how-to guides around Computer fundamental , computer software, Computer programming, and web apps. For any type of query or something that you think is missing, please feel free to Contact us.



Related Articles