if I have three words in there lines in a .txt file, and I want to read them to three string, how to do this using c++ ifstream? how to read every line(word)?
linq 0 Light Poster
Bench 212 Posting Pro
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
linq 0 Light Poster
Bench 212 Posting Pro
linq 0 Light Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
linq 0 Light Poster
iamthwee
Bench 212 Posting Pro
iamthwee
linq 0 Light Poster
iamthwee
Bench 212 Posting Pro
linq 0 Light Poster
WaltP 2,905 Posting Sage w/ dash of thyme Team Colleague
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.