Creating, Compiling, Linking and Executing of a C Programs In this article firstly you can read how to invoke Turbo C, how to name programs, how to compile programs, how to link programs and finally how to execute programs. Invoking Turbo...

  Object Oriented Programming Classes & Objects   Introduction In the world, if we see around ourselves, we always find things sharing common property(ies), on the basis of which they can be grouped together and can be put into one set, like,...

Introduction About my this article, in this you all can get knowledge about preprocessor directives and pragmas. The preprocessor directives are used to help the programmer to make his/her program readable as well as meaningful. It is not...

C++ : Get Knowedge Here

    LINKING BETWEEN C AND C++ Suppose we have a library of functions that have been compiled into object code and stored in the library code form. When we call a function from such a library in our program, the compiler with mark the name of the...

KNOW ABOUT DATA TYPES -> ABSTRACT

  DATA TYPES -> ABSTRACT Introduction Object-oriented Analysis and Design is a new way of approaching the solutions to problems related to the programming world. This concept is an evolutionary concept and offers a refreshing change from the...

LET SEE SOMETHING ABOUT PROGRAMMING - CONTINUES

  SOMETHING ABOUT PROGRAMMING   What is ‘C’? As a programming language, C is rather like Pascal or Fortran. Like these programming languages, C uses variables to store values, constructs, structured programs by defining and calling...

LET SEE SOMETHING ABOUT PROGRAMMING

  SOMETHING ABOUT PROGRAMMING Introduction Today almost everybody knows what a computer system is. The reason behind this is that we have come in contact with computers in all areas of our daily lives, such as paying our electricity bills,...

Continue with loop,functions and variables

...Continued with for loop. Another kind of loop in C++ is the for loop. The for loop is primarily used to repeat a statement or a block for a prescribed number of iterations means when we know how many times we want to execute the statements...

Programming TUT

If...else can also be nested inside other if...else constructs.like we can put an if...else conditional construct inside another if...else also for further checking a different condition.here's an example to check largest of 3 numbers./* Header...

All about Operators

Comparison Operators:------------------------------As the name suggests comparison operators are used to compare two expressions, values or variables. Note, Comparison Operators returns their result in either true or false.These are the...

Operators

Suppose we have written a methodint printhello(){cout

Binary Trees Traversals

Binary Trees Traversals   Traversal of a binary tree is one of the most important operations required to be done on a binary tree. Traversing of a binary tree is a process of visiting every node in the tree exactly once. Thus it is necessary to...

Trees in data Structure - Binary Tree

  BINARY TREE Binary tree is a set of finite nodes which is either empty or consists of one or more nodes in which each node has at most two disjoint binary subtrees called left subtree or right subtree respectively. Thus we can say that there...

Data Types

Concept of a Data Type Data items are the physical symbols that represent information in the computer system. A computer program operates on data and produces an output. In a computer programming language (high-level programming language) each...

Data Structures, C and C++

Data Structures, C and C++ One especially important consideration is the choice of an algorithm description language. This choice actually depends on several factors, such as programmer background, programmer’s ability to express his views,...

Handling Of Data Structures

Introduction A data structure is the logical or mathematical model of a particular organization of data. Thus a data structure is defined by(i)    organizing data in a specific way(ii)    defining a set of operations performed on the data that...

Some Knowledge For An Programmer

Introduction As a programmer you will develop solutions to problems, solutions that transform given data (input) into required results (output). Generally this data is placed in secondary memory. Since the processor can only process the data that...

Structures

Structures The secondary data type, which associates with a set of similar data types, is array data type. We have already discussed array of ints, array of floats or array of char’s etc.  These set represent the characteristics of samedata type....

Swapping Two numbers without third variable

The following program to swap Two numbers without using temp variableint main(){int a=10,b=20;printf("before swapping a=%d...b=%d",a,b);a=a+b;b=a-b;a=a-b;printf("after swapping a=%d...b=%d",a,b);return 0;}

Interesting C++ Program With Explanation

Interesting C++ Program With Explanation Program No.1 Raising a number n to a power p is the same as multiplying n by itself p times.Write a function called power ( ) that takes a double value for n and an int value for p, and returns the result...

Powered by CjBlog