Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void TabD::Fill()
- {
- fstream file;
- file.open("plik.txt", ios::in);
- if (file.good())
- {
- int tmp_size, tmp_value;
- file >> tmp_size;
- for (int i = 0; i < tmp_size; i++)
- {
- file >> tmp_value;
- AddLast(tmp_value);
- }
- file.close();
- } else cout << "Blad otwierania pliku!" << endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement