Compare commits
2 Commits
e715879f43
...
master
Author | SHA1 | Date | |
---|---|---|---|
48eec85893 | |||
0c48596130 |
@ -2,18 +2,25 @@
|
|||||||
|
|
||||||
2.Clearly declare "private" inside of class. For example:
|
2.Clearly declare "private" inside of class. For example:
|
||||||
|
|
||||||
use class item{
|
use
|
||||||
|
```c++
|
||||||
|
class item{
|
||||||
private:
|
private:
|
||||||
int price;
|
int price;
|
||||||
public:
|
public:
|
||||||
getPrice();
|
getPrice();
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|
||||||
instead of class item{
|
instead of class
|
||||||
int price
|
|
||||||
|
```c++
|
||||||
|
class item{
|
||||||
|
int price;
|
||||||
public:
|
public:
|
||||||
getprice();
|
getPrice();
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
3.Declare inheritance type(public, private, protected) when using inheritance.
|
3.Declare inheritance type(public, private, protected) when using inheritance.
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
# Shoppe-Manne
|
# Shoppe-Manne
|
||||||
|
|
||||||
Basic shop management system written in
|
Basic shop management system written in c++
|
9711
headers/3rd-party/sqlite_orm.h
vendored
Normal file
9711
headers/3rd-party/sqlite_orm.h
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user