Answer to Question #38815 in C++ for Verasak Sitawan
Should you also check out your conditional statement, based on which the infinite loop
terminates and the execution moves to the subsequent statements?!
Unfortunately, the statement of your question is a bit confusing.
What do you need to be done? Please, give us the details so we could help you.