{"action":"created","issue":{"url":"https://api.github.com/repos/Dzzirt/Additional-Ed/issues/1","labels_url":"https://api.github.com/repos/Dzzirt/Additional-Ed/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Dzzirt/Additional-Ed/issues/1/comments","events_url":"https://api.github.com/repos/Dzzirt/Additional-Ed/issues/1/events","html_url":"https://github.com/Dzzirt/Additional-Ed/issues/1","id":116357767,"number":1,"title":"Замечания по программе замены подстрок в файле","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":3,"created_at":"2015-11-11T15:29:05Z","updated_at":"2015-11-11T15:54:33Z","closed_at":null,"body":"```c++\r\n\tif (argc != 5)\r\n\t{\r\n\t\tcout << \"Need to input only 4 parameters\" << endl;\r\n\t}\r\n```\r\nВ случае, когда пользователь неправильно запустил программу, нужно вывести краткую инструкцию пользователя:\r\nхотя бы так:\r\n```\r\nUsage:\r\nreplace.exe <input-file> <output-file> <search-string> <replace-string>\r\n```"},"comment":{"url":"https://api.github.com/repos/Dzzirt/Additional-Ed/issues/comments/155824293","html_url":"https://github.com/Dzzirt/Additional-Ed/issues/1#issuecomment-155824293","issue_url":"https://api.github.com/repos/Dzzirt/Additional-Ed/issues/1","id":155824293,"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":"2015-11-11T15:54:33Z","updated_at":"2015-11-11T15:54:33Z","body":"выдели код из функции main в функцию вроде:\r\nReplaceStringInFile(inputFileName, outputFileName, searchstring, replaceString)\r\nЭто упростит код функции main"}}