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 developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.