From cc54ce8ff2f740e748c8131ed98c3bcc422c95a6 Mon Sep 17 00:00:00 2001 From: Shaquille Soekhlal Date: Mon, 20 May 2019 20:23:26 -0300 Subject: [PATCH] Started Development Guidelines base --- Development Guidelines.md | 23 +++++++++++++++++++++++ main.cpp | 4 ++-- 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 Development Guidelines.md diff --git a/Development Guidelines.md b/Development Guidelines.md new file mode 100644 index 0000000..509a111 --- /dev/null +++ b/Development Guidelines.md @@ -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. \ No newline at end of file diff --git a/main.cpp b/main.cpp index 3a1b619..e8f50cf 100644 --- a/main.cpp +++ b/main.cpp @@ -1,9 +1,9 @@ #include class item{ - private: - public: + + private: };