Showing posts with label INTRODUCTIONS. Show all posts
Showing posts with label INTRODUCTIONS. Show all posts

ENTIRE HISTORY OF C++

"C Plus plus" language is an extension of "C" language means "C plus plus" is superset of "C".
"C Plus plus" includes the concept of "c" language as well as some additional concepts which "C" language not contained.
"C plus plus" language is represented by "C++".
"C++" means Increment in "C" language.
"C++" is developed by Bjarne Stroustrup at AT and T BELLS laboratory in USA in earlys 1980.
Initially "C plus plus" name is "C WITH CLASSES" and this name is changed in 1983 and new name given to "c plus plus" is "c++" which is used till date.
It has more wide applications then "c" language.
"C++" is combination of two languages i.e 'Simula 67' and 'C' .

IMPORTANT OPERATIONS PERFORMED ON STACK








HOW INSERTION AND DELETION TAKE PLACE IN STACK:-

=>FOR INSERTION
 first of all increment take place in TOP and then item insert.

*IN TERMS OF ALGO
TOP=TOP+1
STACK[TOP]=ITEM

=>FOR DELETION
First of all delete item and then decrement in TOP

*IN TERMS OF ALGO
STACK[TOP]=ITEM
TOP=TOP-1.

APPLICATION OF STACK:-