Archives for 

Introduction to c++

STRUCTURE OF C++ PROGRAM

  The following example illustrates the structure of C++ program: //hello.cpp (program name) // this program display the message ‘welcome to WHO’ #include<iostream.h> Void main() { Cout<<”welcome to WHO”; //message’ welcome to WHO’ is displayed } The components  of C++  program are: Comments: Comments are used for better understanding of the program statements. The comment […] Continue reading →

APPLICATION OF C++

  C++ is a versatile language for handling very large programs. It is suitable for virtually any programming task including development of editors, compilers, databases, communications systems any complex real life application system. Since C++ allows us to create hierarchy related objects, we can build special object-oriented libraries, which can be used later by many […] Continue reading →

OBJECT ORIENTED PROGRAMMING EVOLUTION

  Unstructured programming-> procedural programming->  modular programming-> object-oriented programming. Unstructured programming Usually, people start learning programming by writing small and simple programs consisting only of one main program. Here, main program stands for a sequence of commands or statements which modify data which is global throughout the whole program. In unstructured programming, the main program […] Continue reading →

EVOLUTION OF C++

  During the late 1970s and early 1980s, C became the dominant computer programming language, and it is still widely used today. Since C is a successful language the need for something else existed because of its complexity. C++ is a response to that need. Although C is the world’s great programming language, there is […] Continue reading →

INTRO TO C++

  The fundamental idea behind object-oriented languages is to combine both data and the function into a single unit. Such a unit is called an object. An object’s functions , called member functions in C++, typically provides the only way to access it data. If you want to read a data item in an object, […] Continue reading →