Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/learnwithfair/cpp-programming-documentation

cpp / c++ programming-documentation with [learnwithfair, Learn with fair, Rahatul Rabbi, Md Rahatul Rabbi ,rahatulrabbi]
https://github.com/learnwithfair/cpp-programming-documentation

c-plus-plus cpp documentation learn-with-fair learnwithfair rahatul-rabbi rahatulrabbi

Last synced: 21 days ago
JSON representation

cpp / c++ programming-documentation with [learnwithfair, Learn with fair, Rahatul Rabbi, Md Rahatul Rabbi ,rahatulrabbi]

Awesome Lists containing this project

README

        

# C++ PROGRAMMING

Thanks for visiting my GitHub account!!

![C++](https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS4jXDasN0g6GDBJ5FRko2n-kddDn9W69S8XZKzHf-3qSH7c3AY1QJLxy6l5-74YD8Qf4A&usqp=CAU)
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..

1. Contractor name & class name must be always the same. It can't return type or void.
2. Can not Initialize to the other class for Private variable. It can be possible only using the method of Friend Class.
3. Use Encapsulation or (Setvalue & Getvalue function) Declared Private variable Main function to the class.
4. 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.
5. Destractor and constractor are approximately the same but it only one difference this is using the ~ sign in the font side of the constractor.
6. Get String input in the C++ language use to getline() function.
7. when used to File in the C++ meddle level language then must be declared header file.
8. For Read from the File must use ifstream keyword.
9. For Write in the File must use ofstream keyword.
10. For apparend in the file use this method (ios::out|ios::app).
11. 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.
12. 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).
13. When using the showpoint,noshowpoint, fixed, and setprecision() library functions must include header file in C++ language.
14. Can't Copy Constructor to another class for polymorphism. It can be solved using this method-
```diff
subclass name(int dim1,int dim2)
:super class name(dim1,dim2)
{

}

```
15. Constant variable of class when don't directly initialize then use this method-
```diff
int variable1,variable2;
constructor/Function name(int variable name 1,int variable name 2)
:variable1(variable name 1),variable2(variable name 2)
{

}
```

### [Code-Example](https://github.com/learnwithfair/cpp-programming)

## Source Code (Download)

- [Click Here](https://mega.nz/folder/RGFiUApD#PoKIVCwF8IkQhE2PHw1XxQ)
- [Click Here](https://mega.nz/folder/xDcB1LbZ#8jSPnxD7OGILZAQdQRmVUQ)

## Required Software (Download)

Code::Blocks, Download(mingw-setup.exe, FossHUB)-> [Download](https://www.codeblocks.org/downloads/binaries/)

### Downloading Process

- Select codeblocks-20.03mingw-setup.exe
- Click on FossHUB

## Project Screenshot

| | |
| :-------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------: |
| Basic | Advance-1 |
| ![basic](https://github.com/learnwithfair/cpp-programming/blob/main/images/basic-c%2B%2B.jpg) | ![advance-1](https://github.com/learnwithfair/cpp-programming/blob/main/images/advance-1.jpg) |
| Advance-2 | Advance-3 |
| ![advance-2](https://github.com/learnwithfair/cpp-programming/blob/main/images/advance-2.jpg) | ![advance-3](https://github.com/learnwithfair/cpp-programming/blob/main/images/advance-3.jpg) |
| Advance-4 | Advance-5 |
| ![advance-4](https://github.com/learnwithfair/cpp-programming/blob/main/images/advance-4.jpg) | ![advance-5](https://github.com/learnwithfair/cpp-programming/blob/main/images/advance-5.jpg) |
| Advance-6 | Advance-7 |
| ![advance-6](https://github.com/learnwithfair/cpp-programming/blob/main/images/advance-6.jpg) | ![advance-7](https://github.com/learnwithfair/cpp-programming/blob/main/images/advance-7.jpg) |

```diff

::::::::::. .:. :: :: .:. ::::::::::::::
:: :: :: :: :: :: :: :: ::
:: :: :: :: :: :: :: :: ::
:::::::::. :: :: :: :: :: :: ::
:: :: ::::::::::: :::::::::::: ::::::::::: ::
:: :: :: :: :: :: :: :: ::
:: :: :: :: :: :: :: :: ::
:: :: :: :::: :: :: :: ::

```

## Follow Me

[Facebook](http://facebook.com/learnwithfair), [Youtube](http://youtube.com/@learnwithfair), [Instagram](http://instagram.com/learnwithfair)