Hi,I want to ask how it is possible to read a file without printing newlines?
I'm using getline() to read the strings but I want to print all the strings consecutively even if they've been seperated in the file with a new line.
hg_fs2002 13 Light Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
hg_fs2002 13 Light Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
mrnutty 761 Senior Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
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.