Print Table
#include<iostream.h> #include<conio.h> int main() { int i,n,r=0; cout<<"enter the value of table:"; cin>>n; cout<<"table is:"<<endl; for(i=1;i<=10;i++) { r=n*i;...
View ArticlePrint The Name
#include<iostream.h> #include<conio.h> int main() { char a[30]; cout<<"what is your name"<<endl; cin>>a; cout<<"well come:"<<a; getch(); return 0; }
View ArticleC++ Tokens
TOKENS A token is source-program text that the compiler does not break down into component elements The keywords, identifiers, constants, variables, and operators described in this section are...
View ArticleObject Oriented Programming Principals
MEANING DEFINITION POP(Procedure Oriented Programming) MAIN PROGRAM FUNCTION 1 FUNCTION 2 FUNCTION 3 FUNCTION 4 FUNCTION 5 FUNCTION 6 FUNCTION 7 FUNCTION 8 DRAWBACK OF POP CHARACTERISTICS...
View ArticleFunctions or methods
Subtopics - Functions Function Declaration Function Arguments Return Statements and values FUNCTIONS Functions are building blocks of the programs. They make the programs more modular and...
View ArticleOperator Overloading.
OUR TOPIC IS OPERATOR OVERLOADING AND TYPE CONVERSIONS ACTUALLY WHAT IS OPERATOR OVERLOADING Operator Task1 Task2 Task3 KEY CONCEPTS • Introduction • Defining operator overloading • Operator functions...
View ArticleInheritance
What Is Inheritance? The mechanism of deriving a new class from an old one is called inheritance or derivation. Definition of Inheritance: Inheritance is the mechanism which allows a class A to inherit...
View ArticleConstructor and destructor
Constructors What is the use of Constructor ? The main use of constructors is to initialize objects. The function of initialization is automatically carried out by the use of a special member...
View ArticleClasses and objects
TOPIC: Class And Object. CONCEPT: Definition of Class - Declaration of class - Definition of object - Relationship of class and object - Accessing a member function - Arrays and classes - Class and...
View ArticleBegnning with c++
CONTENTS - What is C++? - Applications of C++. - Simple Program Features. - Comments - Output Operator -Header Files - Return Type of main( ) - More C++ Statements - An example With Class - Structure...
View Article