fixed dev guidelines
This commit is contained in:
		@@ -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.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user