CHARACTERISTICS OF C + +

                        C+ + is an object oriented programming language with a huge library of functions. It is very popular among programmers due to its multiple features. 1.C ++ is ideally suited for development of reusable software. This helps...

General OOP concepts

General OOP concepts With the rapidly changing world and the highly competitive and versatile nature of industry, the operations are becoming more and more complex. In the view of the increasing complexity of software systems, the software...

Constructors Vs. Destructors

CONSTRUCTORS VS. DESTRUCTORS   Constructors and Destructors are a very important concept of C++ language. C++ is an OOP or Object Oriented Programming Language and it provides special member functions called Constructors used to automatically...

passing strings to funcation in c pro.

the strings are treated as charactor arrays in c and therefore the rules for passing string to functions are very similar to those for passing arrays to funcations. basic rules are: 1>> the string to be passed must beclared as a formal argument...

Binary Tree programing.

A binary tree is a special case of tree, in which no node of a tree can have a degree of more than 2. Therefore, a binary tree is a set of zero or more nodes T such that: 1. there is a specially designated node called the root of the...

Graph Continues..

  This is the second part of article names GRAPH. Click on graph and read that article first. Graph TraversalsA graph traversal means visiting all the nodes of the graph. There are two main graph traversal methods:1.    Breadth First Search2.   ...

Graphs

  IntroductionIn this article we will discuss another important non-linear data structure – Graph. Graphs are used to represent relationship between pairs of elements, which are not necessarily hierarchical in nature. In this article we will study...

OBJECT ORIENTED PROGRAMMING

In this article I am sharing the basic concepts of Object Oriented Programming (OOP): Objects and Classes, Inheritance and Polymorphism. This article will also discuss the need of OOPs. After this we will see the importance of OOPs over Structured...

scope resolution operator

q. WAP to implement the use of scope resolution operator #include #include int number=100; int main() {clrscr(); coute block\n"; int number=555; couter; } coutin"; cout"numberumber="; getch(); return 0; } output of the program: in main inside...

algorithm of diffrent c++ programe

ALGORITHM OF DIFFERENT C++ PROGRAMMES (1)Algorithm to implement a class template Sol: 1. create a template class 2. then create a class c Private section:- A array a[5]specification with anomous type T Public section:- (a) A member function...

STRUCTURE

STRUCTUIRE A structure ia a collection of heterogeneous variable referenced under one name. The keyword struct tell the compiler that a structure is being defined. General syntax: Struct tag { Type variable name1; Type variable name2; : : :...

C File Processing

Why Use a Disk? If you've worked with computers very much, and if you've done some programming in other languages, you know the importance of file storagefor data. The typical computer system has much less memory storage than hard disk storage....

Stacks

  Introduction In this article we will discuss one of the most useful linear data structure – Stack as well as its implementation in C language and C++ languages. Firstly we will implement the algorithms used in stacks in C language and then...

Control Structures In C++

  Control Structures Normally the statements in a program, are executed sequentially one by one. This is known as the normal flow of control. One of the keys to designing intelligent programs is to make them able to make decisions, such as...

Constructors and Destructors in C++

Constructor and Destructor is very important basic concepts of C++. Whenever we create an object, there are two special types of functions that would be created automatically if we have not written them in the program. They are known as Constructor...

The Components of a C program

The Preprocessor directives A preprocessor is a program that processes a source file before the main compilation takes place. The C language handles directives whose names begin with a number sign #. We don’t need to do anything special to invoke...

Concepts of Dynamic Memory Allocation

In this article you will learn about dynamic memory allocation. Dynamic memory allocation is made using dynamic variables. The variables that we have created so far are static variables. Static variables are created during compile time. On the...

Virtual Functions

  In this article I am going to write about virtual function – another type of polymorphism. Polymorphism is another essential feature of an Object – Oriented Programming language. It is the polymorphism that enables us to deal with different...

Object Oriented

    A Object Oriented Intro Every Software Engineer is familiar with programming. Already  you   know,  programming  is  just automating a  system. Obviously, by automation we mean instead of carrying out tasks of a  system  manually,  we  write...

Trees In Data Structure - Continues

Reconstruction of a Binary Tree from its Inorder and Preorder Traversal It is for you kind information that the inorder traversal of two or more different binary tree may produce the same sequence of nodes. Similarly preorder or postorder...

Powered by CjBlog