Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool exists=1;
- do
- {
- while(exists)
- {
- cin >> r;
- for (int j = 0; j <= i; j++)
- {
- if (r == sam[j].getRejestracja())
- {
- cout << r << " = " << sam[j].getRejestracja() << endl;
- exists=1;
- }
- else exists=0;
- }
- }
- } while (r.size() != 4);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement