Thanks for visiting my GitHub account!!
is a popular programming language. It is used to create computer programs and is one of the most used languages in game development.
See More..
-
Contractor name & class name must be always the same. It can't return type or void.
-
Can not Initialize to the other class for Private variable. It can be possible only using the method of Friend Class.
-
Use Encapsulation or (Setvalue & Getvalue function) Declared Private variable Main function to the class.
-
There are two kinds of Polymorphism, These - (i) Overlodding (ii) Overriding
- Overloading means it works in only one class. It is Function name must be the same but the permitted list is always different.
- Overriding means It works in more than one class. It is the Function name and the parameter list must be always the same.
-
Destractor and constractor are approximately the same but it only one difference this is using the ~ sign in the font side of the constractor.
-
Get String input in the C++ language use to getline() function.
-
when used to File in the C++ meddle level language then must be declared header file.
-
For Read from the File must use ifstream keyword.
-
For Write in the File must use ofstream keyword.
-
For apparend in the file use this method (ios::out|ios::app).
-
There are five kinds of Inheritance these-
- Single Inheritance. Ex-one supper class and one subclass.
- Multilevel Inheritance. Ex-supper class to sup class to new supper to new subclass.
- Hierarchical Inheritance. Ex-One Supper class and more than one Subclass.
- Multiple Inheritance. More than one Supper class and only one sub-class.
- Hybrite Inheritance. Ex-Mixed more than one Inheritance.
-
The abstrator class or pure class must use this method (public: void 'function name'()=0). This class can't be declared object must use a pointer (*p).
-
When using the showpoint,noshowpoint, fixed, and setprecision() library functions must include header file in C++ language.
-
Can't Copy Constructor to another class for polymorphism. It can be solved using this method-
subclass name(int dim1,int dim2)
:super class name(dim1,dim2)
{
}
- Constant variable of class when don't directly initialize then use this method-
int variable1,variable2;
constructor/Function name(int variable name 1,int variable name 2)
:variable1(variable name 1),variable2(variable name 2)
{
}
Code Blocks-> Download
- Select codeblocks-20.03mingw-setup.exe
- Click on FossHUB
Basic | Advance-1 |
Advance-2 | Advance-3 |
Advance-4 | Advance-5 |
Advance-6 | Advance-7 |
::::::::::. .:. :: :: .:. ::::::::::::::
:: :: :: :: :: :: :: :: ::
:: :: :: :: :: :: :: :: ::
:::::::::. :: :: :: :: :: :: ::
:: :: ::::::::::: :::::::::::: ::::::::::: ::
:: :: :: :: :: :: :: :: ::
:: :: :: :: :: :: :: :: ::
:: :: :: :::: :: :: :: ::