{"action":"created","issue":{"url":"https://api.github.com/repos/Mooophy/Cpp-Primer/issues/241","labels_url":"https://api.github.com/repos/Mooophy/Cpp-Primer/issues/241/labels{/name}","comments_url":"https://api.github.com/repos/Mooophy/Cpp-Primer/issues/241/comments","events_url":"https://api.github.com/repos/Mooophy/Cpp-Primer/issues/241/events","html_url":"https://github.com/Mooophy/Cpp-Primer/pull/241","id":76435840,"number":241,"title":"Change to ex. 3.40","user":{"login":"frank67","id":11892185,"avatar_url":"https://avatars.githubusercontent.com/u/11892185?v=3","gravatar_id":"","url":"https://api.github.com/users/frank67","html_url":"https://github.com/frank67","followers_url":"https://api.github.com/users/frank67/followers","following_url":"https://api.github.com/users/frank67/following{/other_user}","gists_url":"https://api.github.com/users/frank67/gists{/gist_id}","starred_url":"https://api.github.com/users/frank67/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frank67/subscriptions","organizations_url":"https://api.github.com/users/frank67/orgs","repos_url":"https://api.github.com/users/frank67/repos","events_url":"https://api.github.com/users/frank67/events{/privacy}","received_events_url":"https://api.github.com/users/frank67/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"pezy","id":1147451,"avatar_url":"https://avatars.githubusercontent.com/u/1147451?v=3","gravatar_id":"","url":"https://api.github.com/users/pezy","html_url":"https://github.com/pezy","followers_url":"https://api.github.com/users/pezy/followers","following_url":"https://api.github.com/users/pezy/following{/other_user}","gists_url":"https://api.github.com/users/pezy/gists{/gist_id}","starred_url":"https://api.github.com/users/pezy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pezy/subscriptions","organizations_url":"https://api.github.com/users/pezy/orgs","repos_url":"https://api.github.com/users/pezy/repos","events_url":"https://api.github.com/users/pezy/events{/privacy}","received_events_url":"https://api.github.com/users/pezy/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2015-05-14T17:46:38Z","updated_at":"2015-05-20T00:50:10Z","closed_at":"2015-05-19T01:34:49Z","pull_request":{"url":"https://api.github.com/repos/Mooophy/Cpp-Primer/pulls/241","html_url":"https://github.com/Mooophy/Cpp-Primer/pull/241","diff_url":"https://github.com/Mooophy/Cpp-Primer/pull/241.diff","patch_url":"https://github.com/Mooophy/Cpp-Primer/pull/241.patch"},"body":"@Mooophy I apologize if I haven't discussed the proposed change in this pull request, in order to save time I do it, hoping it didn't hurt.\r\nThe ```new``` and ```delete``` syntax aren't yet discussed in the book before this exercize therefore I've rewritten it almost totally.\r\nHTH\r\nBest regards"},"comment":{"url":"https://api.github.com/repos/Mooophy/Cpp-Primer/issues/comments/103708181","html_url":"https://github.com/Mooophy/Cpp-Primer/pull/241#issuecomment-103708181","issue_url":"https://api.github.com/repos/Mooophy/Cpp-Primer/issues/241","id":103708181,"user":{"login":"pezy","id":1147451,"avatar_url":"https://avatars.githubusercontent.com/u/1147451?v=3","gravatar_id":"","url":"https://api.github.com/users/pezy","html_url":"https://github.com/pezy","followers_url":"https://api.github.com/users/pezy/followers","following_url":"https://api.github.com/users/pezy/following{/other_user}","gists_url":"https://api.github.com/users/pezy/gists{/gist_id}","starred_url":"https://api.github.com/users/pezy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pezy/subscriptions","organizations_url":"https://api.github.com/users/pezy/orgs","repos_url":"https://api.github.com/users/pezy/repos","events_url":"https://api.github.com/users/pezy/events{/privacy}","received_events_url":"https://api.github.com/users/pezy/received_events","type":"User","site_admin":false},"created_at":"2015-05-20T00:50:10Z","updated_at":"2015-05-20T00:50:10Z","body":"@frank67 Thx for your reporting. my mistake, `VLA` is C99's content, rather than C++. \r\n\r\nI admire your rigorous demands on this question. Maybe, using global variables is the better solution.\r\n\r\nThx for your contribution. :+1: "}}