Started Development Guidelines base

This commit is contained in:
Shaquille Soekhlal 2019-05-20 20:23:26 -03:00
parent b0328eae01
commit cc54ce8ff2
2 changed files with 25 additions and 2 deletions

23
Development Guidelines.md Normal file
View File

@ -0,0 +1,23 @@
1.No "using namespace std;"
2.Clearly declare "private" inside of class. For example:
use class item{
private:
int price;
public:
getPrice();
}
instead of class item{
int price
public:
getprice();
}
3.Declare inheritance type(public, private, protected) when using inheritance.
4.If not finished with code, add a TODO as comments.
5.Add comments to explain what you want to do.

View File

@ -1,10 +1,10 @@
#include<iostream> #include<iostream>
class item{ class item{
private:
public: public:
private:
}; };
int main(){ int main(){