Advertisement
Bumler

Untitled

Dec 17th, 2019
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. void beolvasas(vector<string> *megallok, vector<int> *indulas, vector<int> *erkezes)
  2. {
  3. int n;
  4. cin >> n;
  5. string segedMegallo;
  6. int segedInd, segedErk;
  7. for(int i = 0; i < n; i++)
  8. {
  9. cin >> segedMegallo >> segedInd >> segedErk;
  10. (*megallok).push_back(segedMegallo);
  11. (*indulas).push_back(segedInd);
  12. (*erkezes).push_back(segedErk);
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement