Hello.
Is there a way to get my program to read the next line from a file based on a condition? Let's say my file has lines with 1s and 0s, I need it so that it continues reading the line if it reads 0 until it reaches a 1 where it should begin reading the next line (btw, there are spaces between these numbers).
Any help is appreciated :)
Utter_iMADNESS 0 Newbie Poster
darkagn 315 Veteran Poster 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.