Advertisement
eimkasp

C++ get line with few words and spearator

Sep 4th, 2013
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.13 KB | None | 0 0
  1. getline(fd, pav, ','); fd >> ws;
  2. cout << pav << endl;
  3. getline(fd, degalai, ',');
  4. fd >> sąnaudos;
  5. A[i].Dėti(pav, degalai, sąnaudos);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement