Skip to main content

Posts

Application of C++, feature of C++ and 1st program in C++

In the last post, i discussed about Advantages, disadvantages of structured and object oriented programming and difference between them.Today i am going to discuss about:- 1. Application of C++ 2. Features of C++ 3. 1st program in C++   4. Structure of a C++ program And in the next post i will discuss about: 1. C++ character set. 2. Data types, Identifier, Variable, Constant and Keywords. 3. Types of Constant. 4.Rules for constructing integer constant. 5. Rule for constructing real constant. 6. Rule for constructing character constant. 7. Rules for constructing  variable name. Let's start: Application of C++:-   C++ is a versatile language for handling very large programs. It is suitable for virtually any programming task including development of editor, compilers, database, communication system and complex real-life application system. The following are some application of  C++; 1. C++ allow us to create  hierarchy related objec...

Advantage and disadvantages of Structure and object oriented programming

In my last post, i discussed about structured oriented programming, object oriented programming and language processors. Today i am going to discuss about :- 1. Advantages and Disadvantages of structured oriented programming. 2. Advantages and Disadvantages of object oriented programming. 3.Difference between them. And in the next post i will discuss about:- 1. 1st C++ program and explanation. 2. Structure of a C++ program. 3. Data types, Identifiers, Variable and Keywords. Let's start: Advantages of Structure oriented programming:- 1. It is easy to understand. 2. It is to test a program that is divided into modules(sub-problem) and sub-module(sub-sub-problem). 3. Modification is easier. 4. It results in speedy execution of the program. 5. Development of modules is easier. Disadvantages of Structured oriented programming:- 1. Modules occupy more space in the memory. 2.  Testing of every module is time consuming process. 3. Combination of modules becomes di...

Structured and Object oriented programming

In the last post, i was discuss about what is c++?, a brief history of C++. Now in this post, i am going to discuss about:- 1. what is structured oriented programming? 2.  what is object oriented programming? 3. what is language processor and what are the different types of language processor? And in the next post i will discus about :- 1. what is the advantages and disadvantages of modular(structure) programming? 2. Advantages and disadvantages of object oriented programming. 3. Difference between them Let's start:- Structured oriented programming:- In this approach of programming a problem at hand is divided into sub-problems.Then each sub-problem is further divided into sub-sub-problems and so on. This process is continues till we reach to a stage when each sub-problems can easily be handled. Thus a complex problem is broken into a series of steps. Each sub-problem or sub-division is known as a module .  A module  in itself can be a procedure ...

C++ language tutorial for beginner

                          C++ language tutorial for beginner Before i start the C++ tutorial for the beginner, one must have to know some technical terms.   Program :  Its a set of instruction that perform a specific task when executed by a computer. Programming :  It is a process of writing instruction for computer to perform a specific task. Programmer :  A programmer is a person who write instruction for computer in a specific programming language.                     Now, look at what is C++? C++ (pronounce as C plus plus) is a general purpose object-oriented programming language (OOP), developed by Bjarne Stroustrup, and is an extension of C language. Let's look at Brief history of C++ language:- The mastermind behind the inception and development of C++ programming language is Bjrane  Stroustrup. He d...