Hi Won
instread of <iostream.h>, use <iostream>. My sample program has a bug - if the input has no bowel, it will go into a loop and never get out. By the way, if the input is 'hounded', what is the output supposed to be?
Best regards
Chong