{"action":"created","issue":{"url":"https://api.github.com/repos/pezy/CppPrimer/issues/93","repository_url":"https://api.github.com/repos/pezy/CppPrimer","labels_url":"https://api.github.com/repos/pezy/CppPrimer/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/pezy/CppPrimer/issues/93/comments","events_url":"https://api.github.com/repos/pezy/CppPrimer/issues/93/events","html_url":"https://github.com/pezy/CppPrimer/pull/93","id":189289487,"number":93,"title":"Update ex7_15.h","user":{"login":"zprogram","id":8776635,"avatar_url":"https://avatars.githubusercontent.com/u/8776635?v=3","gravatar_id":"","url":"https://api.github.com/users/zprogram","html_url":"https://github.com/zprogram","followers_url":"https://api.github.com/users/zprogram/followers","following_url":"https://api.github.com/users/zprogram/following{/other_user}","gists_url":"https://api.github.com/users/zprogram/gists{/gist_id}","starred_url":"https://api.github.com/users/zprogram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zprogram/subscriptions","organizations_url":"https://api.github.com/users/zprogram/orgs","repos_url":"https://api.github.com/users/zprogram/repos","events_url":"https://api.github.com/users/zprogram/events{/privacy}","received_events_url":"https://api.github.com/users/zprogram/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-15T03:18:00Z","updated_at":"2016-12-26T15:08:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pezy/CppPrimer/pulls/93","html_url":"https://github.com/pezy/CppPrimer/pull/93","diff_url":"https://github.com/pezy/CppPrimer/pull/93.diff","patch_url":"https://github.com/pezy/CppPrimer/pull/93.patch"},"body":"use easy usage , use “struct” default privileges is public,use “calss” default privileges is private!"},"comment":{"url":"https://api.github.com/repos/pezy/CppPrimer/issues/comments/269218905","html_url":"https://github.com/pezy/CppPrimer/pull/93#issuecomment-269218905","issue_url":"https://api.github.com/repos/pezy/CppPrimer/issues/93","id":269218905,"user":{"login":"webary","id":8557750,"avatar_url":"https://avatars.githubusercontent.com/u/8557750?v=3","gravatar_id":"","url":"https://api.github.com/users/webary","html_url":"https://github.com/webary","followers_url":"https://api.github.com/users/webary/followers","following_url":"https://api.github.com/users/webary/following{/other_user}","gists_url":"https://api.github.com/users/webary/gists{/gist_id}","starred_url":"https://api.github.com/users/webary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webary/subscriptions","organizations_url":"https://api.github.com/users/webary/orgs","repos_url":"https://api.github.com/users/webary/repos","events_url":"https://api.github.com/users/webary/events{/privacy}","received_events_url":"https://api.github.com/users/webary/received_events","type":"User","site_admin":false},"created_at":"2016-12-26T15:08:20Z","updated_at":"2016-12-26T15:08:20Z","body":"1. 请尽量不要在头文件中加如全局函数这种完成C形式的写法，更何况是在头文件中加入了一个main函数\r\n2. 建议使用统一的代码风格，原始风格是缩进为4个空格，你的风格为tab键\r\n3. 强烈建议不要引入vs IDE中独有的预编译头文件<stdafx.h>到这个不依赖于平台的代码集中\r\n4. 为什么要把原版本的读入方法read给注释了\r\n5. 为什么把<string>头文件注视了？\r\n6. 为什么把作者直接修改了？建议做法是不修改原作者的注释，在下面加上一行update: your name(your mail)\r\n7. 头文件中如果不是频繁使用某个符号（如string），不建议直接引入该符号，而是在使用的时候加上对应的作用域运算符\r\n8. **非常赞同你的将struct改为class的改法**，C++中如果不是用作特殊用途，还是用class比较好\r\n\r\nps: 我只是个路人，正好看到了这个repo，就进来瞄了几眼，上面观点纯属个人观点，如有不同，还请包含"}}
{"actor":{"display_login":"webary"}}