can sum1 help me think of another loop to us instead of a do loop
[

There are three types of loops in C and C++: for loops, while loops and do-while loops.

You'll need to clarify a bit. It appears you're having trouble with a do-while loop? And how is piping involved?

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.