You are here:   HomeC++ Programming
by Dinesh Thakur Category: Object-oriented programming (OOP)

#define directive helps in creating constants which have no type information. This sets up an equivalence between an identifier and a text phrase. The syntax is #define v1 3.2



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

(OOPL) A programming language specifically designed to support the writing of OBJECT-ORIENTED programs. Such languages typically support three features not found in traditional programming languages: CLASSES, ENCAPSULATION and INHERITANCE, though the actual constructs that embody these features may have different names in different languages. The first such OOPL to be invented was SIMULA, and the most widely used OOPL today is C++, which is a derivative of the C language with added object-oriented features. Other important OOPLs include JAVA, OBJECT PASCAL, EIFFEL, and the historically important SMALLTALK.

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

C++ supports comment format which is indicated by a II sign before the comment. In this case, the comment can proceed only till the end of current line. In case it is required to extend the comment beyond the current line, the comments should be preceded by the II symbol on subsequent lines also.

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

OOP stands for object-oriented programming, a relatively recent development in programming technology. In traditional computer programs, the procedures (the programming commands) that get things done are separated from the data they work on. By contrast, object -oriented programs are put together from building blocks called objects; each of these self-contained software modules includes all the commands and data needed to do a given set of tasks when it receives the right "messages." Because it is "encapsulated" in this way, an object can be reused as a unit in as many programs as needed. By design, OOP makes it easy to generate new objects that automatically "inherit" the capabilities of existing objects. The programmer can then modify a function or two or add some new ones, but she doesn't have to start from scratch.



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

Any computer program built by combining many self-contained software structures called OBJECTS, instead of writing a single long list of instructions. Objects have both properties and behaviour, which makes them powerful tools for modelling events and processes in the real world. Each object possesses its own private data describing its properties (e.g. 'size', 'colour') and also a collection of private subprograms, called METHODS (e.g. 'print', 'display', 'move') for manipulating that data. The set of methods that an object understands is called its INTERFACE, and is the only means by which one object is allowed to interact with other.



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

Application Programming Interface (API): A standardized interface via which an application program can access services provided by the operating system or other subsystems. An API is usually defined by source code in a high level programming language such as C or C++, and consists of a set of functions each of which invokes a particular service; programmers then call these functions from their own programs.



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

The creation of programs to be executed by more than one processor at the same time. Parallel programming is more difficult than ordinary SEQUENTIAL programming because of the added problem of synchronization. A sequential program has only a single FLOW OF CONTROL and runs until it stops, whereas a parallel program spawns many CONCURRENT processes and the order in which they complete affects the overall result.

 
by Dinesh Thakur Category: Operator

An operator is a symbol which helps the user to command the computer to do a certain mathematical or logical manipulations. Operators are used in C++ language program to operate on data and variables. C++ has a rich set of operators which can be classified as



 
by Dinesh Thakur Category: Operator

While We are Executing an Arithmetic Statement Which was too Large and it Contains So Many Operators then the problem is how the Statements will be Executed and in what order means.

 


About Dinesh Thakur

Dinesh ThakurDinesh Thakur holds an B.SC (Computer Science), MCSE, MCDBA, CCNA, CCNP, A+, SCJP certifications. Dinesh authors the hugely popular Computer Notes 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.



What's New and Popular