Hello guys let's Start C ++
**************************
Practical --
comming soon
**************************
Theory --
What is a C++
C++ is a object oriented programming langauge
There are basicaly two type of langauge --
OOP
POP
BASIC CONCEPTS OF OOP
Object
Classes
Data Abstraction
Encapsulation
Inheritance
Polymorphism
Over loading
Data Binding
Message Passing
---------------------------------------------------
C ++ provides Six types Operators --
- Arithmetical operators,
- Relational operators,
- Logical operators,
- Unary operators,
- Assignment operators,
- Conditional operators,
- Comma operator
------------------------------------
Variable -- A variable is name given to the memory location
Escape Sequence -- The Backslash is called ( \ ) an Escape Sequence
The Escape Sequence means \n Newline
Data Type in C++
Variable -- A variable is name given to the memory location
Escape Sequence -- The Backslash is called ( \ ) an Escape Sequence
The Escape Sequence means \n Newline
Data Type in C++
- Primary Data type
- Derived Data type
- User Defined Data type
----------------------------
Structure -- A structure is a collection of elements having different data types. Syntax -- Struct <tag_name> { data type member-1; data type member-2; …………….. …………….. }; Struct <tag name > variable; ----------------------------- Class -- C++ permits us to define another user-defined data type known as class. Syntax -- Class <class name> { // data members // member functions } |
No comments:
Post a Comment