Articles [C & C++]

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...

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....

  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...

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...

  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...

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...

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...

  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...

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...

    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...

Powered by CjBlog