{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/pulls/4","id":170069341,"html_url":"https://github.com/bewuethr/stroustrup_ppp/pull/4","diff_url":"https://github.com/bewuethr/stroustrup_ppp/pull/4.diff","patch_url":"https://github.com/bewuethr/stroustrup_ppp/pull/4.patch","issue_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/issues/4","number":4,"state":"open","locked":false,"title":"Update using bool indicator with global scope","user":{"login":"TingeOGinge","id":34174536,"avatar_url":"https://avatars2.githubusercontent.com/u/34174536?v=4","gravatar_id":"","url":"https://api.github.com/users/TingeOGinge","html_url":"https://github.com/TingeOGinge","followers_url":"https://api.github.com/users/TingeOGinge/followers","following_url":"https://api.github.com/users/TingeOGinge/following{/other_user}","gists_url":"https://api.github.com/users/TingeOGinge/gists{/gist_id}","starred_url":"https://api.github.com/users/TingeOGinge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TingeOGinge/subscriptions","organizations_url":"https://api.github.com/users/TingeOGinge/orgs","repos_url":"https://api.github.com/users/TingeOGinge/repos","events_url":"https://api.github.com/users/TingeOGinge/events{/privacy}","received_events_url":"https://api.github.com/users/TingeOGinge/received_events","type":"User","site_admin":false},"body":"I'm suggesting these changes as I noticed a minor issue with this bit of code. When I input \"the birds fly why fish swim\" it showed the result \"Not okay\" \\n \"Ok\", instead of just \"Not Okay\" \r\n\r\nIt seemed like this was due to the bool indicator for an error being located within the while loop. I have changed sentence() and conjunction() from bool to void, as they no longer need to return a value to main(). The program now remembers if there has been a mistake, even when going back through sentence(), and delivers one answer after the prompt \".\" rather than multiple answers for one sentence.","created_at":"2018-02-19T23:08:22Z","updated_at":"2018-02-19T23:08:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/pulls/4/commits","review_comments_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/pulls/4/comments","review_comment_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/issues/4/comments","statuses_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/statuses/5faf0eb83dc800f3e1e1fcfe419b1229ea7d39e2","head":{"label":"TingeOGinge:patch-1","ref":"patch-1","sha":"5faf0eb83dc800f3e1e1fcfe419b1229ea7d39e2","user":{"login":"TingeOGinge","id":34174536,"avatar_url":"https://avatars2.githubusercontent.com/u/34174536?v=4","gravatar_id":"","url":"https://api.github.com/users/TingeOGinge","html_url":"https://github.com/TingeOGinge","followers_url":"https://api.github.com/users/TingeOGinge/followers","following_url":"https://api.github.com/users/TingeOGinge/following{/other_user}","gists_url":"https://api.github.com/users/TingeOGinge/gists{/gist_id}","starred_url":"https://api.github.com/users/TingeOGinge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TingeOGinge/subscriptions","organizations_url":"https://api.github.com/users/TingeOGinge/orgs","repos_url":"https://api.github.com/users/TingeOGinge/repos","events_url":"https://api.github.com/users/TingeOGinge/events{/privacy}","received_events_url":"https://api.github.com/users/TingeOGinge/received_events","type":"User","site_admin":false},"repo":{"id":122124513,"name":"stroustrup_ppp","full_name":"TingeOGinge/stroustrup_ppp","owner":{"login":"TingeOGinge","id":34174536,"avatar_url":"https://avatars2.githubusercontent.com/u/34174536?v=4","gravatar_id":"","url":"https://api.github.com/users/TingeOGinge","html_url":"https://github.com/TingeOGinge","followers_url":"https://api.github.com/users/TingeOGinge/followers","following_url":"https://api.github.com/users/TingeOGinge/following{/other_user}","gists_url":"https://api.github.com/users/TingeOGinge/gists{/gist_id}","starred_url":"https://api.github.com/users/TingeOGinge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TingeOGinge/subscriptions","organizations_url":"https://api.github.com/users/TingeOGinge/orgs","repos_url":"https://api.github.com/users/TingeOGinge/repos","events_url":"https://api.github.com/users/TingeOGinge/events{/privacy}","received_events_url":"https://api.github.com/users/TingeOGinge/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TingeOGinge/stroustrup_ppp","description":"Exercises from Stroustrup's \"Programming - Principles and Practice Using C++\" (First Edition)","fork":true,"url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp","forks_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/forks","keys_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/teams","hooks_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/hooks","issue_events_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/issues/events{/number}","events_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/events","assignees_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/assignees{/user}","branches_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/branches{/branch}","tags_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/tags","blobs_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/git/refs{/sha}","trees_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/statuses/{sha}","languages_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/languages","stargazers_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/stargazers","contributors_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/contributors","subscribers_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/subscribers","subscription_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/subscription","commits_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/commits{/sha}","git_commits_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/git/commits{/sha}","comments_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/comments{/number}","issue_comment_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/issues/comments{/number}","contents_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/contents/{+path}","compare_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/merges","archive_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/downloads","issues_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/issues{/number}","pulls_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/pulls{/number}","milestones_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/milestones{/number}","notifications_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/labels{/name}","releases_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/releases{/id}","deployments_url":"https://api.github.com/repos/TingeOGinge/stroustrup_ppp/deployments","created_at":"2018-02-19T21:45:57Z","updated_at":"2018-02-19T21:46:00Z","pushed_at":"2018-02-19T23:06:25Z","git_url":"git://github.com/TingeOGinge/stroustrup_ppp.git","ssh_url":"git@github.com:TingeOGinge/stroustrup_ppp.git","clone_url":"https://github.com/TingeOGinge/stroustrup_ppp.git","svn_url":"https://github.com/TingeOGinge/stroustrup_ppp","homepage":"","size":24505,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bewuethr:master","ref":"master","sha":"bb69533fff8a8f1890c8c866bae2030eaca1cf8b","user":{"login":"bewuethr","id":8521043,"avatar_url":"https://avatars0.githubusercontent.com/u/8521043?v=4","gravatar_id":"","url":"https://api.github.com/users/bewuethr","html_url":"https://github.com/bewuethr","followers_url":"https://api.github.com/users/bewuethr/followers","following_url":"https://api.github.com/users/bewuethr/following{/other_user}","gists_url":"https://api.github.com/users/bewuethr/gists{/gist_id}","starred_url":"https://api.github.com/users/bewuethr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bewuethr/subscriptions","organizations_url":"https://api.github.com/users/bewuethr/orgs","repos_url":"https://api.github.com/users/bewuethr/repos","events_url":"https://api.github.com/users/bewuethr/events{/privacy}","received_events_url":"https://api.github.com/users/bewuethr/received_events","type":"User","site_admin":false},"repo":{"id":23411001,"name":"stroustrup_ppp","full_name":"bewuethr/stroustrup_ppp","owner":{"login":"bewuethr","id":8521043,"avatar_url":"https://avatars0.githubusercontent.com/u/8521043?v=4","gravatar_id":"","url":"https://api.github.com/users/bewuethr","html_url":"https://github.com/bewuethr","followers_url":"https://api.github.com/users/bewuethr/followers","following_url":"https://api.github.com/users/bewuethr/following{/other_user}","gists_url":"https://api.github.com/users/bewuethr/gists{/gist_id}","starred_url":"https://api.github.com/users/bewuethr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bewuethr/subscriptions","organizations_url":"https://api.github.com/users/bewuethr/orgs","repos_url":"https://api.github.com/users/bewuethr/repos","events_url":"https://api.github.com/users/bewuethr/events{/privacy}","received_events_url":"https://api.github.com/users/bewuethr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bewuethr/stroustrup_ppp","description":"Exercises from Stroustrup's \"Programming - Principles and Practice Using C++\" (First Edition)","fork":false,"url":"https://api.github.com/repos/bewuethr/stroustrup_ppp","forks_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/forks","keys_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/teams","hooks_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/hooks","issue_events_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/issues/events{/number}","events_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/events","assignees_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/assignees{/user}","branches_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/branches{/branch}","tags_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/tags","blobs_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/git/refs{/sha}","trees_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/statuses/{sha}","languages_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/languages","stargazers_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/stargazers","contributors_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/contributors","subscribers_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/subscribers","subscription_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/subscription","commits_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/commits{/sha}","git_commits_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/git/commits{/sha}","comments_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/comments{/number}","issue_comment_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/issues/comments{/number}","contents_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/contents/{+path}","compare_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/merges","archive_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/downloads","issues_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/issues{/number}","pulls_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/pulls{/number}","milestones_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/milestones{/number}","notifications_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/labels{/name}","releases_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/releases{/id}","deployments_url":"https://api.github.com/repos/bewuethr/stroustrup_ppp/deployments","created_at":"2014-08-28T01:21:07Z","updated_at":"2018-02-16T18:44:42Z","pushed_at":"2017-02-17T05:04:14Z","git_url":"git://github.com/bewuethr/stroustrup_ppp.git","ssh_url":"git@github.com:bewuethr/stroustrup_ppp.git","clone_url":"https://github.com/bewuethr/stroustrup_ppp.git","svn_url":"https://github.com/bewuethr/stroustrup_ppp","homepage":"","size":24505,"stargazers_count":125,"watchers_count":125,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":69,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":69,"open_issues":1,"watchers":125,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bewuethr/stroustrup_ppp/pulls/4"},"html":{"href":"https://github.com/bewuethr/stroustrup_ppp/pull/4"},"issue":{"href":"https://api.github.com/repos/bewuethr/stroustrup_ppp/issues/4"},"comments":{"href":"https://api.github.com/repos/bewuethr/stroustrup_ppp/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/bewuethr/stroustrup_ppp/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/bewuethr/stroustrup_ppp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bewuethr/stroustrup_ppp/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/bewuethr/stroustrup_ppp/statuses/5faf0eb83dc800f3e1e1fcfe419b1229ea7d39e2"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":44,"deletions":36,"changed_files":1}}
{"actor":{"display_login":"TingeOGinge"}}