{"action":"closed","number":3,"pull_request":{"url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/pulls/3","id":68825871,"html_url":"https://github.com/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/pull/3","diff_url":"https://github.com/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/pull/3.diff","patch_url":"https://github.com/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/pull/3.patch","issue_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/issues/3","number":3,"state":"closed","locked":false,"title":"Tyler Schad- Code Edits","user":{"login":"TylerSchad","id":16785299,"avatar_url":"https://avatars.githubusercontent.com/u/16785299?v=3","gravatar_id":"","url":"https://api.github.com/users/TylerSchad","html_url":"https://github.com/TylerSchad","followers_url":"https://api.github.com/users/TylerSchad/followers","following_url":"https://api.github.com/users/TylerSchad/following{/other_user}","gists_url":"https://api.github.com/users/TylerSchad/gists{/gist_id}","starred_url":"https://api.github.com/users/TylerSchad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TylerSchad/subscriptions","organizations_url":"https://api.github.com/users/TylerSchad/orgs","repos_url":"https://api.github.com/users/TylerSchad/repos","events_url":"https://api.github.com/users/TylerSchad/events{/privacy}","received_events_url":"https://api.github.com/users/TylerSchad/received_events","type":"User","site_admin":false},"body":"When the “Item not found.” function was printed through the “putitemincart” function, it was seg faulting. I fixed this by making all options after the “Item not found.” be “else if” or “else” statements, whereas before it was starting new “if” loops. There should not be anymore instances of seg faults within the code.\r\n\r\nAdditionally, I found myself accidentally typing in brands while searching for a product, but not realizing it. This was because you would be taken out of the main menu regardless or not of if the product was actually in the store. So, I created a function that runs when the user selects “Shop Item,” that checks if the product is actually in the tree first. If it is in the tree, it will proceed and take the user to the second menu. However, if it is not in the tree, it will notify the user that the product they searched for was not found, and it stays in the primary menu.\r\n\r\nHopefully this will be of help, these were the only big issues I was able to find!\r\n","created_at":"2016-05-04T08:26:13Z","updated_at":"2016-05-06T19:26:45Z","closed_at":"2016-05-06T19:26:45Z","merged_at":"2016-05-06T19:26:45Z","merge_commit_sha":"d7f52273f60e2c1d572b2f5eaf8f3775f7d5d8cf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/pulls/3/commits","review_comments_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/pulls/3/comments","review_comment_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/issues/3/comments","statuses_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/statuses/d4bba59784e881c64a91fd03890ba326840a4d40","head":{"label":"TylerSchad:master","ref":"master","sha":"d4bba59784e881c64a91fd03890ba326840a4d40","user":{"login":"TylerSchad","id":16785299,"avatar_url":"https://avatars.githubusercontent.com/u/16785299?v=3","gravatar_id":"","url":"https://api.github.com/users/TylerSchad","html_url":"https://github.com/TylerSchad","followers_url":"https://api.github.com/users/TylerSchad/followers","following_url":"https://api.github.com/users/TylerSchad/following{/other_user}","gists_url":"https://api.github.com/users/TylerSchad/gists{/gist_id}","starred_url":"https://api.github.com/users/TylerSchad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TylerSchad/subscriptions","organizations_url":"https://api.github.com/users/TylerSchad/orgs","repos_url":"https://api.github.com/users/TylerSchad/repos","events_url":"https://api.github.com/users/TylerSchad/events{/privacy}","received_events_url":"https://api.github.com/users/TylerSchad/received_events","type":"User","site_admin":false},"repo":{"id":58034642,"name":"Goodby_Gruen_Tran_CSCI2270_FinalProject","full_name":"TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject","owner":{"login":"TylerSchad","id":16785299,"avatar_url":"https://avatars.githubusercontent.com/u/16785299?v=3","gravatar_id":"","url":"https://api.github.com/users/TylerSchad","html_url":"https://github.com/TylerSchad","followers_url":"https://api.github.com/users/TylerSchad/followers","following_url":"https://api.github.com/users/TylerSchad/following{/other_user}","gists_url":"https://api.github.com/users/TylerSchad/gists{/gist_id}","starred_url":"https://api.github.com/users/TylerSchad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TylerSchad/subscriptions","organizations_url":"https://api.github.com/users/TylerSchad/orgs","repos_url":"https://api.github.com/users/TylerSchad/repos","events_url":"https://api.github.com/users/TylerSchad/events{/privacy}","received_events_url":"https://api.github.com/users/TylerSchad/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject","description":"Final Project for data structures spring 2016.","fork":true,"url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject","forks_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/forks","keys_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/teams","hooks_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/hooks","issue_events_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/issues/events{/number}","events_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/events","assignees_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/assignees{/user}","branches_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/branches{/branch}","tags_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/tags","blobs_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/git/refs{/sha}","trees_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/statuses/{sha}","languages_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/languages","stargazers_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/stargazers","contributors_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/contributors","subscribers_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/subscribers","subscription_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/subscription","commits_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/commits{/sha}","git_commits_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/git/commits{/sha}","comments_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/comments{/number}","issue_comment_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/issues/comments{/number}","contents_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/contents/{+path}","compare_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/merges","archive_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/downloads","issues_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/issues{/number}","pulls_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/pulls{/number}","milestones_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/milestones{/number}","notifications_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/labels{/name}","releases_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/releases{/id}","deployments_url":"https://api.github.com/repos/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject/deployments","created_at":"2016-05-04T08:12:44Z","updated_at":"2016-05-04T08:12:45Z","pushed_at":"2016-05-04T08:22:10Z","git_url":"git://github.com/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject.git","ssh_url":"git@github.com:TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject.git","clone_url":"https://github.com/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject.git","svn_url":"https://github.com/TylerSchad/Goodby_Gruen_Tran_CSCI2270_FinalProject","homepage":null,"size":239,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cassandragoodby:master","ref":"master","sha":"62f34f7183c97ff00a7bcc6e92277f0418c803f4","user":{"login":"cassandragoodby","id":17203505,"avatar_url":"https://avatars.githubusercontent.com/u/17203505?v=3","gravatar_id":"","url":"https://api.github.com/users/cassandragoodby","html_url":"https://github.com/cassandragoodby","followers_url":"https://api.github.com/users/cassandragoodby/followers","following_url":"https://api.github.com/users/cassandragoodby/following{/other_user}","gists_url":"https://api.github.com/users/cassandragoodby/gists{/gist_id}","starred_url":"https://api.github.com/users/cassandragoodby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cassandragoodby/subscriptions","organizations_url":"https://api.github.com/users/cassandragoodby/orgs","repos_url":"https://api.github.com/users/cassandragoodby/repos","events_url":"https://api.github.com/users/cassandragoodby/events{/privacy}","received_events_url":"https://api.github.com/users/cassandragoodby/received_events","type":"User","site_admin":false},"repo":{"id":56255627,"name":"Goodby_Gruen_Tran_CSCI2270_FinalProject","full_name":"cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject","owner":{"login":"cassandragoodby","id":17203505,"avatar_url":"https://avatars.githubusercontent.com/u/17203505?v=3","gravatar_id":"","url":"https://api.github.com/users/cassandragoodby","html_url":"https://github.com/cassandragoodby","followers_url":"https://api.github.com/users/cassandragoodby/followers","following_url":"https://api.github.com/users/cassandragoodby/following{/other_user}","gists_url":"https://api.github.com/users/cassandragoodby/gists{/gist_id}","starred_url":"https://api.github.com/users/cassandragoodby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cassandragoodby/subscriptions","organizations_url":"https://api.github.com/users/cassandragoodby/orgs","repos_url":"https://api.github.com/users/cassandragoodby/repos","events_url":"https://api.github.com/users/cassandragoodby/events{/privacy}","received_events_url":"https://api.github.com/users/cassandragoodby/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject","description":"Final Project for data structures spring 2016.","fork":false,"url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject","forks_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/forks","keys_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/teams","hooks_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/hooks","issue_events_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/issues/events{/number}","events_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/events","assignees_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/assignees{/user}","branches_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/branches{/branch}","tags_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/tags","blobs_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/git/refs{/sha}","trees_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/statuses/{sha}","languages_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/languages","stargazers_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/stargazers","contributors_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/contributors","subscribers_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/subscribers","subscription_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/subscription","commits_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/commits{/sha}","git_commits_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/git/commits{/sha}","comments_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/comments{/number}","issue_comment_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/issues/comments{/number}","contents_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/contents/{+path}","compare_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/merges","archive_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/downloads","issues_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/issues{/number}","pulls_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/pulls{/number}","milestones_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/milestones{/number}","notifications_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/labels{/name}","releases_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/releases{/id}","deployments_url":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/deployments","created_at":"2016-04-14T17:07:48Z","updated_at":"2016-04-27T00:56:46Z","pushed_at":"2016-05-06T19:26:45Z","git_url":"git://github.com/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject.git","ssh_url":"git@github.com:cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject.git","clone_url":"https://github.com/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject.git","svn_url":"https://github.com/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject","homepage":null,"size":287,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":0,"forks":3,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/pulls/3"},"html":{"href":"https://github.com/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/pull/3"},"issue":{"href":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/issues/3"},"comments":{"href":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/cassandragoodby/Goodby_Gruen_Tran_CSCI2270_FinalProject/statuses/d4bba59784e881c64a91fd03890ba326840a4d40"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"cassandragoodby","id":17203505,"avatar_url":"https://avatars.githubusercontent.com/u/17203505?v=3","gravatar_id":"","url":"https://api.github.com/users/cassandragoodby","html_url":"https://github.com/cassandragoodby","followers_url":"https://api.github.com/users/cassandragoodby/followers","following_url":"https://api.github.com/users/cassandragoodby/following{/other_user}","gists_url":"https://api.github.com/users/cassandragoodby/gists{/gist_id}","starred_url":"https://api.github.com/users/cassandragoodby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cassandragoodby/subscriptions","organizations_url":"https://api.github.com/users/cassandragoodby/orgs","repos_url":"https://api.github.com/users/cassandragoodby/repos","events_url":"https://api.github.com/users/cassandragoodby/events{/privacy}","received_events_url":"https://api.github.com/users/cassandragoodby/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":102,"deletions":56,"changed_files":3}}