{"action":"created","issue":{"url":"https://api.github.com/repos/ReadingLab/Discussion-for-Cpp/issues/24","labels_url":"https://api.github.com/repos/ReadingLab/Discussion-for-Cpp/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/ReadingLab/Discussion-for-Cpp/issues/24/comments","events_url":"https://api.github.com/repos/ReadingLab/Discussion-for-Cpp/issues/24/events","html_url":"https://github.com/ReadingLab/Discussion-for-Cpp/issues/24","id":80537100,"number":24,"title":"About Input","user":{"login":"lifeisamoive","id":10725081,"avatar_url":"https://avatars.githubusercontent.com/u/10725081?v=3","gravatar_id":"","url":"https://api.github.com/users/lifeisamoive","html_url":"https://github.com/lifeisamoive","followers_url":"https://api.github.com/users/lifeisamoive/followers","following_url":"https://api.github.com/users/lifeisamoive/following{/other_user}","gists_url":"https://api.github.com/users/lifeisamoive/gists{/gist_id}","starred_url":"https://api.github.com/users/lifeisamoive/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lifeisamoive/subscriptions","organizations_url":"https://api.github.com/users/lifeisamoive/orgs","repos_url":"https://api.github.com/users/lifeisamoive/repos","events_url":"https://api.github.com/users/lifeisamoive/events{/privacy}","received_events_url":"https://api.github.com/users/lifeisamoive/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ReadingLab/Discussion-for-Cpp/labels/Primer","name":"Primer","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-25T13:28:14Z","updated_at":"2015-05-25T14:40:39Z","closed_at":null,"body":"How can I read a sequence of ints from cin and store the values two vectors at the same time?like this,\r\nvector<int> val1,val2;\r\nint i,j;\r\nwhile(cin>>i)   val1.push_back(i);\r\nwhile(cin>>j)   val2.push_back(j);\r\n   "},"comment":{"url":"https://api.github.com/repos/ReadingLab/Discussion-for-Cpp/issues/comments/105245298","html_url":"https://github.com/ReadingLab/Discussion-for-Cpp/issues/24#issuecomment-105245298","issue_url":"https://api.github.com/repos/ReadingLab/Discussion-for-Cpp/issues/24","id":105245298,"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-25T14:40:39Z","updated_at":"2015-05-25T14:40:39Z","body":"@lifeisamoive \r\n\r\n这本来就是中文讨论区，直接说中文就好。\r\n\r\n我明白你的意思了，但如何区分两次输入呢？每一次输入的数字个数固定（如 4）？还是弄个标记说明第一次输入完毕，如(#, -1 之类的特殊字符或数字)？"}}