Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void beolvasas(vector<string> *megallok, vector<int> *indulas, vector<int> *erkezes)
- {
- int n;
- cin >> n;
- string segedMegallo;
- int segedInd, segedErk;
- for(int i = 0; i < n; i++)
- {
- cin >> segedMegallo >> segedInd >> segedErk;
- (*megallok).push_back(segedMegallo);
- (*indulas).push_back(segedInd);
- (*erkezes).push_back(segedErk);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement