SHOW:
|
|
- or go back to the newest paste.
| 1 | for (int i = 0; i < pocetradku; ++i){
| |
| 2 | getline (file1, string2); | |
| 3 | stringstream.str("");
| |
| 4 | stringstream.clear(); | |
| 5 | stringstream.seekt(0); | |
| 6 | stringstream << string2; | |
| 7 | stringstream.seekg(0); | |
| 8 | stringstream >> string1; | |
| 9 | stringstream >> znamka; | |
| 10 | pole[polozek] = new zaznam; | |
| 11 | pole[polozek]->jmeno = string1; | |
| 12 | - | polozek++; |
| 12 | + | |
| 13 | polozek++; | |
| 14 | } |