Joined
Last Seen
0 Reputation Points
100% Quality Score
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
0 Endorsements
Ranked #54.9K
[CODE] while(getline(bookFile,books[count].title,';')) { bookFile>>books[count].year; bookFile.ignore(1); bookFile>>books[count].author; bookFile.ignore(1); bookFile>>books[count].price; count++; } [/CODE] the code seems to just ignore the deliminating character and enter the whole first line into the title member of the books struct. I can not figure out why, any help would be appreciated .. thanks |