{"action":"created","comment":{"url":"https://api.github.com/repos/mantidproject/newstarter/pulls/comments/193423687","pull_request_review_id":126389243,"id":193423687,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MzQyMzY4Nw==","diff_hunk":"@@ -0,0 +1,298 @@\n+// Imports\n+#include <vector>\n+#include <iostream>\n+#include <string>\n+#include <math.h>\n+#include <string.h>\n+#include <algorithm>\n+\n+// Namespace to use\n+using namespace std;\n+\n+\n+/**\n+ *  Base class\n+**/\n+class Shape {\n+\n+    // Instance variables\n+    private:\n+        string shape_type;\n+        unsigned int num_sides;\n+\n+    // Methods\n+    public:\n+\t\tShape(const string &type, int sides) {\n+\t\t\tshape_type = type;\n+\t\t\tnum_sides = sides;\n+\t\t}\n+\n+        // Methods to be overridden\n+        virtual double perimeter() = 0;\n+        virtual double area() = 0;\n+\n+        // Methods for info\n+        void print_type() const {\n+            cout << \"Shape type is: \" << get_shape_type() << endl;\n+        }\n+\n+        virtual void print_num_sides() const {\n+            cout << \"Number of sides is: \" << get_num_sides() << endl;\n+        }\n+\n+\t\t// Getters\n+\t\tstring get_shape_type() const {","path":"exercises/bhuvan_bezawada/ex02_oo_basics/src/main.cpp","position":44,"original_position":44,"commit_id":"41126d11f4281c01e067c7a7b9277d23a97640fc","original_commit_id":"41126d11f4281c01e067c7a7b9277d23a97640fc","user":{"login":"LamarMoore","id":15360272,"node_id":"MDQ6VXNlcjE1MzYwMjcy","avatar_url":"https://avatars1.githubusercontent.com/u/15360272?v=4","gravatar_id":"","url":"https://api.github.com/users/LamarMoore","html_url":"https://github.com/LamarMoore","followers_url":"https://api.github.com/users/LamarMoore/followers","following_url":"https://api.github.com/users/LamarMoore/following{/other_user}","gists_url":"https://api.github.com/users/LamarMoore/gists{/gist_id}","starred_url":"https://api.github.com/users/LamarMoore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LamarMoore/subscriptions","organizations_url":"https://api.github.com/users/LamarMoore/orgs","repos_url":"https://api.github.com/users/LamarMoore/repos","events_url":"https://api.github.com/users/LamarMoore/events{/privacy}","received_events_url":"https://api.github.com/users/LamarMoore/received_events","type":"User","site_admin":false},"body":"indentation. Review all your code and make sure your indentation is correct.","created_at":"2018-06-06T14:09:44Z","updated_at":"2018-06-06T14:14:32Z","html_url":"https://github.com/mantidproject/newstarter/pull/33#discussion_r193423687","pull_request_url":"https://api.github.com/repos/mantidproject/newstarter/pulls/33","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/mantidproject/newstarter/pulls/comments/193423687"},"html":{"href":"https://github.com/mantidproject/newstarter/pull/33#discussion_r193423687"},"pull_request":{"href":"https://api.github.com/repos/mantidproject/newstarter/pulls/33"}}},"pull_request":{"url":"https://api.github.com/repos/mantidproject/newstarter/pulls/33","id":192947161,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyOTQ3MTYx","html_url":"https://github.com/mantidproject/newstarter/pull/33","diff_url":"https://github.com/mantidproject/newstarter/pull/33.diff","patch_url":"https://github.com/mantidproject/newstarter/pull/33.patch","issue_url":"https://api.github.com/repos/mantidproject/newstarter/issues/33","number":33,"state":"open","locked":false,"title":"PR for C++ training exercises","user":{"login":"BhuvanBezawada","id":23001942,"node_id":"MDQ6VXNlcjIzMDAxOTQy","avatar_url":"https://avatars1.githubusercontent.com/u/23001942?v=4","gravatar_id":"","url":"https://api.github.com/users/BhuvanBezawada","html_url":"https://github.com/BhuvanBezawada","followers_url":"https://api.github.com/users/BhuvanBezawada/followers","following_url":"https://api.github.com/users/BhuvanBezawada/following{/other_user}","gists_url":"https://api.github.com/users/BhuvanBezawada/gists{/gist_id}","starred_url":"https://api.github.com/users/BhuvanBezawada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BhuvanBezawada/subscriptions","organizations_url":"https://api.github.com/users/BhuvanBezawada/orgs","repos_url":"https://api.github.com/users/BhuvanBezawada/repos","events_url":"https://api.github.com/users/BhuvanBezawada/events{/privacy}","received_events_url":"https://api.github.com/users/BhuvanBezawada/received_events","type":"User","site_admin":false},"body":"**Report to:** @LamarMoore \r\n\r\n**PR Details:**\r\nFinished both the training exercises and submitting the PR as part of training.","created_at":"2018-06-06T09:08:39Z","updated_at":"2018-06-06T14:14:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"364433a32e864724399e9a0294624b9768df34fa","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mantidproject/newstarter/pulls/33/commits","review_comments_url":"https://api.github.com/repos/mantidproject/newstarter/pulls/33/comments","review_comment_url":"https://api.github.com/repos/mantidproject/newstarter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mantidproject/newstarter/issues/33/comments","statuses_url":"https://api.github.com/repos/mantidproject/newstarter/statuses/41126d11f4281c01e067c7a7b9277d23a97640fc","head":{"label":"mantidproject:bhuvan_bezawada_exercises","ref":"bhuvan_bezawada_exercises","sha":"41126d11f4281c01e067c7a7b9277d23a97640fc","user":{"login":"mantidproject","id":671496,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY3MTQ5Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/671496?v=4","gravatar_id":"","url":"https://api.github.com/users/mantidproject","html_url":"https://github.com/mantidproject","followers_url":"https://api.github.com/users/mantidproject/followers","following_url":"https://api.github.com/users/mantidproject/following{/other_user}","gists_url":"https://api.github.com/users/mantidproject/gists{/gist_id}","starred_url":"https://api.github.com/users/mantidproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mantidproject/subscriptions","organizations_url":"https://api.github.com/users/mantidproject/orgs","repos_url":"https://api.github.com/users/mantidproject/repos","events_url":"https://api.github.com/users/mantidproject/events{/privacy}","received_events_url":"https://api.github.com/users/mantidproject/received_events","type":"Organization","site_admin":false},"repo":{"id":21561731,"node_id":"MDEwOlJlcG9zaXRvcnkyMTU2MTczMQ==","name":"newstarter","full_name":"mantidproject/newstarter","owner":{"login":"mantidproject","id":671496,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY3MTQ5Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/671496?v=4","gravatar_id":"","url":"https://api.github.com/users/mantidproject","html_url":"https://github.com/mantidproject","followers_url":"https://api.github.com/users/mantidproject/followers","following_url":"https://api.github.com/users/mantidproject/following{/other_user}","gists_url":"https://api.github.com/users/mantidproject/gists{/gist_id}","starred_url":"https://api.github.com/users/mantidproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mantidproject/subscriptions","organizations_url":"https://api.github.com/users/mantidproject/orgs","repos_url":"https://api.github.com/users/mantidproject/repos","events_url":"https://api.github.com/users/mantidproject/events{/privacy}","received_events_url":"https://api.github.com/users/mantidproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mantidproject/newstarter","description":"A repository to support new starters as they work through the introductory development exercise at http://www.mantidproject.org/New_Starter_C++_introduction","fork":false,"url":"https://api.github.com/repos/mantidproject/newstarter","forks_url":"https://api.github.com/repos/mantidproject/newstarter/forks","keys_url":"https://api.github.com/repos/mantidproject/newstarter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mantidproject/newstarter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mantidproject/newstarter/teams","hooks_url":"https://api.github.com/repos/mantidproject/newstarter/hooks","issue_events_url":"https://api.github.com/repos/mantidproject/newstarter/issues/events{/number}","events_url":"https://api.github.com/repos/mantidproject/newstarter/events","assignees_url":"https://api.github.com/repos/mantidproject/newstarter/assignees{/user}","branches_url":"https://api.github.com/repos/mantidproject/newstarter/branches{/branch}","tags_url":"https://api.github.com/repos/mantidproject/newstarter/tags","blobs_url":"https://api.github.com/repos/mantidproject/newstarter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mantidproject/newstarter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mantidproject/newstarter/git/refs{/sha}","trees_url":"https://api.github.com/repos/mantidproject/newstarter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mantidproject/newstarter/statuses/{sha}","languages_url":"https://api.github.com/repos/mantidproject/newstarter/languages","stargazers_url":"https://api.github.com/repos/mantidproject/newstarter/stargazers","contributors_url":"https://api.github.com/repos/mantidproject/newstarter/contributors","subscribers_url":"https://api.github.com/repos/mantidproject/newstarter/subscribers","subscription_url":"https://api.github.com/repos/mantidproject/newstarter/subscription","commits_url":"https://api.github.com/repos/mantidproject/newstarter/commits{/sha}","git_commits_url":"https://api.github.com/repos/mantidproject/newstarter/git/commits{/sha}","comments_url":"https://api.github.com/repos/mantidproject/newstarter/comments{/number}","issue_comment_url":"https://api.github.com/repos/mantidproject/newstarter/issues/comments{/number}","contents_url":"https://api.github.com/repos/mantidproject/newstarter/contents/{+path}","compare_url":"https://api.github.com/repos/mantidproject/newstarter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mantidproject/newstarter/merges","archive_url":"https://api.github.com/repos/mantidproject/newstarter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mantidproject/newstarter/downloads","issues_url":"https://api.github.com/repos/mantidproject/newstarter/issues{/number}","pulls_url":"https://api.github.com/repos/mantidproject/newstarter/pulls{/number}","milestones_url":"https://api.github.com/repos/mantidproject/newstarter/milestones{/number}","notifications_url":"https://api.github.com/repos/mantidproject/newstarter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mantidproject/newstarter/labels{/name}","releases_url":"https://api.github.com/repos/mantidproject/newstarter/releases{/id}","deployments_url":"https://api.github.com/repos/mantidproject/newstarter/deployments","created_at":"2014-07-07T07:50:05Z","updated_at":"2017-07-07T08:32:15Z","pushed_at":"2018-06-06T13:16:09Z","git_url":"git://github.com/mantidproject/newstarter.git","ssh_url":"git@github.com:mantidproject/newstarter.git","clone_url":"https://github.com/mantidproject/newstarter.git","svn_url":"https://github.com/mantidproject/newstarter","homepage":null,"size":108,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"mantidproject:master","ref":"master","sha":"c711398750eac3e39e2541565e63c408d0e1372a","user":{"login":"mantidproject","id":671496,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY3MTQ5Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/671496?v=4","gravatar_id":"","url":"https://api.github.com/users/mantidproject","html_url":"https://github.com/mantidproject","followers_url":"https://api.github.com/users/mantidproject/followers","following_url":"https://api.github.com/users/mantidproject/following{/other_user}","gists_url":"https://api.github.com/users/mantidproject/gists{/gist_id}","starred_url":"https://api.github.com/users/mantidproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mantidproject/subscriptions","organizations_url":"https://api.github.com/users/mantidproject/orgs","repos_url":"https://api.github.com/users/mantidproject/repos","events_url":"https://api.github.com/users/mantidproject/events{/privacy}","received_events_url":"https://api.github.com/users/mantidproject/received_events","type":"Organization","site_admin":false},"repo":{"id":21561731,"node_id":"MDEwOlJlcG9zaXRvcnkyMTU2MTczMQ==","name":"newstarter","full_name":"mantidproject/newstarter","owner":{"login":"mantidproject","id":671496,"node_id":"MDEyOk9yZ2FuaXphdGlvbjY3MTQ5Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/671496?v=4","gravatar_id":"","url":"https://api.github.com/users/mantidproject","html_url":"https://github.com/mantidproject","followers_url":"https://api.github.com/users/mantidproject/followers","following_url":"https://api.github.com/users/mantidproject/following{/other_user}","gists_url":"https://api.github.com/users/mantidproject/gists{/gist_id}","starred_url":"https://api.github.com/users/mantidproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mantidproject/subscriptions","organizations_url":"https://api.github.com/users/mantidproject/orgs","repos_url":"https://api.github.com/users/mantidproject/repos","events_url":"https://api.github.com/users/mantidproject/events{/privacy}","received_events_url":"https://api.github.com/users/mantidproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mantidproject/newstarter","description":"A repository to support new starters as they work through the introductory development exercise at http://www.mantidproject.org/New_Starter_C++_introduction","fork":false,"url":"https://api.github.com/repos/mantidproject/newstarter","forks_url":"https://api.github.com/repos/mantidproject/newstarter/forks","keys_url":"https://api.github.com/repos/mantidproject/newstarter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mantidproject/newstarter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mantidproject/newstarter/teams","hooks_url":"https://api.github.com/repos/mantidproject/newstarter/hooks","issue_events_url":"https://api.github.com/repos/mantidproject/newstarter/issues/events{/number}","events_url":"https://api.github.com/repos/mantidproject/newstarter/events","assignees_url":"https://api.github.com/repos/mantidproject/newstarter/assignees{/user}","branches_url":"https://api.github.com/repos/mantidproject/newstarter/branches{/branch}","tags_url":"https://api.github.com/repos/mantidproject/newstarter/tags","blobs_url":"https://api.github.com/repos/mantidproject/newstarter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mantidproject/newstarter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mantidproject/newstarter/git/refs{/sha}","trees_url":"https://api.github.com/repos/mantidproject/newstarter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mantidproject/newstarter/statuses/{sha}","languages_url":"https://api.github.com/repos/mantidproject/newstarter/languages","stargazers_url":"https://api.github.com/repos/mantidproject/newstarter/stargazers","contributors_url":"https://api.github.com/repos/mantidproject/newstarter/contributors","subscribers_url":"https://api.github.com/repos/mantidproject/newstarter/subscribers","subscription_url":"https://api.github.com/repos/mantidproject/newstarter/subscription","commits_url":"https://api.github.com/repos/mantidproject/newstarter/commits{/sha}","git_commits_url":"https://api.github.com/repos/mantidproject/newstarter/git/commits{/sha}","comments_url":"https://api.github.com/repos/mantidproject/newstarter/comments{/number}","issue_comment_url":"https://api.github.com/repos/mantidproject/newstarter/issues/comments{/number}","contents_url":"https://api.github.com/repos/mantidproject/newstarter/contents/{+path}","compare_url":"https://api.github.com/repos/mantidproject/newstarter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mantidproject/newstarter/merges","archive_url":"https://api.github.com/repos/mantidproject/newstarter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mantidproject/newstarter/downloads","issues_url":"https://api.github.com/repos/mantidproject/newstarter/issues{/number}","pulls_url":"https://api.github.com/repos/mantidproject/newstarter/pulls{/number}","milestones_url":"https://api.github.com/repos/mantidproject/newstarter/milestones{/number}","notifications_url":"https://api.github.com/repos/mantidproject/newstarter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mantidproject/newstarter/labels{/name}","releases_url":"https://api.github.com/repos/mantidproject/newstarter/releases{/id}","deployments_url":"https://api.github.com/repos/mantidproject/newstarter/deployments","created_at":"2014-07-07T07:50:05Z","updated_at":"2017-07-07T08:32:15Z","pushed_at":"2018-06-06T13:16:09Z","git_url":"git://github.com/mantidproject/newstarter.git","ssh_url":"git@github.com:mantidproject/newstarter.git","clone_url":"https://github.com/mantidproject/newstarter.git","svn_url":"https://github.com/mantidproject/newstarter","homepage":null,"size":108,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mantidproject/newstarter/pulls/33"},"html":{"href":"https://github.com/mantidproject/newstarter/pull/33"},"issue":{"href":"https://api.github.com/repos/mantidproject/newstarter/issues/33"},"comments":{"href":"https://api.github.com/repos/mantidproject/newstarter/issues/33/comments"},"review_comments":{"href":"https://api.github.com/repos/mantidproject/newstarter/pulls/33/comments"},"review_comment":{"href":"https://api.github.com/repos/mantidproject/newstarter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mantidproject/newstarter/pulls/33/commits"},"statuses":{"href":"https://api.github.com/repos/mantidproject/newstarter/statuses/41126d11f4281c01e067c7a7b9277d23a97640fc"}},"author_association":"NONE"}}
{"actor":{"display_login":"LamarMoore"}}