In c++ how do I count the number of strings for the first line of a stream?
Jump to Post
When you read a string, increment a counter.
All 6 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.