Created
September 4, 2013 14:53
-
-
Save eimkasp/6438073 to your computer and use it in GitHub Desktop.
C++ get line example with few words
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
getline(fd, pav, ','); fd >> ws; | |
cout << pav << endl; | |
getline(fd, degalai, ','); | |
fd >> sąnaudos; | |
A[i].Dėti(pav, degalai, sąnaudos); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment