{"action":"created","issue":{"url":"https://api.github.com/repos/Und3rMySk1n/oop/issues/9","repository_url":"https://api.github.com/repos/Und3rMySk1n/oop","labels_url":"https://api.github.com/repos/Und3rMySk1n/oop/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/Und3rMySk1n/oop/issues/9/comments","events_url":"https://api.github.com/repos/Und3rMySk1n/oop/issues/9/events","html_url":"https://github.com/Und3rMySk1n/oop/issues/9","id":133065436,"number":9,"title":"замечания по программе Invert","user":{"login":"alexey-malov","id":6040682,"avatar_url":"https://avatars.githubusercontent.com/u/6040682?v=3","gravatar_id":"","url":"https://api.github.com/users/alexey-malov","html_url":"https://github.com/alexey-malov","followers_url":"https://api.github.com/users/alexey-malov/followers","following_url":"https://api.github.com/users/alexey-malov/following{/other_user}","gists_url":"https://api.github.com/users/alexey-malov/gists{/gist_id}","starred_url":"https://api.github.com/users/alexey-malov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexey-malov/subscriptions","organizations_url":"https://api.github.com/users/alexey-malov/orgs","repos_url":"https://api.github.com/users/alexey-malov/repos","events_url":"https://api.github.com/users/alexey-malov/events{/privacy}","received_events_url":"https://api.github.com/users/alexey-malov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-11T19:29:34Z","updated_at":"2016-02-11T19:31:34Z","closed_at":null,"body":"```c++\r\nmatrix33 ReadMatrixFromFile(ifstream &inputFile)\r\n{\t\r\n\tmatrix33 matrix;\r\n\r\n\twhile (!inputFile.eof())\r\n\t{\r\n\t\tchar letter;\r\n\t\tfor (int i = 0; i < 3; i++)\r\n\t\t{\r\n\t\t\tletter = inputFile.get();\r\n\t\t\twhile ((letter != '\\n') && (!inputFile.eof()))\r\n\t\t\t{\t\t\t\t\r\n\t\t\t\tfor (int j = 0; j < 3; j++)\r\n\t\t\t\t{\r\n\t\t\t\t\tstring numberToParse = \"\";\t\t\t\t\t\r\n\t\t\t\t\twhile ((letter != ' ') && (letter != '\\n') && (!inputFile.eof()))\r\n\t\t\t\t\t{\t\t\t\t\t\t\r\n\t\t\t\t\t\tnumberToParse = numberToParse + letter;\r\n\t\t\t\t\t\tletter = inputFile.get();\t\t\t\t\t\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tchar *stringPtr = &numberToParse[0];\r\n\t\t\t\t\tmatrix[i][j] = stoi(stringPtr, NULL, 10);\t\t\t\t\t\r\n\r\n\t\t\t\t\tif ((letter != '\\n') && (!inputFile.eof()))\r\n\t\t\t\t\t{\r\n\t\t\t\t\t\twhile (letter == ' ')\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tletter = inputFile.get();\r\n\t\t\t\t\t\t}\t\t\t\t\t\t\r\n\t\t\t\t\t}\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\t\t\r\n\r\n\treturn matrix;\r\n}\r\n```\r\nкакая-то сложная реализация\r\nтеперь вы знаете, как сделать проще.\r\nпростые вещи должны делаться просто. если не так, лучше спросить или загуглить"},"comment":{"url":"https://api.github.com/repos/Und3rMySk1n/oop/issues/comments/183023688","html_url":"https://github.com/Und3rMySk1n/oop/issues/9#issuecomment-183023688","issue_url":"https://api.github.com/repos/Und3rMySk1n/oop/issues/9","id":183023688,"user":{"login":"alexey-malov","id":6040682,"avatar_url":"https://avatars.githubusercontent.com/u/6040682?v=3","gravatar_id":"","url":"https://api.github.com/users/alexey-malov","html_url":"https://github.com/alexey-malov","followers_url":"https://api.github.com/users/alexey-malov/followers","following_url":"https://api.github.com/users/alexey-malov/following{/other_user}","gists_url":"https://api.github.com/users/alexey-malov/gists{/gist_id}","starred_url":"https://api.github.com/users/alexey-malov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexey-malov/subscriptions","organizations_url":"https://api.github.com/users/alexey-malov/orgs","repos_url":"https://api.github.com/users/alexey-malov/repos","events_url":"https://api.github.com/users/alexey-malov/events{/privacy}","received_events_url":"https://api.github.com/users/alexey-malov/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T19:31:34Z","updated_at":"2016-02-11T19:31:34Z","body":"```c++\r\nFindDeterminantForMatrix_3x3(matrix);\r\n```\r\nне смешитьва CamelCase с underscore_syntax без крайней нужды"}}