Can you post a small complete program that compiles, executes and shows the problem?