Please explain.
Can you make a small program that compiles, executes and shows the problem? Include a main() with testing data.

Please edit your post and wrap your code with


<YOUR CODE...