{"action":"created","issue":{"url":"https://api.github.com/repos/zgyao/DecisionTree_C4.5/issues/2","repository_url":"https://api.github.com/repos/zgyao/DecisionTree_C4.5","labels_url":"https://api.github.com/repos/zgyao/DecisionTree_C4.5/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/zgyao/DecisionTree_C4.5/issues/2/comments","events_url":"https://api.github.com/repos/zgyao/DecisionTree_C4.5/issues/2/events","html_url":"https://github.com/zgyao/DecisionTree_C4.5/issues/2","id":185197546,"number":2,"title":"DecisionTree_C4.5 program","user":{"login":"rashidhk","id":23042510,"avatar_url":"https://avatars.githubusercontent.com/u/23042510?v=3","gravatar_id":"","url":"https://api.github.com/users/rashidhk","html_url":"https://github.com/rashidhk","followers_url":"https://api.github.com/users/rashidhk/followers","following_url":"https://api.github.com/users/rashidhk/following{/other_user}","gists_url":"https://api.github.com/users/rashidhk/gists{/gist_id}","starred_url":"https://api.github.com/users/rashidhk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rashidhk/subscriptions","organizations_url":"https://api.github.com/users/rashidhk/orgs","repos_url":"https://api.github.com/users/rashidhk/repos","events_url":"https://api.github.com/users/rashidhk/events{/privacy}","received_events_url":"https://api.github.com/users/rashidhk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-25T18:31:18Z","updated_at":"2016-10-27T15:41:12Z","closed_at":null,"body":"Hi, \r\n\r\nI am trying to compile \"DecisionTree_C4.5\" source code in Visual Studio 13 by creating an empty project. I find the following errors and warning messages. Can you please help me to solve this problem.\r\nThank you.\r\n\r\n**Errors:** \r\nError\t12\terror C2057: expected constant expression\t\r\nint Count[Unique_Values.size()] = {0};  \r\n\r\nError\t13\terror C2466: cannot allocate an array of constant size 0\t\r\nint Count[Unique_Values.size()] = {0};\r\n\r\nError\t17\terror C2057: expected constant expression\t\r\nint Count[Score_Range.size()] = {0};\r\n\r\nError\t18\terror C2466: cannot allocate an array of constant size 0\t\r\nint Count[Score_Range.size()] = {0};\r\n\r\n**Warning:** \r\nWarning\t30\twarning C4018: '<' : signed/unsigned mismatch\t\r\nWarning\t7\twarning C4554: '&' : check operator precedence for possible error; use parentheses to clarify precedence\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/zgyao/DecisionTree_C4.5/issues/comments/256680847","html_url":"https://github.com/zgyao/DecisionTree_C4.5/issues/2#issuecomment-256680847","issue_url":"https://api.github.com/repos/zgyao/DecisionTree_C4.5/issues/2","id":256680847,"user":{"login":"zgyao","id":6795390,"avatar_url":"https://avatars.githubusercontent.com/u/6795390?v=3","gravatar_id":"","url":"https://api.github.com/users/zgyao","html_url":"https://github.com/zgyao","followers_url":"https://api.github.com/users/zgyao/followers","following_url":"https://api.github.com/users/zgyao/following{/other_user}","gists_url":"https://api.github.com/users/zgyao/gists{/gist_id}","starred_url":"https://api.github.com/users/zgyao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zgyao/subscriptions","organizations_url":"https://api.github.com/users/zgyao/orgs","repos_url":"https://api.github.com/users/zgyao/repos","events_url":"https://api.github.com/users/zgyao/events{/privacy}","received_events_url":"https://api.github.com/users/zgyao/received_events","type":"User","site_admin":false},"created_at":"2016-10-27T15:41:12Z","updated_at":"2016-10-27T15:41:12Z","body":"Have you tried to enable C++11, I'm sorry for haven't maintain my code\ncarefully, I write it as my practice, I should be more responsible with it\nwhen I put it pubicly, If my code can help you, I will feel very happy.\nYour email is a great encourage to me, my work should help others solve\ntheir own problems, not bring them new ones, please don't heistate to\ncontact me if you have any further questions.\n\nRegards!\n\nOn Wednesday, 26 October 2016, rashidhk <notifications@github.com> wrote:\n\n> Hi,\n>\n> I am trying to compile \"DecisionTree_C4.5\" source code in Visual Studio 13\n> by creating an empty project. I find the following errors and warning\n> messages. Can you please help me to solve this problem.\n> Thank you.\n>\n> *Errors:*\n> Error 12 error C2057: expected constant expression\n>\n> int Count[Unique_Values.size()] = {0};\n>\n> Error 13 error C2466: cannot allocate an array of constant size 0\n>\n> int Count[Unique_Values.size()] = {0};\n>\n> Error 17 error C2057: expected constant expression\n>\n> int Count[Score_Range.size()] = {0};\n>\n> Error 18 error C2466: cannot allocate an array of constant size 0\n>\n> int Count[Score_Range.size()] = {0};\n>\n> *Warning:*\n> Warning 30 warning C4018: '<' : signed/unsigned mismatch\n>\n> Warning 7 warning C4554: '&' : check operator precedence for possible\n> error; use parentheses to clarify precedence\n>\n> —\n> You are receiving this because you are subscribed to this thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/zgyao/DecisionTree_C4.5/issues/2>, or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/AGewfs62oAfK7Z77JWmVR7j-Vh48jGGzks5q3kr2gaJpZM4KgU-F>\n> .\n>\n\n\n-- \n赵光耀\nEmail: bluekid23@gmail.com <email%3Abluekid23@gmail.com>\nMobile: +86 18521565246\n"}}
{"actor":{"display_login":"zgyao"}}