Categories
: C & C++ (103)
Articles [C & 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
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 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...
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...
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...
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...
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. ...
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...
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...
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; : : :...
Powered by CjBlog